Skip to main content

Posts

Showing posts with the label 4-Bit Counter

Experiment No. 1 : 4-Bit Binary Counter

Experimental Setup: The first experiment that we are going to do with our PIC16F628A board is a 4-bit binary counter that counts from 0(00h) to 15(0Fh) with 1sec delay between each count. The output will be at RB.0 through RB.3 and will be displayed on 4 LEDs. Use four jumper wires to connect RB.0 through RB.3 to LEDs. The picture below shows these connections. Figure 1. Jumper Connections for a 4-bit Binary Counter