Electronics notes/General actuator notes, circuit protection

From Helpful
Jump to: navigation, search
This is for beginners and very much by a beginner. It's meant to try to cover hobbyist needs, and as a starting point to find out which may be the relevant details for you, not for definitive information.

Some basics and reference: Volts, amps, energy, power · Ground · batteries · resistors · changing voltage · transistors · fuses · diodes · varistors · capacitors · inductors · transformers · baluns · amplifier notes · frequency generation · skin effect

And some more applied stuff:

IO: IO and wired communication · localish communication · wireless (ISM RF, GSM, RFID, more) · 802.11 (WiFi) · 802.15 (including zigbee)

Sensors: General sensor notes, voltage and current sensing · Knobs and dials · Pressure sensing · Temperature sensing · humidity sensing · Light sensing · Movement sensing · Capacitive sensing · Touch screen notes

Actuators: General actuator notes, circuit protection · Motors and servos · Solenoids

Some stuff I've messed with: Avrusb500v2 · GPS · Hilo GPRS · Bluetooth serial · JY-MCU · DMX · ESC/POS notes

Audio notes: basic audio hacks · microphones · amps and speakers · device voltage and impedance, audio and otherwise ·

Less sorted: Common terms, useful basics, soldering · Microcontroller and computer platforms · Arduino and AVR notes · ESP series notes · Electronics notes/Phase Locked Loop notes · mounts, chip carriers, packages, connectors · signal reflection · pulse modulation · electricity and humans · Unsorted stuff

See also Category:Electronics.

On driving loads from ICs

This article/section is a stub — probably a pile of half-sorted notes, is not well-checked so may have incorrect bits. (Feel free to ignore, fix, or tell me)

Or, 'from control signal to controlling power'

IC IO pins tend to handle 20mA, perhaps 40mA, and sometimes less. This is enough to drive a (resistor-protected) LED or two, but nothing bright, moving, or otherwise interesting.

When you drive something DC that needs more than a dozen mA, the simplest solution is probably to use this pin to control a (BJT/FET) transistor. That is, use it as a switch that takes current directly your power source and through your load.

One small but important detail to that is the current limiting transistor (often on the order of ~1kOhm) between IO pin and the transistor's base/gate. This avoids accidentally drawing part of the current from that IO pin after all, and ensures it pretty much all comes from your real power source.

Regular BJTs tend to be half an amp (maybe two or three in packages like TO220 and others more serious about heat dissipation). You can use a darlington/fetlington arrangement for somewhat higher currents (and higher-gain switching).

Even if you don't need that much power, consider that it's easier to replace a switching transistor than an controlling IC.

When you want to drive AC, you deal with more current, different voltages, a mix of AC and DC. Conceptually, the simplest solution is often to add a relay.

In general, when your load is inductive (relays and solenoids and some other things), you can easily get flyback into your control circuit. You'll want some sort of dissipation or isolation. To protect your IC/transistor from flyback from inductive DC components (e.g. a solenoide), you can use a protection diode.

See also: