Firstly, we have to design the schematic design of the circuit.
The simulation circuit consist of a microcontroller chip PIC 168F77A, two push buttons and two resistors. The circuit supplied with 5V VDD and grounded. The PIC 16F877A is setting up with clock frequency of 20 Mhz.
The Prototyping board has two momentary push-button that may be used as inputs to the program. The input pin is connected to a 270 ohm pull-up resistor to +5V. The button, when pressed, shorts the input pin to ground. The pin is normally high while in this configuration, but it is low while the button is pressed.
No comments:
Post a Comment