source code and circuit diagram for 8 seven segment fully working
Discussion in "8051 Discussion Forum" started by hitesh19872419 Sep 2, 2010.
Thu Sep 02 2010, 11:32 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
shaik, ajay_bhargav like this.
Tags multiple 7-segment displaysmutiplexed 7-seg display7-Segment LED display7-seg display example7-seg display code
Thu Sep 02 2010, 11:54 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]
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 Jun 02 2011, 06:35 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, 06:45 pm
use higher version than you're currently using
[ Edited Thu Jun 02 2011, 07:02 pm ]
Sat Oct 08 2011, 02:38 pm
Thanks for the share Hitesh. it looks very helpful but did have .asm equivalent code
Sat Oct 08 2011, 09:38 pm
Thu May 24 2012, 06:18 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;
for(i=0;i<15000;i++)
{
}
}
void main()
{
while(1)
{
P2 = 0xFF;
delay();
P2 = 0x00;
delay();
}
}
/*
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;
for(i=0;i<15000;i++)
{
}
}
void main()
{
while(1)
{
P2 = 0xFF;
delay();
P2 = 0x00;
delay();
}
}
Powered by e107 Forum System