Power Consumption?
Armored Cars
Posts: 172
I have a stand alone SX that will not work with five AAs.· I can only get it to work with a wall adaptor, is there any way to cut power consumption?
Comments
five fresh AAs mean 1.5 * 5 = 7.5 Volts or even more. The absolute maximum ratings in the SX28 data sheet specify "Voltage on Vdd with respect to Vss at 0 to +7.0 Volts". I hope, you did not "fry" your SX which might lead to excessive power consumption.
With four AAs, you (and the SX) should be in good shape, and the SX should work down to 2.7 Volts, i.e. with quite exhausted batteries, bovided that the rest of your setup can tolerate such low voltages.
Besides this, SX power consumption is a function of the clock frequency. As a rule of thumb, the higher the clock frequency, the more "juice" the SX will need. The data sheet specifies typical values for a 5 Volt supply of
77 mA @ 50 MHz
17 mA @ 20 MHz
7.5 mA @ 4 MHz
BTW: When using the SX-Key to program/debug the SX, make sure that both are powered from a stabilized 5 Volts source, as the SX-Key will not work correctly with voltages off too far from 5 Volts.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
·· Are you saying these Relays are connected directly to I/O pins?· Mechanical Relays?
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I'm using reed relays designed to be driven with 5 Volts, having a coil resistance of 500 Ohms, and - most important - having integrated recovery diodes to "kill" the reverse voltage generated by the coil when turned off. You can find such relays in the Digi-Key catalogue (HE207-ND).
You may use relays without such integrated diodes, but only with an external diode (like a 1N4148) connected in parallel to the coil (cathode connected to the positive side of the coil).
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
· Reed Relays are kind of an exception in a way...However, even when I use them in applications I still use a transistor to drive it.· When I've mentioned driving a Reed Relay with an I/O pin in the past, several users got the misconception that was long as they had the diode, they could use any relay.· So if they had used the transistor driver from the beginning, it would've worked either way.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
I'm using the SX together with reed relays in some commercial applications where every component and PCB space counts, Therefore, I like these reed relays which only require 10 mA drive current @ 5 Volts, so they can be directly driven by SX outputs.
On the other hand, I agree with you, using a driver transistor would be less dangerous for the SX or BS outputs, and allows for more flexibility in the choice of a relay. Again, there should be a recovery diode in parallel to the coil to protect the transistor in this case.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Greetings from Germany,
G
·· Thanks.· I appreciate your point of view.· Over the years I have adjusted my responses somewhat to account for inexperienced users who might not quite understand fully the need for transistors.· In this case it would be to prevent the under-experienced (Who might not know the difference between a reed relay and a standard mechanical relay) from thinking they can just connect these devices to I/O pins without protection.
·· Reed Relays are certainly acceptable for connection to the pins if they're within current limits and have the protection diode.· I just wanted you to understand why I always recommend the transistor or other driver on the outputs.· It keeps inexperienced users relatively safe.· Although I'm sure occasionally we're going to see some blue smoke stories!
·· My own personal experience with that dates back to 10 years old with a Radio Shack 150-in-1 kit where I connected the 9V battery to a TTL logic chip and blew the plastic top off the chip.· Since then I have been very careful about what connects to what, how much power, current consumption, etc.· Of course, 5 years of engineering saw it's share of disasters too, but nothing blown up, luckily.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com