Hi there, reaching out for some support as i’ve really hit a bit of a brick wall with a project.
I have a combo switch that I am trying to trigger GPIOs on a Raspberry PI.
The combo switch consists of a VOLUME_UP, VOLUME_DOWN, NEXT_TRACK and PREVIOUS_TRACK buttons.
Each button reads a different resistance when pressed.
float = 100k
vol up = 1k
vol down = 3.1k
next track = 2ohms
prev track = 330ohms
I am trying to use a ESP32 or PICO or even ESPHome to use as a ADC, then to output 4 different outputs to inputs on a Raspberry PI.
Using a 100k resistor with my ADC, I am able to produce values as below, but i am not sure if these voltage steps are big enough?
float = 1.51v
vol up = 0.04v
vol down = 0.1v
next track = 0.01v
prev track = 0.02v
Can anyone please assist with this, I am really stuck with it and this is the hardest part of this project.
Thanks