August 2008
Beginner to intermediate
304 pages
6h 2m
English
The circuit in Figure A.2 shows a PIC 16F877A with crystal clock, push-button input, and 8-bit bar graph display. The output increments when the button is “pressed” using the mouse pointer, and the effect can be seen on screen in real time.

The design of the circuit obviously requires knowledge of the relevant interfacing techniques to connect up peripheral components correctly. For example, the resistor value in the switch pull-up circuit is not critical, but the maximum value is limited by the input current drawn by the PIC input; a maximum of 1 MΩ is appropriate. At the low end of the ...
Read now
Unlock full access