Pages: [1]   Go Down
Author Topic: Switching 24V with Arduino  (Read 521 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 25
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hello,

I have a system that switches a 24 Volts (AC) wire with a relay, the relay is been switched by the Arduino with use of a transistor and a alternative power supply for the relay. On the PCB are 6 relay's wich each of them switch a 24 Volts (AC) wire. When I make an input high, to let the relay switch, it sometimes occurs that the other relay's (not specific one) become high and switches the 24 Volts (AC) wire. I've tested the system without the 24Volts circuit, and it works just perfect. Can I change something in the circuit to let the 24 Volts (AC) wire have no influence? I have already connected 10K resistors from the input to the ground, but it seems nog enough.

I hope my explanation makes sense.
Logged

0
Offline Offline
Faraday Member
**
Karma: 13
Posts: 2857
ruggedcircuits.com
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

An odd occurrence indeed. Is there any way you can sketch up a diagram of how you have the system wired up? Specifically how you have the transistor connected to the Arduino and this "alternative power supply"?

--
The Gadget Shield: accelerometer, RGB LED, IR transmit/receive, speaker, microphone, light sensor, potentiometer, pushbuttons
Logged

Global Moderator
Netherlands
Online Online
Shannon Member
*****
Karma: 170
Posts: 12452
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset


Do the relays have a diode parallel over the contacts ?
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

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

Quote
When I make an input high,
You do mean output not input.
Are these initialised as outputs in the setup part of the code?
Resisters go between the output and the transistor's base, not where you said.
Logged

Pages: [1]   Go Up
Jump to: