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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 12<br />

Some IREDs are manufactured with integral lenses that focus the output into a beam. For<br />

example, Harris’ F5D1 and F5E1 IREDs are identical, except that the F5D1 has a lens that<br />

aims the energy in a narrow beam, while the F5E1 has a flat window and wider beam angle.<br />

An IRED with an integral lens is an easy, low-cost option, if it can do the job. A flat-window<br />

package is useful if you want to add an external lens, or if you want a wider beam, to reach<br />

multiple receivers around a room, for example.<br />

If you’re interested in experimenting with lenses, Edmund Scientific has a huge selection,<br />

including inexpensive educational-grade lenses, lens mounts, optical benches, and books on<br />

optics.<br />

Although infrared links are most often thought of as line-of-sight paths—for transmitting<br />

across a room, for example—optics can also overcome this limitation. For example, with<br />

mirrors, you can transmit around corners.<br />

Radio Links<br />

Another possibility for wireless links is to use radio frequencies. Radio transmissions consist<br />

of high-frequency electromagnetic waves that travel through the atmosphere. Most radio<br />

waves will also pass through windows, walls, and other solid objects. This makes radio<br />

useful where a direct line-of-sight between transmitter and receiver isn’t available. Radio<br />

can also be a good choice for outdoor links, where daylight may interfere with infrared<br />

transmissions and wired links are inconvenient.<br />

Radio circuits require special construction techniques, and radio transmissions must not<br />

violate regulations of agencies such as the Federal Communications Commission (FCC).<br />

For these reasons, the easiest option is to buy the transmitters and receivers for your link,<br />

rather than build them yourself.<br />

One source of low-cost radio-frequency transmitter and receiver circuits is Electronics 123.<br />

<strong>The</strong> links transmit in the range 300-315 Megahertz, a frequency band used by many<br />

garage-door openers and alarm systems. <strong>The</strong> boards come with complete schematics and<br />

instructions for use.<br />

<strong>The</strong> circuits are similar to the infrared-transmitting circuits described earlier. <strong>The</strong> transmitter<br />

sends 4-bit codes to a receiver identified by an 8-bit address. <strong>The</strong> transmitter and receiver<br />

use Holtek’s HT-12E encoder and HT-12D or HT-12F decoder chips, also available separately<br />

from Electronics 123 and Digi-Key. <strong>The</strong> chips are similar in operation to Motorola’s<br />

146026/7 encoder and decoder, and you can in fact use them in infrared links as well. <strong>The</strong><br />

encoder and decoder each require just one resistor to set the oscillator frequency.<br />

216 <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!