Keypad 4×5 for microcontrollers v. 1.1 using PIC16F877

What's this? The circuit here described is a simple 4x5 keypad that can be used in particular with the PIC 16F877 microcontroller, for which it has been designed considering a supply of 5V, 16F877 I/O pins leakage current, the voltage level recognized as a high or low state while in TTL or ST mode, etc.. Since this circuit is quite simple, and the resistors' value not critical, it should be suitable for oth ...

Read more

Serial Data Received from PC and Displayed on 16×2 Using USART of Pic16f877 Microcontroller

Here is a simple tutorial on how to receive serial data from PC(Personal Computer) Hyperterminal and display it on 16x2 lcd using PIC16f877 microcontroller. Its not much difficult you just need to know how to use USART(Universal Syncronous-Asyncronous receiver transmitter) of PIC 16f877. Serial data is transmitted and recived by PC using DB-9 OR DB-25 port of PC. Project Requirements PIC16f877 Microcontroll ...

Read more

Mouse interfacing and communication using PIC16F877

Introduction On this page a circuit is described, making it possible to interface a PIC and a PS/2 mouse. If you send me a request (read further), it is possible to obtain for free also the assembler program to communicate with the PS/2 mouse. The PIC microcontroller used to test and develop the communication with the PS/2 mouse is a 20MHz PIC 16F877, but, as it is a non-critical application, a wide set of ...

Read more

PIC16F877 i2c code and Proteus simulation

This post provides the i2c code (using the i2c module built in the hardware[1]) for PIC16F877 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 PIC16F877 microcontroller. If you don't then please read this page first, before proceedin ...

Read more

PIC16F877 timer1 code and Proteus simulation

This PIC16F877 microcontroller tutorial answers the question, " How to use timer1 of PIC16F877 and how to handle its interrupts? " Using PIC16 simulator (Proteus) you can verify this PIC timer1 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

Naked Clock using PIC16F877 Microcontroller

Why have an enclosure?  The enclosure of a clock doesn't tell you the time!  So I built this PIC clock with no part that doesn't serve an electrical function.  The hanger is the ground. The microcontroller is the 40-pin PIC 16F877.  I set it up, then let it run for a few weeks, saw how far off it got, then went back into the code to add an extra delay to get the timing just right. Lessons Learned: I origina ...

Read more

PIC16F877 LED blinking code and Proteus simulation

This post provides the code to make an LED blink using PIC16F877 microcontroller. This code is written in C language using MPLAB with HI-TECH C compiler. This code is intended to be the first step in learning how to use PIC16F877 microcontroller in your projects. You can download this code from the 'Downloads' section at the bottom of this page. Following figure shows the minimum circuit required to make an ...

Read more

PIC 16F877 / 16F874 Development Board

The Development Board v. 1.1 connected to an LCD display. It is well visible (read further, in the description) the row of LEDs used to check the logic state of up to 8 I/O ports or external circuits' pins. Of course, if you own an 8 trace oscilloscope, you can do without it. :-)) On the right bottom the programming cable. Characteristics of the DB12 As I have done with the PIC 16F84 / C84 Evaluation Board, ...

Read more

Microchip PIC16F877 to FTDI USB interface

Introduction This is a simple design that interfaces a PIC 16F877 microcontroller to the USB bus using the FTDI FT245 USB FIFO device. It has been designed using a simple single sided PCB with only one surface mount device, the USB chip itself. All schematics, PCB layouts and software are available for download   Design overview As stated in the introduction the design uses the FTDI FT245BM USB FIFO de ...

Read more

Alarm Clock Retrofit using PIC16F877

I had some beef with my (very) old alarm clock.  It had a radio which was nice to wake up to, but two problems: 1) I would be in bed and think "Wait, did I set the alarm?"  I would have to get up, turn on the light and look at the position of the tiny black sliding switch. 2) When I wake up in the morning and turn off the alarm, it's still set to go off the next morning.  When I started this project I had a ...

Read more
Scroll to top