{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

Ch3_Solutions_WAM2.2

# Ch3_Solutions_WAM2.2 - What's a Microcontroller Chapter 3...

This preview shows pages 1–2. Sign up to view the full content.

What’s a Microcontroller? - Chapter 3 Homework Solutions Chapter 3 Questions 1. What are the warning signs that indicate you might have made a serious mistake while wiring your circuit? If you were using the Board of Education, if the PwrLED goes dim or goes out completely when you plug in the power supply, it means you have a short circuit, and need to disconnect power and correct the circuit immediately. 2. What two states can a pushbutton circuit be in? What numbers does the BASIC Stamp use for each of these states? The two states are either an open loop or a closed loop. The Basic Stamp uses a 0 for an open loop and a 1 for a closed loop. 3. What does a BASIC Stamp I/O pin set to input see when a normally open pushbutton circuit that uses a pull-down resistor is pressed? What does it see when the pushbutton is not pressed? When the pushbutton is pressed it senses that Vdd is connected to the I/O pin. If the pushbutton is not pressed, the BASIC Stamp cannot sense Vdd, but it can sense Vss. 4. When does current flow through a pushbutton circuit with a normally open pushbutton? Current flows through a normally open pushbutton circuit when the button is pressed. 5. What is the difference between a pull-up and pull-down resistor? A pull-down resistor pulls the voltage at the I/O pin down to Vss (0 volts) when the button is not pressed. A pull-up resistor pulls the voltage up to Vdd (5 volts) when the button is not pressed. For the pull-up resistor, the IN3 stores a 1 when the button is not pressed and a 0 when it is pressed (opposite of a pull-down resistor).

This preview has intentionally blurred sections. Sign up to view the full version.

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### Page1 / 5

Ch3_Solutions_WAM2.2 - What's a Microcontroller Chapter 3...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document
Ask a homework question - tutors are online