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

PIC12F675 LCD Interfacing Code and Proteus Simulation

This post provides the LCD[1] interfacing 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 make an LED blink with PIC12F675 microcontroller. If you don't then please read this page first, before proceeding with this article. PIC12 ...

Read more

Execute Open-Source Code in a PIC Microcontroller Using the MPLAB IDE

The PIC32 single-board computer is a de facto standard tool for developing microcomputer applications within the hobbyist and educational communities. It provides an open-source hardware (OSH) environment based on a simple microcontroller board, as well as an open-source (OS) development environment for writing software for the board. Here’s an approach that enables PIC32 code to be configured for execution ...

Read more

PIC18F452 LED Blinking Code and Proteus Simulation

This post provides the LED blinking code (compiled in MPLAB + HI-TECH C) for PIC18F452. Complete project code and the proteus simulation can be downloaded from the Downloads section at the bottom of this post. The following diagram shows the required circuit. In this project a crystal of 10MHz is used with PIC18F452. This crystal frequency is fed into PLL of PIC18F452, which boosts it to 40MHz. As we know t ...

Read more

PIC12F675 software UART (bit banging) code and Proteus simulation

This post provides the software UART (Bit Banging) code for PIC12F675 microcontroller (e-g to connect PIC controller with PC using serial adapter). As we know, PIC12F675 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 PIC12F675. This code is written in C language using MPL ...

Read more

PIC16F84A LCD interfacing code (using 3 pins only) + Proteus simulation

This post provides the LCD[1] interfacing code using only 3 pins of PIC16F84A 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 make an LED blink with PIC16F84A microcontroller. If you don't then please read this page first, before proceeding with this ...

Read more
Scroll to top