Replies: 6 comments 7 replies
-
|
Hi,Nice to hear that it works for you in principal! You can see the configured pins for the buttons and the LEDs in the Config_Definitions.h file. Note that there are two different modes for the LEDs. If a certain #define is set, you can have separate LEDs for the FX and the preset number, otherwise they will be shared (default).You can also change the GPIOs according to your board, just be careful that the pins support the mode and there is no conflict with other uses of the pins.Von meinem iPhone gesendetAm 21.07.2025 um 20:18 schrieb vzoltan ***@***.***>:
Hi
i just built it and uploaded it to an ESP32 WROOM board, and it boots up, also connects to my Spark 2 immediatelly, and also works with my Spark GO. I can see the messages in the serial monitor when i change presets or volume etc on the spark amp, so everything look just fine.
Question is, how to connect the switches and leds and the screen to the esp32's pins without this special pcb.
Which pins to use on the esp32 for switches and leds?
Thank you
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
My mod with the extra dedicated LEDs occupies GPIO 0, 4, 12, 15. If you don't want those then leave those pins empty. If you decide to use them (with leds and resistors) you need to uncomment the line: Otherwise the GPIO used are as in your snippet above. All those default pins are also covered in the Schematics, including the pins for the display wich use I2C pins (SDA/SCL) G21 and G22. Hope I got that right. I would recommend hooking all up on a breadboard to get a feel of it all before hacking a perfboard. That way you can add components in groups in order to debug where it all goes awry. I would guess a short or wrong wiring somewhere. I assume also that you have added pulldown resistors and led resistors right? The schematic will help you figure out what is needed in any case. |
Beta Was this translation helpful? Give feedback.
-
|
I would also repeat to read the HW documentation thoroughly for general guidance. Maybe you need to consider the resistors in case you are not using them. This might be required to make the buttons and LEDs to work. Also please double check the overall pin setup of your board and compare with the configured pins in the code. The display pins might be configured in the SparkDisplay.h, I currently have not full access tobte code. Let me know if you find anything.Von meinem iPhone gesendetAm 23.07.2025 um 00:50 schrieb vzoltan ***@***.***>:
thanks for both of you
however i cant get it work.
once i connect the switches and leds to the board it just wont work at all.
remove the leds and switches and i can see the data in the serial monitor between the esp32 and spark.
obviously user error, but i have no idea.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I would also repeat to read the HW documentation thoroughly for general guidance. Maybe you need to consider the resistors in case you are not using them. This might be required to make the buttons and LEDs to work. Also please double check the overall pin setup of your board and compare with the configured pins in the code. The display pins might be configured in the SparkDisplay.h, I currently have not full access tobte code. Let me know if you find anything.Von meinem iPhone gesendetAm 23.07.2025 um 00:50 schrieb vzoltan ***@***.***>:
thanks for both of you
however i cant get it work.
once i connect the switches and leds to the board it just wont work at all.
remove the leds and switches and i can see the data in the serial monitor between the esp32 and spark.
obviously user error, but i have no idea.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
I would also repeat to read the HW documentation thoroughly for general guidance. Maybe you need to consider the resistors in case you are not using them. This might be required to make the buttons and LEDs to work. Also please double check the overall pin setup of your board and compare with the configured pins in the code. The display pins might be configured in the SparkDisplay.h, I currently have not full access tobte code. Let me know if you find anything.Von meinem iPhone gesendetAm 23.07.2025 um 00:50 schrieb vzoltan ***@***.***>:
thanks for both of you
however i cant get it work.
once i connect the switches and leds to the board it just wont work at all.
remove the leds and switches and i can see the data in the serial monitor between the esp32 and spark.
obviously user error, but i have no idea.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
|
The fact that HW 2 seems to be activated repeatedly in the logs (perhaps other inputs too) would indicate that those inputs are "floating" and producing random activations. That might be because of missing pulldown resistors or mis-wiring of those. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
i just built it and uploaded it to an ESP32 WROOM board, and it boots up, also connects to my Spark 2 immediatelly, and also works with my Spark GO. I can see the messages in the serial monitor when i change presets or volume etc on the spark amp, so everything look just fine.
Question is, how to connect the switches and leds and the screen to the esp32's pins without this special pcb.
Which pins to use on the esp32 for switches and leds?
Thank you
Beta Was this translation helpful? Give feedback.
All reactions