PIC Microcontroller & Analog to Digital Conversion (ADC)
In this video, we'll learn how to program PIC12F683 microcontroller ADC module with PICKit 3 and MPLAB X IDE. Wel'll be using two shift registers and a 4 * 7 segment display (common anode - HS5461B) for displaying the conversion results (0-1023, since the ADC module is a 10-bit module). After explaining the connections between the Potentiometer (to be used connected to the analog input), the microcontroller, the shift registers and the display, we'll be using the datasheet of the microcontroller for writing the C Code in MPLAB X IDE. The C code that are used in this video can be found at: https://github.com/selimg76/microcontroller/blob/master/PIC12F683_ADC_Seven_Seg If you haven't done yet, watch the previous video of the series for programming the microcontroller for driving the 4 * 7 segment display with shift registers: https://youtu.be/Abke5G0mowU 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:27 Circuit Setup 2:56 C Code in MPLAB X IDE 12:41 Example Circuit & Demonstration I hope the video will be useful for you.
Download
0 formatsNo download links available.