thankthemaker / rESCue

rESCue - add more safety and control to your VESC based vehicle
GNU General Public License v3.0
104 stars 27 forks source link

Pinout for optional light connectors on rESCue s3 #90

Open guerradr opened 7 months ago

guerradr commented 7 months ago

I'd like to use the rESCue s3 with the COB LED's. What PIN's of the s3 are connected to the optional light connectors 1 & 2 Dout? Could we use them for the Mosfet control. If so I request to implement it as a standard.

thankthemaker commented 7 months ago

The rESCue s3 uses GPIO02, GPIO03, GPIO04 and GPIO05 for the four available JST-connectors.

image

The LIGHTS connector uses GPIO02 the LIGHTBAR GPIO03. The two on the back of the PCB use GPIO04 and GPIO05.

The COB firmware needs an update to assign the GPIO to the MOSFETs. I just noticed that they are assigned for the D1 mini but for the s3 they are not assigned yet.

I'll prepare an update to fix it.

guerradr commented 7 months ago

Cool, thx for the update. I've just made my own build for the s3 mini. But I need to test it first. I figured I only had to define the Pin's in the platformio.ini? Screenshot 2024-01-16 211248

thankthemaker commented 7 months ago

Yes, if you build the firmware by yourself, that's what is needed.