Go Down

Topic: arduino as a button?? (Read 692 times) previous topic - next topic


Sep 15, 2009, 05:29 am Last Edit: Sep 15, 2009, 06:14 am by mubot Reason: 1
hi... lemme see if i can ask this properly...

i have a circuit that has a play button (lil mini voice recorder)

how would i have that triggered by my arduino??

thanks for the help...

im assuming i have to use a relay....but was wondering if there was anything in an arduino board that had this function...code or whatever.

But...what about something like a 4066 chip...would that work?

i think they work something like ....send a digital out to the chips control pin...and that will make make an analog type switch connection?

or am i totally wrong with that !??!?

thanks again


Sep 15, 2009, 05:57 pm Last Edit: Sep 15, 2009, 06:07 pm by RIDDICK Reason: 1

do u mean this?

if the arduino, and the 4066, and that voice recorder share the GND-level, there could possibly be no problem...  :)
the resistance of that 4066 switch is about 50Ohm, which might be too much, because the voice recorder might want almost 0Ohm... but i dont know...

what about a good old BJT?

a relay would work, but it is noisy and fails earlier because it is mechanical...

once i saw a multi-position switch that changed its resistance the more i pressed it... does ur voice recorder use such a switch?



I would check the wires in the music board. I mean:
In the music board, the most probable case is that there is an input to the controller that expects eaither a GDN signal, or a VCC signal to PLAY.
So, check with a voltmeter the signal. Plug voltmeter black wire to battery GND.
Check voltage in both sides of the switch while OPEN (not pushed). Surely one will be 0V and the other will be VCC.
Now push the button while measuring again. One of the switches has changed the value. This one is the PLAY START INPUT, the other is directly connected to VCC or GND. The voltage you get in this pin is what it expects to PLAY (0V or VCC), so feed this voltage via a transistor to get it play.


you were correct in your assumption....

1 side of the switch is 0..the other is +4.5

when i press the switch the 0 side stays at 0 ....but the +4.5v side drops to zero

so i need to send a pin low command to the switch connections?
the 0v side to grnd  ...and the 4.5v side to an output pin...?
sorry for the dumb question..but why do i need a transistor to do the switching?

thanks for the help man!!!


the arduino output pins deliver 5V...

maybe the recorder is disturbed, when it gets 5V instead of 4.5V?

Go Up