Discussion in "8051 Discussion Forum" started by    hitesh19872419    Sep 2, 2010.
Thu Sep 02 2010, 06:02 AM
i saw that many of the beginners are facing problems with seven segments so i have made a small c code which will help you to know more about the seven segment multiplexing technique the rar file contains source code and isisi simulation file
 shaikajay_bhargav like this.
Tags multiple 7-segment displaysmutiplexed 7-seg display7-Segment LED display7-seg display example7-seg display code
Thu Sep 02 2010, 06:24 PM
Nice example hitesh

even i want to put up a tutorial for 7-segment display but i am not getting time. always short of it.

I will make this a sticky thread in 8051 Forum

[Topic moved to 8051 Discussion forum]
 romel_emperado like this.
Thu Oct 21 2010, 04:41 AM
wow.. thanks for sharing.. i will study this
Thu Jun 02 2011, 01:05 PM
Thanks for the share Hitesh. it looks very helpful but I could not open the proteus file, I am using version 7.1 sp2, how can I open the file, what is the version. would you please help me
Thu Jun 02 2011, 01:15 PM
use higher version than you're currently using

[ Edited Thu Jun 02 2011, 01:32 PM ]
Fri Jun 03 2011, 06:17 AM
ok romel thank you I will try install a higher version
Sat Oct 08 2011, 09:08 AM
Thanks for the share Hitesh. it looks very helpful but did have .asm equivalent code
Sat Oct 08 2011, 04:08 PM
@ hengela
can download latest version
Thu May 24 2012, 12:48 PM
This is simple led blinking program try it out


This project will blink a LED on Port 2 of any 8051 based Microcontroller

You can open this project 'led test.Uv2' in Keil Compiler

Download Keil for C51 MCUs from http://www.keil.com/

Connect a LED in this way:
Anode of LED should go to VCC via a current limiting resistor can be any value beween 470 Ohm to 1K
Cathode of LED should go to any Port 2 pins of MCU
For 40 pin AT89S52 or similar Port 2 is from Pins 21 to 28

470-1K LED
VCC o----/\/\/\----|>---o Any pin on Port 2


sfr P2 = 0xA0;

void delay()
int i;


void main()
P2 = 0xFF;
P2 = 0x00;

Get Social


Powered by e107 Forum System


Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details
Mon Aug 05 2019, 04:33 PM
Ismail balghmi
Hello. Please I won't download
Wed Jul 24 2019, 12:47 AM
@BUSTER123 Please post in the forum
Tue Jul 23 2019, 06:13 PM
hello! newbie here. i am kind of a guy who hates using ready - made existing libraries, so this helped a lot as i was trying to control and write to a character lcd display. however, i can't figure out how to set the cursor position. for example, i want to set it to the 5th column in the first row, so position 5. so according to the table, i am sending 10000101 on the 8 data lines of the lcd (register select pulled low). the cursor does not move there however. and i cant move the cursor left or right too. is it something wrong that i am doing? thank you.
Thu Jul 11 2019, 07:55 PM
@ramos https://www.theengineeringprojects.com/2017/09/l298-motor-driver-library-proteus.html
Thu Jul 11 2019, 07:44 PM
@praveen123. Can you give a link to the project ?



Wed Nov 13 2019, 06:25 AM
Mon Nov 11 2019, 01:31 PM
Sun Nov 10 2019, 04:42 AM
Sat Nov 09 2019, 03:41 PM
Fri Nov 08 2019, 10:06 AM
Fri Nov 08 2019, 07:28 AM
Tue Oct 15 2019, 04:32 PM
Tue Oct 15 2019, 02:27 AM


Guests: 49, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38103
Newest member: Casmir
Forum Activity
ilylily07 Avatar
Posted By ilylily07
Mon Nov 18 2019, 09:54 AM
0v7670 camera interfacing with stc 8051.using asse...
Jeanbusatta Avatar
Posted By Jeanbusatta
Sun Nov 10 2019, 04:43 AM
ty, really needed it
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Oct 22 2019, 05:18 AM
wimac Avatar
Posted By wimac
Mon Oct 21 2019, 09:18 AM
I’ve been following this thread and looking at the...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:09 PM
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 03:02 PM
sir, when i on display ,sometime 3rd display is no...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sun Oct 20 2019, 02:53 PM
sir, when i on display ,sometime 3rd display is no...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Oct 20 2019, 12:21 AM
Your code seems okay on my simulationTry my code o...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:13 PM
please find video attachment. 3rd & 4th displa...
s_dinesh40@yahoo.com Avatar
Posted By [email protected]
Sat Oct 19 2019, 07:05 PM
sir, 3rd and 4th dot matrix display flickering, ...