Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WS2812B pin - pedalino 6 build: wrong schematic? #541

Open
A7F opened this issue Dec 6, 2024 · 3 comments
Open

WS2812B pin - pedalino 6 build: wrong schematic? #541

A7F opened this issue Dec 6, 2024 · 3 comments

Comments

@A7F
Copy link

A7F commented Dec 6, 2024

hi, just a quick question on the wiring shown here: you connect WS2812B DIN on pin D5 (GPIO 21). I am doing the exact same pedalino mini 6 build in the picture that is, with 6 momentary footswitch, therefore I suppose it would make more sense if I connect them to D1:D6 pins rather than A1:A6... this way, I think I would save up the pullup resistors... correct? However, by doing it this way I would need the D5 pin occupied by the LEDs.
However, in this other schematic it looks like the strip should go on DATA pin, that is GPIO 03. I tried moving the strip there, but I had no control at all.
Any insight?

Thank you :)

@alf45tar
Copy link
Owner

alf45tar commented Dec 9, 2024

Pin assignment is critical because not all the pins are the same. I recently changed it because the previous one was not fully correct. Led strip on GPIO 21 is correct. The other schematic need to be updated.

@A7F
Copy link
Author

A7F commented Dec 13, 2024

okay thank you :) so, if I got everything correct, in the case of pedalino mini 6 with those 6 temporary footswitches:
footswitch 1:6 to pin A1:A6 (gpio 11,12,13,17,19,20), led to gpio21

what ttgo physical ttgo logical
footswitch 1 gpio11 A1
footswitch 2 gpio12 A2
footswitch 3 gpio13 A3
footswitch 4 gpio17 A4
footswitch 5 gpio43 D3
footswitch 6 gpio44 D4
ws2812b gpio21 DATA
trs 1 tip gpio18? A6
trs 2 tip gpio17? A5
trs 1 sleeve gpio01? D6
trs 2 sleeve gpio02? D2

am I correct with the wiring? If yes, I would end up configuring the first 4 footswitches as "momentary", but what about switch 5 and 6?
Thank you, sorry for the stupid question but I prefer to check twice!

@alf45tar
Copy link
Owner

alf45tar commented Dec 14, 2024

Here the connections used for PedalinoMini 6.

Pedal Button Footswitch GPIO
1 1 FS1 11
1 2 FS2 44
2 1 FS3 12
2 2 FS4 43
3 1 FS5 13
3 2 FS6 10
5 TRS1 17 tip, 2 ring
6 TRS2 18 tip, 1 ring
LEDS 21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants