PIC Microcontroller & Shift Register
In this video we'll learn how to program a PIC12F683 microcontroller to control a shift register. We'll see the connections between the components and we'll create a C program in MPLAB X IDE to download to our microcontroller by using a PICKit 3. We'll use the C code that we've written for MSP430 as a basis, with slight modifications we'll make the code work on our PIC Microcontroller: https://youtu.be/Se1apTUKOvE For learning the connections between the Pickit 3 and the PIC12F683 Microcontroller check my previous video: https://youtu.be/b4tjvGpdECM 0:00 Introduction 0:44 Connections (Microcontroller & Shift Register) 2:29 C Code in MPLAB X IDE 12:18 Example 1: Shifting One Bit 15:36 Example 2: Shifting Two Bits 16:37 Example 3: Shifting 101 sequence 17:11 Example 4: Displaying an 8-bit number in the LED Array 18:03 Example 5: Counting from 1 to 255 in the LED Array The codes used in the examples: https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Shift_Register1 https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Shift_Register2 https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Shift_Register3 https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Shift_Register4 https://github.com/selimg76/microcontroller/blob/master/PIC12F683_Shift_Register5
Download
0 formatsNo download links available.