18.11.2014 Views

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

The Microcontroller Idea Book - Jan Axelson's Lakeview Research

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 11<br />

Figure 11-1. Solid-state relays provide an easy way to switch power to AC or<br />

DC loads..<br />

Using a solid-state relay saves you the trouble of building a similar circuit from discrete<br />

components. Surplus relays are inexpensive, as low as $1.50 each, from vendors such as All<br />

Electronics, Marlin Jones, and Hosfelt. If you don’t have a data sheet for your relay, look<br />

for a pair of control pins, usually labeled + and -. <strong>The</strong> other two pins connect to the load.<br />

In Figure 11-1, the control bits are outputs of a 74LS374 latch addressed at E400h, as<br />

described in Chapter 6. On a normally open relay, the load switches on when its control bit<br />

is low. If you want a logic high to turn on the load, wire an inverter between the ’374’s output<br />

and the relay, or use a normally closed relay. Or you can use a 74HCT374 latch in place of<br />

186 <strong>The</strong> <strong>Microcontroller</strong> <strong>Idea</strong> <strong>Book</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!