PIC12F675 external interrupt code and Proteus simulation

This post provides the external interrupt code for PIC12F675 microcontroller (e-g when you need to control servo motor which has position encoder, with your PIC microcontroller). As we know, PIC12F675 microcontroller has one GP2/INT pin, which can be used to service external interrupts. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' se ...

Read more

Electronic Code locking system using PIC 16F877 Mircocontroller

Electronic code locking system is extremely useful in protecting our precious possessions and can be installed anywhere with bit of engineering in it. We are widely familiar with the Password based e-locks and might have installed in our house. But we are going for Electronic locks made by any company when you can make one by your own. This project demonstrates you how to make a PIC microcontroller based si ...

Read more

Interfacing DS1307 to PIC Microcontroller with C code and Circuit Diagram

This tutorial will help you to interface DS1307 RTC with PIC16F877 Microcontroller. The project is compiled in CCS Compiler and simulated with Proteus. The Real Time Clock is interfaced with PIC controller via I2C. I2C is a 2 wire communication protocol. I2C is used for moving data from one device to another simply and quickly. It is a serial, synchronous, Bi-Directional protocol, the data is synchronised   ...

Read more

PIC12F675 ADC code and Proteus simulation

This post provides the ADC code using PIC12F675 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to interface LCD with PIC12F675 microcontroller. If you don't then please read this page first, before proceeding with this article. The result of simulating ...

Read more

PIC12F675 internal EEPROM code and Proteus simulation

This post provides the internal EEPROM reading and writing code for PIC12F675 microcontroller. As we know, PIC12F675 microcontroller has 128 bytes of built in EEPROM data space with an address range of 0x00 to 0x7F. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to bli ...

Read more

PIC16F84A software UART (bit banging) code and Proteus simulation

This post provides the software UART (Bit Banging) code for PIC16F84A microcontroller (e-g to connect PIC controller with PC using serial adapter). As we know, PIC16F84A microcontroller doesn't have built in UART module, so we can create UART functionality in it's software. This post provides the details of how to program software UART functionality in PIC16F84A. This code is written in C language using MPL ...

Read more

PIC12F675 timer0 code and Proteus simulation

This post provides the timer0 code for PIC12F675 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC12F675 microcontroller. If you don't then please read this page first, before proceeding with this article. The result of simulating ...

Read more

PIC12F675 timer1 code and Proteus simulation

This post provides the timer1 code for PIC12F675 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to blink an LED with PIC12F675 microcontroller. If you don't then please read this page first, before proceeding with this article. The result of simulating ...

Read more

PIC16F84A internal EEPROM code and Proteus simulation

This post provides the internal EEPROM reading and writing code for PIC16F84A microcontroller. As we know[1], PIC16F84A microcontroller has 64 bytes of built in EEPROM data space with an address range of 0x00 to 0x3F. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed that you know how to b ...

Read more

PIC16F877 timer0 code and Proteus simulation

This PIC16F877 microcontroller tutorial answers the question, " How to use timer0 of PIC16F877 and how to handle its interrupts? " Using PIC16 simulator (Proteus) you can verify this PIC timer0 code and change it according to your needs. This code is written in C language using MPLAB with HI-TECH C compiler. You can download this code from the 'Downloads' section at the bottom of this page. It is assumed th ...

Read more
Scroll to top