Skip to content

Foujiwara/Smart_LCD

Repository files navigation

[ SmartLCD Minimotors ]

⚠️ Warning : this is work in progress. I decline all responsability about using informations from this project ⚠️

What is SmartLCD ?

It's a combo of electronic and smartphone application. It extend all features from original Minimorots EYE LCD and controller. The electronic board will interract with most of the e-scooter electronic when you plug it. You simply place the little box inside the deck and connect it to the controller (and other electric parts if you want more features)

What can be done ?

I suggest you to have a look at all planed features in the image below. There is almost no limit in custom features. The controller power cannot exceed the nominal power, but with a shunt, you can go upper and still have a current control loop to limit the current by software (and avoid burning the controller).

Most settings will be configurable by the smartphone, and additionnal hardware buttons will allow you to control specific features.

Some examples :

  • It can lock the escooter with bluetooth proximity (with a beacon, the smartphone or any bluetooth device). When locked, the power is so reduced that nobody can ride it is you aren't close enouth.
  • You find the acceleration trigger to agressive at low speed ? you can change the acceleration curve for smooth trigger at low speed, and still have the beast once you push the trigger harder.
  • You want a mode for some weather conditions like 'rainy' with less torque ? no problem. Use the customized "mode Z" in addition to mode 1/2/3 with special P7/P8/P9/PA.
  • You feel the electric brake too strong at full power ? the progressive electric braking adjust the brake power in real time.

Main features

Idea

Case and size

Current size : 6cm x 3cm x 2cm (will shrink a little at final stage)

Idea

Electronic

Software

The software is designed for ESP32 Dev Kit v4.

Schematics

Inspiration to understand controller electronic

Applications

Android

iPhone

I have no skills in iPhone apps. If anyone wants to develop, let me know 😉.

TODO

  • [✅] Serial Minimotors

    • [✅] Read/write serial link LCD_TO_CNTRL
    • [✅] Read/write serial link CNTRL_TO_LCD
    • [✅] Decode speed/mode/brake/regulator from serial link
    • [✅] Frame error detection
    • Error codes processing
  • Serial Kaabo / Zero / Appolo

  • [✅] Bluetooth

    • [✅] Communication with Android
    • [✅] Anti-theth with smartphone
    • [✅] Anti-theth with beacon (scan & rssi detection)
    • [✅] Lock beacon or device settings
    • [✅] SmartLCD connexion security (PIN code)
    • [✅] SmartLCD connexion with multi devices (BT device choice)
  • Other inputs/outputs

    • [✅] Read current with WCS1700
    • [✅] Read battery voltage
    • [✅] Read tempertature/humidity with DHT11/DHT22
    • [✅] Read break handle position on serial
    • Read break handle position on standard brake handle
    • [✅] Read break handle position on analog brake handle
    • [✅] Read buttons
    • [✅] Send break handle position to controller
    • [✅] Send LED status
    • Send optocopler order
  • Power

    • [✅] Convert 12V to 5V
    • Convert 80V to 5V
    • Convert 100V to 5V
  • Features

    • [✅] Save settings in non volatile memory
    • [✅] Progressive electric braking (software detection)
    • Progressive electric braking (hardware on/off detection)
    • [✅] Progressive electric braking (hardware analog detection)
    • [✅] OTA update
    • [✅] Current measure auto calibration (at startup)
    • [✅] Current measure manual calibration
    • [✅] Speed limiter at startup
    • [✅] Configurable speed loop regulation
    • Remote physical button
      • [✅] Speed limiter ON/OFF
      • [✅] Lock ON
      • [✅] Nitro Boost continuous
      • [✅] Nitro Boost ON/OFF
      • [✅] Aux ON/OFF
      • Mode Z ON/OFF
    • [*] Disable electric brake with full battery
    • [*] Automatic ECO mode on low battery
    • [*] LCD Speed adjustment
    • Dynamic BLE debug infos
    • Configurable current loop regulation
    • Customize mode Z with different power / max speed
    • Calibrate analog brake
    • Wifi connexion for dashboard display and settings
    • Advanced diagnosis (serial errors, throtle errors ...)
  • Android app

    • [✅] display : speed, mode, voltage, current, power, brake mode (PA), max speed, max power, max current, temperature, humidity, time, moving time
    • [✅] auto-launch app with NFC tag
    • [✅] parameters custom settings
    • [✅] Data logging
    • [✅] history graphics
    • display : average speed, distance
  • iPhone app => for someone else

  • Custom acceleration curve ==> not possible with current hardware

Serial links data decoding

Donate to support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published