I think I may have made a big mess....
My ESP32 (thanks AZUR!) has been lying around for a few months now, eagerly waiting to be installed. Finally the weather is getting better and I have enough free time.
So let's get to it...
Read the Wiki... Read the Wiki... Read the wiki again... Read also the hint with the possibly different colours.... ... Check everything... Think for a moment whether it is really the right cable... But okay... there is only 1 6 PIN cable, the colours fit and this is also used to flash the controller (via STLink), so this will be the right one.
After I soldered everything, installed it and started it... Nothing... No Bluetooth found and VLCD5 display runs normally. Then I measured everything... I was a bit surprised about -4.95V between +Batt and GND... Then I removed everything again, connected the ESP32 to my flasher (without download mode) and Bluetooth was there.
Then I read the technical documentation and got confused about the step-down converter... if there is already only 5V on +Batt, why reduce the voltage to 5V? Over time I realised that +BAT really meant 48V from my battery. Then I noticed it on
https://opensourceebikefirmware.bitbuck ... oller.html. It was my 8 PIN cable that was meant ->
https://opensourceebike.github.io/TSDZ2 ... ematic.png
I have now repaired the 6 PIN (wheel speed sensor) cable and soldered the ESP32 to the 8 PIN cable according to the schematic:
RXL -> Brown Cable
RXC -> Yellow Controller
TXL -> Yellow Cable
TXC -> Brown Controller
GND -> Black
+Batt -> Blue
LCD -> Red
Yellow/brown and red/black are plugged into the controller together, so the colours should be correct. Measured from the cable, the PIN assignment also matched.
Now I have connected the battery and switched on the display. The display shows E03. Bluetooth can be connected to ESP32, but it shows "Controller Error".
I have tested the controller connection several times and the connection is OK.
mspider65 wrote: ↑May 05 2021 12:53pm
Check the wiring between ESP32 and controller, also check the solder points on the ESP32 board in particular the 3 small integrated circuits close to the 4 pin serial connector.
What do you mean by "check the 3 small integrated circuits"? Visually, they are flawless on my board. But I don't know how to measure them, or we are talking about different circuits?
But I suspect that I grilled the ESP32 with the wrong connection (maybe with VCC, 5V?):
▪ (RXC) --> orange wire | GND | used for: STLinkV2; wheel speed sensor
▪ (TXC) --> brown wire | VCC | used for: STLinkV2 (optional); wheel speed sensor
or am I still doing something wrong?