Pages: [1]   Go Down
Author Topic: Get an Arduino to "press a button"?  (Read 324 times)
0 Members and 1 Guest are viewing this topic.
Seattle, WA
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have a projector I'm trying to get to start up when the power gets turned on. I've added a couple wires to the pins on the tact switch for the power button. The button still works, and if I cross the wires, the projector turns on. So looking for a way to electrically "cross the wires".

I was thinking possibly an optoisolator, but it sounds like those put out a voltage, and I really just want to connect the two together.

Any ideas? Is there some device like an opto that does this, or some variation of opto maybe?

Danke, Ian
Logged

South Louisiana
Offline Offline
Full Member
***
Karma: 0
Posts: 180
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The amount of current flowing when the wires are "crossed" will make the difference.

I would say BJT, FET, or the best option would more than likely be a relay.

*edit: Relay examples in playground:
http://arduino.cc/playground/Main/InterfacingWithHardware#Electrical_High_Power
« Last Edit: March 10, 2012, 10:35:17 pm by Goofballtech » Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 549
Posts: 27425
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Little relay like this would work
http://search.digikey.com/us/en/products/TSC-105L3H,000/PB1017-ND/1095338
Can drive directly with an output pin. Put a 1n4148 diode across the relay coil (cathode to 5V, anode to arduino pin).


* Relay.jpg (22.59 KB, 960x720 - viewed 14 times.)
« Last Edit: March 10, 2012, 10:45:32 pm by CrossRoads » Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 639
Posts: 34725
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
I was thinking possibly an optoisolator, but it sounds like those put out a voltage,
No they don't.

You can get all sorts of components optically isolated, like a triac, transister, SCR, logic gate or FET.
For your case an opto isolated FET would fit the bill very well.
Logged

Left Coast, CA (USA)
Offline Offline
Brattain Member
*****
Karma: 362
Posts: 17307
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Well to use a semiconductor solution (transistor, opto, etc) you really need to know something about those two wires you 'cross'. What is the open circuit voltage, what is the polarity or is it an AC voltage, how much current flows when you 'cross the wires'? If you don't know those values then you are better off using a standard relay as the contacts will work without having to know those things, except possibly how much current is being switched on and off.

Lefty
Logged

Pages: [1]   Go Up
Jump to: