what would be the best way to wire these buttons to my arduino uno. on a bread board? thanks leigh
cheers.
what would be the best way to wire these buttons to my arduino uno. on a bread board? thanks leigh
cheers.
What the heck are we looking at?
Do you have any pictures so we can get a general idea of what on earth this is? I don't know if this is the size of a car or the size of a quarter!
Sorry it's analog buttons for a car heater control. I want to be able to communicate with them very arduino so I can then display some information on a andriod tablet.
The resistor ladders require a supply voltage. When the board is connected only to the Arduino, apply Vcc to the ladder top.
When the board is mounted in your car, you have to measure that voltage first, and then determine whether it's acceptable for the Arduino (5V). Most probably you'll have to add voltage dividers in front of the analogue input pins.
What you do tap from that analog signal may change how the heater system works.
Hey, voltage dividers do require current drain.
is there any way to sense the button pushes at the buttons?
I have a multmeter I can use on a working circuit in my car. Also I have the from this manual which tells me there voltages
The ones you show are all less than 5V. That would be Arduino-safe.
A single analog read take very very very little current. You can do safely.
When you read the value, forget about turning to voltage and just use the read value.
Also don't expect exact.
If 3.36V is supposed to be 688 and 2.89V is supposed to be 592 and 2.37V is supposed to be 485... I would say the LOW+ button should be if (value >= 552 && value <= 632).
One thing though. learn timing (without using delay()!) and don't read the button more often than once every 5 or 10 milliseconds. Those tiny current draws add up at about 9,000 reads per second. Digital reads can have even more tooth, FWIW.