An Electric Scooter Community on a Mission to Stamp out Transportation Mediocrity.

Covers electric scooter models whether shared or for consumers.
By insestito
#58121
insestito wrote:
Mon Sep 18, 2023 5:54 am
alecxs wrote:
Thu Jun 29, 2023 8:08 pm
I made a PCB for the green box. it is pin compatible with most esp32, you just have to add compatible dc-dc converter. if you don't have a heat gun you should order PCB with connector assembled on the bottom side, for 2 bucks more (BOM inside zip). it's the first revision, please report here if you find bugs.

Image
I am looking for order the PCB, THANK YOU ENOUGH mate!
I'm going to start this project for your PCB, but I've never asked for something like this and I don't know how the issue is going.
Do I order the PCB, which is approximately $6, and then I buy all the components and solder them myself?
Or on the JLCPCB website did I select the PCB ASSEMBLY option? ($32.60)(this way the PCB comes completely ready to flash it and connect it to the scooter?)
What i need to flash? This? https://github.com/A-Emile/Lime_Gen3_IoT_Replacement
Is the PCB order okay? (check the pic I uploaded)
User avatar
By alecxs
#58123
The bare minimum is the connector on the back, a DC-DC Converter and the ESP32. All other assembly is optional. If you have any resistors you can use them for better stability and current protection, but it's possible to run without them.

The PCB is not designed to order assembly, the only part is the connector itself. If you have good soldering skills, buy the naked PCB and solder the connector yourself. If you opt for the assembled version, you will receive the board with only the connector already soldered.

If you want good audio you need this MAX98357A Amplifier module. For low gain any npn transistor is sufficient (as an alternative to the module).

For power-saving mode you will need the MP4560 DC-DC Converter with EN (Enable) Pin as a replacement for the LM2596HVS, along with a few npn transistors and resistors.

For alarm you will need any shock sensor, I recommend the SW-420 module, but it should work with other sensors as well.

Full assembly is not possible because the board is overloaded with conflicting options, for example if you have the LM2596HVS DC-DC Converter you cannot use full power-saving mode. still you could switch off the display with pnp transistor (and some LED if handy).

If you can wait two days or three I will upload a manual for the different options, with pictures and parts.

For the ESP32 with I2S Audio you need to flash this commit 54fffa1 in Arduino IDE (please ask here in forum for troubleshooting)

Take note this is for the green box only. You still need to flash the BLDC controller with a ST Link v2 clone.
Last edited by alecxs on Tue Nov 07, 2023 12:16 pm, edited 3 times in total.
By WhaTsUp
#58238
Hello!if i want to upgrade by ST-Link V2 STM8 STM32 i need also the GPS module from the green box?Idon`t have this module.After upgrade i need this module to work?I have rest(Controler,engine,display cables,accu,etc..) Thank you very much
By PDruppo
#58246
m.biruta wrote:
Sat Apr 30, 2022 11:00 am
I converted a 3-gen to private 3 years ago. I replaced the original controller to a universal one and in place of the screen I designed and made a key system cap on a 3D printer. All works fine.

https://imgur.com/a/JP4IQYP
Hi, can you share instructions on how you did it exactly?
By PDruppo
#58247
Grouts209 wrote:
Sun Sep 12, 2021 8:53 pm
Sskye4575 How did you make this work? I have an auction 3rd Gen and I would like to make it work.
Sskye4575 wrote:
Wed Nov 06, 2019 5:09 pm
Lime 3.0 fully functional original controller.
Image
Image
Hi, do you have any instructions on how you made this work?
By PDruppo
#58248
alecxs wrote:
Mon Sep 18, 2023 7:56 am
Hi, just ordered the PCBs. Tried Emile's version below, but somehow didn't work. I hope this will... any way to chat with you in case of additional questions? the thread doesn't seem too active anymore.
User avatar
By alecxs
#58249
PDruppo wrote:
Sun Nov 19, 2023 1:19 pm
Hi, just ordered the PCBs. Tried Emile's version below, but somehow didn't work. I hope this will... any way to chat with you in case of additional questions? the thread doesn't seem too active anymore.
Not sure what you mean with "below" but the code by A-Emile works just fine to me. Maybe your phone does not support Bluetooth BLE?

you must flash the BLDC motor controller.
Last edited by alecxs on Sun Nov 26, 2023 5:47 am, edited 1 time in total.
User avatar
By alecxs
#58254
WhaTsUp wrote:
Wed Nov 15, 2023 6:09 pm
Hello!if i want to upgrade by ST-Link V2 STM8 STM32 i need also the GPS module from the green box?Idon`t have this module.After upgrade i need this module to work?I have rest(Controler,engine,display cables,accu,etc..) Thank you very much
you need 'something' that will send heartbeats to controller, otherwise it will lock itself within 1-3 minutes. you can use any microcontroller as replacement. I did it with ESP32 thx to the work of A-Emile, it's all linked.
  • 1
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23

https://pic.clubic.com/9cc14c4c1797064/1200x750/sm[…]

Below is the link with some information about ca[…]

@pawel1201 great work, Two questions 1. How can […]

New Lime Gen4 (V2) - Okai ES400A

looks good. on - minus tab of battery, solder th[…]