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

<strong>The</strong> MT8808 is shown powered at +5V, but VDD may be anywhere from 4.5V to 13.2V. VEE<br />

is an optional negative supply that enables you to switch negative signals.<br />

<strong>The</strong> switches do have some resistance, which varies with the supply voltage. At 5V, typical<br />

switch resistance is 120 ohms; at 12V, it drops to 45 ohms. This should cause no problems<br />

in switching standard LSTTL or CMOS signals. If you are routing an analog voltage to a<br />

low-impedance input, the switch resistance may attenuate the signal. Maximum switching<br />

frequency of the chip is 20 Megahertz.<br />

In Figure 11-2, the switch array is controlled by Port A and bit 7 of Port C (PC.7) on an 82C55<br />

PPI. Bringing PC.7 high opens all of the switches. If you don’t need this ability, you can tie<br />

RESET low and use PC.7 for something else.<br />

You can use any output port bits to control the MT8808. Logic high inputs at the MT8808<br />

must be at least 3.5V, though, so if you use NMOS or TTL outputs, add a 10K pull-up resistor<br />

from each output to +5V.<br />

For a simple test of the switches, you can connect a series of equal resistors as shown to the<br />

X inputs. Each X input will then be at a different voltage. To verify a switch closure, measure<br />

the voltages at the selected X and Y inputs; they should match.<br />

Figure 11-2. With the MT8808 switch array, an 8-bit output port can connect<br />

eight X inputs to eight Y inputs, in any combination.<br />

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