Can anyone advise using 89c2051 to build a count-up counter

Status
Not open for further replies.

landrover

Newbie level 3
Joined
Aug 14, 2005
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,316
+89c2051 +bascom

I am a new starter from Hong Kong, self-learning 89c2051 for 3 months,now can use simple BASCOM programme to programe 89c2051,it is great.
i want to build a 3-digits 0-999 count-up counter with
using 89c2051 to drive 3 common anode 7-digits LED.
When input=high, it adds 1 up.
Pls advise circuit and .hex file.
Thanks.
 

Re: Can anyone advise using 89c2051 to build a count-up coun

hi landrover,
you could use one 8 bit port of the 2051 to connect to the pins of the seven segment display. Use three pins of the other port to select the 3 displays. Now your program should do this:
enable display 1. Send corr. digit to port one(connected to 7 seg).
enable display 2. Send corr. digit to port one(connected to 7 seg).
enable display 3. Send corr. digit to port one(connected to 7 seg).
do this quickly. prabably at 1-10khz so that the flickering would not actually be noticeable.
best of luck,
bye
 

Re: Can anyone advise using 89c2051 to build a count-up coun

Dear Kitaabs

Thanks for yr reply. i am a amateur, starting by learning other programe
could you advise where i can get the programe or hex file
Thanks
 

Re: Can anyone advise using 89c2051 to build a count-up coun

For someone who starts experimenting with 2051 this is a good site to visit:
**broken link removed**
(driving 7-segment + keypad ++++)
Regards,
IanP
 

Re: Can anyone advise using 89c2051 to build a count-up coun

THX
I WILL STUDY IT CAREFULLY
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…