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 8<br />

Figure 8-10. You can create custom characters with the HD44780 controller.<br />

<strong>The</strong> CG RAM stores the bit values for each row in the character.<br />

For your own designs, change the values of R1-R8 in lines 401-408 to match the symbol<br />

you want.<br />

Mounting Displays in an Enclosure<br />

Mounting a display in an enclosure for a finished project usually involves cutting or drilling<br />

the enclosure and wiring the display to the control circuits.<br />

For individual LEDs, you can buy inexpensive mounting rings, and drill matching holes in<br />

the enclosure’s front panel.<br />

Seven-segment modules often mount on separate circuit boards that fit over an opening cut<br />

into the enclosure. For a more finished appearance, you can buy bezels with matching sheets<br />

of clear or tinted plastic to cover the displays and mounting hole.<br />

Most character-based LCD modules have a mounting hole in each corner of the circuit board.<br />

You’ll need to drill matching holes in the enclosure, and cut a hole for the display to show<br />

through. Some displays have a ribbon cable attached; others have 14 holes on 0.1" centers,<br />

to which you can solder a ribbon cable or a header into which a cable plugs.<br />

Be sure to mount your displays so they will be visible from the expected viewing angle. If<br />

necessary, tilt the display slightly in its mounting.<br />

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