Brian Roth
Well-known member
From another thread on this forum, Sahib suggests that I should be sucking eggs <G!>:
"Brian,
I would not dare to try to teach you how to suck eggs but driving relays directly from the output of a micro is not really a good idea."
So...a new thread......
Backgrounders:
1. YEARS ago, I ended up as the "PBX guy" for a semi-large company which also owned the studio where I had been hired as Chief Engineer for their 24 track (MCI analog gear...) studio. Originally, we had a Mitel PBX...then later a Nortel. I initially knew NOTHING about telephony as used in a business world, but my curiosity caused me to look at all of the various large circuit boards inside of the PBX cabinets.
I saw multiples of very small mechanical relays, driven by uP types of circuitry. I looked up the specs for the relays, and discovered they were NOT the Big Current Hogs I was familiar with.....low enough coil current to be driven directly via the 1980's/1990's uP chips....but perhaps via a PIA chip?????? shrug...no schemos to look at back then.
2. Maybe the Arduino card suppliers are liars, but quoting from http://www.arduino.cc/:
quote:
Properties of Pins Configured as OUTPUT
Pins configured as OUTPUT with pinMode() are said to be in a low-impedance state. This means that they can provide a substantial amount of current to other circuits. Atmega pins can source (provide positive current) or sink (provide negative current) up to 40 mA (milliamps) of current to other devices/circuits. This is enough current to brightly light up an LED (don't forget the series resistor), or run many sensors, for example, but not enough current to run most relays, solenoids, or motors.
un-quote
Yes, they say "...not enough current to run MOST relays....." But, what about small signal relays drawing 28 mA?
Is that a falsehood? Is the chip unable to source/sink 28 mA? per output? Or, will the chip overheat if driving multiples of 40 (or 28) mA, all at the same time?
I am asking as one guy who has NEVER played with ANY Arduino board. I have looked at the specs, the firmware op-codes, but never hooked one up/made blinking LED's.
If the chip can't drive multiples of outputs at 28 mA each, then it's basically a toy component...IMHO. OK for Science Fairs and toy robots via all sorts of external circuits.
Of course, relays are a tad tougher load to drive than a LED (typical Arduino circuits that I've seen "play" with a "naked" LED + series resistor in order to "make' the Arduino become a Fancy Light Flasher! <g!>).
Obviously, you need to add a "snubber" diode across the relay coil. Are the Ardunio's outputs so weak that they CANNOT drive that 28 mA circuit load?
If so, then I won't waste my time with a toy.
BTW...I don't prefer hard boiled eggs...I prefer scrambled. lol
Just asking about stuff that I never have messed with...
Best,
Bri
"Brian,
I would not dare to try to teach you how to suck eggs but driving relays directly from the output of a micro is not really a good idea."
So...a new thread......
Backgrounders:
1. YEARS ago, I ended up as the "PBX guy" for a semi-large company which also owned the studio where I had been hired as Chief Engineer for their 24 track (MCI analog gear...) studio. Originally, we had a Mitel PBX...then later a Nortel. I initially knew NOTHING about telephony as used in a business world, but my curiosity caused me to look at all of the various large circuit boards inside of the PBX cabinets.
I saw multiples of very small mechanical relays, driven by uP types of circuitry. I looked up the specs for the relays, and discovered they were NOT the Big Current Hogs I was familiar with.....low enough coil current to be driven directly via the 1980's/1990's uP chips....but perhaps via a PIA chip?????? shrug...no schemos to look at back then.
2. Maybe the Arduino card suppliers are liars, but quoting from http://www.arduino.cc/:
quote:
Properties of Pins Configured as OUTPUT
Pins configured as OUTPUT with pinMode() are said to be in a low-impedance state. This means that they can provide a substantial amount of current to other circuits. Atmega pins can source (provide positive current) or sink (provide negative current) up to 40 mA (milliamps) of current to other devices/circuits. This is enough current to brightly light up an LED (don't forget the series resistor), or run many sensors, for example, but not enough current to run most relays, solenoids, or motors.
un-quote
Yes, they say "...not enough current to run MOST relays....." But, what about small signal relays drawing 28 mA?
Is that a falsehood? Is the chip unable to source/sink 28 mA? per output? Or, will the chip overheat if driving multiples of 40 (or 28) mA, all at the same time?
I am asking as one guy who has NEVER played with ANY Arduino board. I have looked at the specs, the firmware op-codes, but never hooked one up/made blinking LED's.
If the chip can't drive multiples of outputs at 28 mA each, then it's basically a toy component...IMHO. OK for Science Fairs and toy robots via all sorts of external circuits.
Of course, relays are a tad tougher load to drive than a LED (typical Arduino circuits that I've seen "play" with a "naked" LED + series resistor in order to "make' the Arduino become a Fancy Light Flasher! <g!>).
Obviously, you need to add a "snubber" diode across the relay coil. Are the Ardunio's outputs so weak that they CANNOT drive that 28 mA circuit load?
If so, then I won't waste my time with a toy.
BTW...I don't prefer hard boiled eggs...I prefer scrambled. lol
Just asking about stuff that I never have messed with...
Best,
Bri