PIC Microcontroller & Seven Segment Displays
In this video, we'll learn how to drive seven segment displays with our PIC12F683 microcontroller and shift registers. First we'll use a single digit common cathode seven segment display and connect it to a single shift register. In the second setup, we'll cascade two shift registers to have more than 8 outputs and use 12 pins in total to drive a 4-digit seven segment display (common anode - HS5461B). After explaining the connection setups, we'll use MPLAB X IDE for writing C code for our examples. The C code that are used in this video can be found at: https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Seven_Segment_1 https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Seven_Segment_2 https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Seven_Segment_3 For learning the connections between the Pickit 3 and the PIC12F683 Microcontroller check this video: https://youtu.be/b4tjvGpdECM For learning how the serial in - parallel out shift register (SN74HC595) works, check this video: https://youtu.be/Se1apTUKOvE 0:00 Introduction 0:23 Setup1 & How to drive single digit seven segment display (common cathode) 3:33 Example 1, C code in MPLAB X IDE 7:22 Setup2 & How to drive 4 digit seven segment display (common anode) 14:22 Example 2 & 3, C code in MPLAB X IDE I hope the video will be useful for you.
Download
0 formatsNo download links available.