Interfacing 7-Segment Display With PIC Microcontroller – MikroC

The 7-segment display is the earliest type of an electronic display that uses 7 LEDs bars arranged in a way that can be used show the numbers 0 - 9. (actually 8 segments if you count the decimal point, but the generic name adopted is 7-segment display.) These devices are commonly used in digital clocks, electronic meters, counters, signalling, and other equipment for displaying numeric only data.  It is not ...

Read more

How to interface Seven Segment Display with PIC18F4550 Microcontroller

The seven segments are used to display decimal and hexadecimal (0-9, A-F) values. A seven segment is cheapest option for applications requiring numeric value display as output. Calculators, watches, lift’s floor indication panel etc. are examples of such applications. The interfacing and operation of a seven-segment display with PIC18F4550 has been explained here. A typical seven-segment consists of 8 LEDs ...

Read more

How to implement free running counter in PIC16F84A using seven segment display

This post provides the implementation of free running counter ( using c language ) for PIC16F84A micro-controller. This code is written in such a way that, the counter starts from a value of '0' ( displayed on the seven segment ) and then increments this value after every second. So, the seven segment display starts from '0' and then displays '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'b', 'C', 'd', ...

Read more

How to display custom characters on LCD using PIC16F84A

This post explains the idea of creating custom characters on any LCD ( e-g on 16x2 LCD ) which has HD44780U controller in it. Almost all 16x2 or 20x2 LCDs have HD44780U controller in them[1]. This controller provides the functionality of CGRAM ( Character Generator RAM ). We can write character patterns on this RAM and then they can be easily displayed on the LCD. The code for custom character generation us ...

Read more

15×7 Display using a PIC16F628 Microcontroller

This project is what you have been waiting for. Remember the scrolling signs you see in shops and on advertising billboards? Now you can program your own moving sign with all the effects you can think of. We have provided a blank canvas in the form of a scanning screen 15 LEDs by 7 LEDs and  on this you can put anything you like. Of course this is not a two-day job. You have to learn how to program and how ...

Read more

Digital Voltmeter Using PIC Microcontroller 16F877A and Seven Segments Display (0-30V)

We are all aware of about voltmeters (voltage meter), which is nothing but a device used to measure voltage between given two terminals. Apart from the basic usage digital voltmeters are also employed as panel meters for automation systems and robotics. There are analog and Digital voltmeters are available in the market. Have you ever thought about building a PIC microcontroller based digital voltmeter with ...

Read more

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

This post provides a simple digital clock implementation using PIC12F675 microcontroller and an LCD display. 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. In this article, it is assumed that you know, How to interface LCD with PIC12F675 microcontroller. If you don't then please read this page. How t ...

Read more

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

This post provides a simple digital clock implementation using PIC16F84A microcontroller and an LCD display. 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. In this article, it is assumed that you know, How to interface LCD with PIC16F84A microcontroller. If you don't then please read this page. How t ...

Read more

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

This PIC16F877 microcontroller tutorial answers the question, " How to implement a digital clock using PIC16F877 ? "   Using PIC16 simulator (Proteus) you can verify this digital clock 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. In this article, it ...

Read more

Seven segment display 4 digit For CSS Compiler

#include <16F877.h> #device adc=8 #fuses NOWDT,HS, NOPUT, NOPROTECT, BROWNOUT, NOLVP, NOCPD, NOWRT, NODEBUG #use delay(clock=4000000) #define sw_up pin_a0 // SWITCH UP #define sw_down pin_a1 // SWITCH DOWN INT16 COUNT; int8 A,B,C,D; //int8 segment[10] ={ 0xc0,0xf9,0xa4,0xb0,0x99,0x92,0x82,0xf8,0x80,0x90};//common anode int8 num[10] ={ 0x3F,0x06,0x5B,0x4F,0x66,0x6D,0x7D,0x27,0x7F,0x6F};//common cathode ...

Read more
Scroll to top