Loading...
Pages: [1]   Go Down
Author Topic: v23092 relay on every pin  (Read 341 times)
0 Members and 1 Guest are viewing this topic.
berlin
Offline Offline
Full Member
***
Karma: 0
Posts: 150
fubbi.com
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi, I am currently overhauling an older project.

I have 64 v23092 relays http://pdf.dzsc.com/20090603/200903151022535524.pdf
each has a diode and a resistor on my board, but no transistor.


Now, what I want to do is tap in at the resistor with my new fancy mega screwshields to have each relay on a separate pin (2xMega with each 32 relays)


I am not good at reading data sheets and I wonder:

a. what happens if I have 32 of theses relays written to HIGH at the same time, will the Mega choke/burn/evaporate/create a black hole?
b. can I do this without a transistor, I really want to avoid having another board with 2x32 transistors. (I am well aware I SHOULD have one per channel).

thanks

fubbi


Logged

UK
Offline Offline
Edison Member
*
Karma: 51
Posts: 2467
What a host of balls she had seen: gaity, the brass buttons...
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

If you even try and drive just one of these direct from the Arduino you will probably break it.

You *NEED* a transistor per relay.  Or, to save space, something like the ULN2803 which can do 8 relays at once.
Logged


Canada
Offline Offline
Sr. Member
****
Karma: 4
Posts: 396
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Just a question, are you using these relays to drive something other than the LEDs we see in that picture?


Yeah, you must be.  So,  no.  Not a chance.  You will exceed the current capability of the entire MCU with just 3 or 4 of these on at a time.  Like Majenko said, you will need transistors to drive them. You will also need a separate power supply for them capable of delivering about 2 amps.
Logged

Anaheim CA.
Offline Offline
Edison Member
*
Karma: 34
Posts: 2404
Experienced old Whitebeard with a Full head of Hair...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You ALSO NEED to learn how to read a data sheet. without doing so is like a journey without a plan, data sheets are 'local information"...

Doc
Logged

“The solution of every problem is another problem.” -Johann Wolfgang von Goethe

SF Bay Area (USA)
Offline Offline
Faraday Member
**
Karma: 80
Posts: 5513
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The relevant piece of the Relay data sheet is under "Coil data" where is says the nominal current for the 5V relay is 33.8mA.
And on the ATmega2560 datasheet under "absolute maximum ratings" where is says the max DC Current Vcc and Gnd Pins is 200mA (if it's going into or out of the IO pins, it pretty much has to be coming out of or into the power pins.)

So you might get away with driving 6 relays at once.  Maybe less if your driving the relay and the LED in parallel; I'm not sure where a resistor fits into any relay driving scheme relevant to an AVR microcontroller...

(that array of relays is pretty, though!)
Logged

Pages: [1]   Go Up
Print
 
Jump to: