How to interpret the direction of rotation from a digital rotary switch with a PIC using PIC16F877A

How to interpret the direction of rotation from a digital rotary switch with a PIC The objective for this Instructable is to illustrate how to interface a digital (quadrature coded) rotary switch with a microcontroller. Don't worry, I'll explain what quadrature coded means for us. This interface and the accompanying software will allow the microcontroller to recognize the direction of rotation for each mo ...

Read more

Serial LCD project using PIC16F877A Microcontroller

This project shows you how to create a serial LCD module that you can drive from any serial RS232 interface. It uses a pure ASCII command set so you can control it easily from a terminal program such as Hyperterminal. There  are no 'odd' command sequences such as 0xef to define a command  - you can type all commands at the terminal interface making it very easy to use It's also easy to test it out manually ...

Read more

How to Interface LCD with PIC16F877A Slicker

PIC16F/18F Slicker Board The PIC16F/18F Slicker board is specifically designed to help students to master the required skills in the area of embedded systems. The kit is designed in such way that all the possible features of the microcontroller will be easily used by the students. The kit supports in system programming (ISP) which is done through USB port. Microchip’s PIC (PIC16F877A), PIC16F/18F Slicker Ki ...

Read more

PIC16F877A timer0 code + Proteus simulation

This PIC16F877A microcontroller tutorial answers the question, " How to use timer0 of PIC16F877A 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 ...

Read more

PIC16F877A (with LCD) not working

I have designed a PIC18F877A micro controller project to read temperature from an LM35 using ADC, display it on an LCD and transmit it to a serial port. When the program starts, sometimes it shows a startup message - sometimes it doesn't display anything. Also, the serial port connection is not working. Can anyone help - am I missing something? Are there any ground connections missing? My code: #include #de ...

Read more

PIC16F877A LED blink

The Microchip PIC16F877A has 40 pins 33 of them can be input or output. In this simple project I am going to configure this microcontroller to blink a 33 LED each LED is connected to one I/O pin. The PIC16F877A has 8 analog channels, so we have to configure all these channels as digital output. The pin RA4 is an open drain output we must add a pull up resistor to turn it on and off. The circuit schematic is ...

Read more

PIC Microcontroller Unit(PIC16F877A)

A Project entitled "PIC Microcontroller Unit" presented by Quezon City Polytechnic University (QCPU), Fourth year students of Bachelor of Science in Information Technology (BSIT), Major in Computer Technology. For the elecytive subject of "MIcroprocessor". Submitted by Group number two(2) and to be submitted to Professor Ambito. For School Year 2012-2013, Second Semester. Group Members: Graellos Cesar Jr. G ...

Read more

How to drive an rgb led using PIC16F877A

The RGB LED contains three LEDs encased in one shell: Red, Green and Blue (some contain an extra blue led - as blue LEDs generate less output intensity (candela) per mA). It looks like a single white led except that it has four leads - one for the common ground connection and one for each led. Basic operation The average current through each of the LEDs determines it's light output i.e. its contribution to ...

Read more

Mars Clock using PIC16F877A microcontroller

What do you do if you have a spare LCD module with backlight, a weird 16 button keyboard, and a PIC16F877A microcontroller gathering dust? A monster Martian Clock immediately springs to mind. You are probably thinking "There are hundreds of PIC clocks on the Net - do we need yet another one?!" Well, this one is a bit different: It has 16 timers that can be independently paused and restarted, and can run for ...

Read more
Scroll to top