Closed RSF99 closed 1 year ago
I am using the same esp as you, in mine - 5V from the buck converter goes into VIN pin on esp32.
VIN (Voltage in) is connected to the onboard voltage regulator that steps down the voltage to 3.3v. If you are worried about frying your esp32, you can use external voltage regulators.
next time use shorter titles for issues ;)
Hello everyone so i flashed the esp32 devkit v1 with the arduino code from the LimeIot folder and I'm ready to connect it to the scooter.
@A-Emile said to connect the corresponding wires to the corresponding pins on the esp32 ( as shown on this picture):
-Controller 36v (Red wire) to Vin pin -Controller Gnd (Black wire) to Gnd pin -Controller Lock (blue wire) to GPIO 12 -Controller RX (Green wire) to GPIO 1 -Controller TX (Yellow wire) to GPIO 3
(there's a white wire we don't need)
Ps : for the controller 36v (buck converter + ams1117) to have 5v
-Display 5V (Red wire) to 5v Vin pin -Display Gnd (black wire) to Gnd pin -Display RX (green wire) to GPIO 17 -Display TX (blue wire) to GPIO 16
-GPIO 1 corresponds to TX0 -GPIO 3 corresponds to RX0 -GPIO 17 corresponds to TX2 -GPIO 16 corresponds to RX2
So is everything ok if i wire it as @A-Emile said or should i switch the Wires?
Is this wiring correct please??
@reuzurq could you help me please and tell if the wiring is correct please
Yess, good job! Wiring looks good.
@A-Emile Thank you very much brother i really appreciate all the work you did, god bless you bro you helped me a lot 🙏
This going to be my last question and after the I'll post all of my My project
How do i connect the controller 36v (Red wire) to the buck converter to the Ams1117 to the 5v Vin pin?? Please
And the display 5v goes to the same Vin pin yeah so i connect both to the same pin
Yeah, sorry for not responding so long. 39v and gnd of controller goes into buck converter input. Buck converter output to ams input.
And i think i messed some things up in the arduino code in the repo. So dont wonder if some things doesnt work. Or maybe nothing haha. Will update repo later..
@A-Emile Is this wiring correct?
And if it's correct, there's no gnd out from the Ams1117, how can wire the controller gnd to the esp32 gnd?
Haha well i need to connect it to the scooter first and then I'll test if everything works or nothing. I'm waiting by the minute for your updates brother keep the good work. keeping hopes up 🙏
Connect the esp gnd to the gnd of ams and buck converter
Connect the esp gnd to the gnd of ams and buck converter
@A-Emile please should i put the output voltage of the buck converter to 3.3v since the Ams1117 is 3.3v or should i put 5v?
Update :
Flashed the esp32 with the arduino code from the LimeIot folder.
Wired everything as @A-Emile said. (didn't use a Ams1117 just used the buck converter)
I've put the esp32 and the buck converter in the *plastic box"
connected the plastic box to the scooter.
Result :
Front Light and brake light start flashing once i connect the plastic box
LED under the screen is red
screen shows : scan to ride and battery 0% (I charged the scooter when the original black box was connected and it was 98% )
i download the android app, i scan for scooters and my scooter appear but when i press connect it doesn't connect
My conclusion is either the wiring is off or the code has some errors i guess.
What do you think guys? @A-Emile @reuzurq @Pikokosan
Here's some pics :
The code has errors
Here is the latest working code: https://github.com/A-Emile/Lime_Gen3_IoT_Replacement/releases/tag/latest
You're the man, thank you brother 🙏
For me, the display only lights up the lime logo and the scooter is not displayed in the Bluetooth app. As soon as I connect the esp32 to the pc, the scooter turns on and shows 0% battery. It connects to the app but nothing is displayed.I tried it with both esp32 exactly the same.
For me, the display only lights up the lime logo and the scooter is not displayed in the Bluetooth app. As soon as I connect the esp32 to the pc, the scooter turns on and shows 0% battery.
Check that esp32 is getting enough voltage from your buck converter.
The one you're using ''i guess'' :
The one I have right now :