code

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

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

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

PIC12F675 software UART

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

PIC12F675 software UART (bit banging) code and Proteus simulation Read More »

PIC16F84A LCD interfacing

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

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

PIC16F877 based controllable digital clock using LCD display

PIC16F877 based controllable digital clock using LCD display (Code+Proteus simulation)

This PIC16F877 microcontroller tutorial answers the question, ” How to implement a controllable digital clock using PIC16F877 ? ” Using PIC16 simulator (Proteus) you can verify this digital clock code and change it according to your needs. Using three push buttons (As shown in figure below) you can adjust time as you desire. This code

PIC16F877 based controllable digital clock using LCD display (Code+Proteus simulation) Read More »