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


Thu Mar 14 2019, 08:44 PM
We don't send code,but you can ask for help in the 8051 forum
Thu Mar 14 2019, 11:00 AM
Jui Sanjay Kapare
Hello sir, I want code of interfacing DS18B20 with 8051.plz send the code as early as possible
Mon Jan 07 2019, 03:31 AM
@REVOCATUS please post in the AVR forum
Mon Dec 24 2018, 09:25 AM
sorry I mean referee boards for player substitution
Mon Dec 24 2018, 09:24 AM
hi am.looking how to build referee by using Atmega 328 and its codes
Sat Dec 15 2018, 01:45 PM
Arslan ayoub
Hii ,, can I get the simulation of numeric keypad lock on proteus
Mon Dec 03 2018, 05:17 PM
Please post questions in the forum. The chat box is for chat
Mon Dec 03 2018, 06:43 AM
help! I don't understand busy flag!
Sun Dec 02 2018, 08:01 PM
Mon Nov 12 2018, 05:58 AM
i have seen your replica of I2C programming using AT89C51 but i am unable to understand the "ack_bit" variable usage ...looks like it is always 1...can you elaborate how acknowledgment is working....



Tue Mar 12 2019, 07:11 AM
Fri Mar 08 2019, 02:08 AM
Thu Mar 07 2019, 04:34 PM
Thu Mar 07 2019, 03:55 PM
Mon Mar 04 2019, 11:08 PM
Tue Feb 26 2019, 06:06 PM
Mon Feb 25 2019, 06:26 AM
Thu Feb 14 2019, 02:21 PM


Guests: 32, Members: 0 ...

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

Members: 38052
Newest member: tutu10
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Mar 22 2019, 09:10 PM
Using the external interrupt on pin B0 is the best...
Ansh12 Avatar
Posted By Ansh12
Fri Mar 22 2019, 03:45 PM
I have pic16f877a and MPLABX8 and I want to count ...
ExperimenterUK Avatar
Posted By ExperimenterUK
Wed Mar 13 2019, 02:32 AM
HiI looked at" Atmel AVR042: AVR Design Considera...
tutu10 Avatar
Posted By tutu10
Tue Mar 12 2019, 07:13 AM
Hi...My firmware upgradable code lock seems to be ...
Yass7 Avatar
Posted By Yass7
Sat Mar 09 2019, 12:52 AM
It's exactly that ! it's my teacher who asked me t...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Mar 09 2019, 12:27 AM
As I understand it, you want to use a P89LPC952 /...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Mar 09 2019, 12:21 AM
After you get the string what do you want to do wi...
bharatsb Avatar
Posted By bharatsb
Thu Mar 07 2019, 04:40 PM
help me to write code for 8051 to receive string ...
Yass7 Avatar
Posted By Yass7
Thu Mar 07 2019, 03:59 PM
Hello everyone,here I made a 3-axis CNC with 3 ste...
ExperimenterUK Avatar
Posted By ExperimenterUK
Sat Jan 26 2019, 07:19 PM
Yes that helps a lot.At first sight I can't see th...