Discussion in "8051 Discussion Forum" started by    hariz    Sep 3, 2007.
Mon Sep 03 2007, 09:29 pm
#1
open new topic about my assignment that need to use 8051,my problem is same with the cenadius because we do the same assignment.i hope you can teach me to complete this assignment.My question is,how i need to do to make my 7 segment change according to the tempereture or i just make it constant untill it reach some condition that allowed the fan to change the order.
Mon Sep 03 2007, 09:43 pm
#2
What you can do is.. read the ADC after fix intervals.. like 500ms or 200ms etc..
this way.. you don't keep the controller busy in reading just the ADC. After reading the ADC value store them in some variable.
and.. as 7-segment connected on same port needs refresh after some time.. so you just read that variable while refreshing the seven segment..
that will automatically refresh the the value of 7-segment..
Tue Sep 04 2007, 06:28 pm
#3
i have try my source code in edsim51,after i simulated,there is no error when i do it,when CLR,one of led is on,then th0 and th1 is repeating.so,what should i do next?
Tue Sep 04 2007, 07:35 pm
#4
you must check the code on hardware.. software wont give you correct answers..
Tue Sep 04 2007, 09:03 pm
#5
can you give some idea to do decoded for displaying 7 segment??
Tue Sep 04 2007, 09:07 pm
#6
sure.. can you please read cenadius thread? and ask me doubt if you get any.. ok! any doubt i will explain..
Tue Sep 04 2007, 09:12 pm
#7
i confuse about the decode table.is it i need to do some condition(value) the the program will check.for example internal ram that store some value in the location..
Tue Sep 04 2007, 09:28 pm
#8
ok you want to know how to find the decode table
search in the forum.. you will get your answer.. use the search box.
actually i dont have link to the forum post where i explained how to find the decode value..

try visiting this link..
http://www.8051projects.net/forum-t1410-post.html
Tue Sep 04 2007, 09:45 pm
#9
thanx a lot..now i understand more the working of that..but where i need to put the coding for 7 segment??
Tue Sep 04 2007, 11:57 pm
#10
in your controller.. well first of all write a sample code.. to test the working..
after that put that code into a routine.. so that you just need to pass the value and it will display it automatically.. so you don't have to be tense about anything.. right? all you have to do is write a test program..
after you write it.. show it to me..
MAKE SURE THE CODE IS JUST FOR 7-SEG nothing else

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Bobbyerilar
Thu Mar 28 2024, 08:08 am
pb58
Thu Mar 28 2024, 05:54 am
Clarazkafup
Thu Mar 28 2024, 02:24 am
Walterkic
Thu Mar 28 2024, 01:19 am
Davidusawn
Wed Mar 27 2024, 08:30 pm
Richardsop
Tue Mar 26 2024, 10:33 pm
Stevencog
Tue Mar 26 2024, 04:26 pm
Bernardwarge
Tue Mar 26 2024, 11:15 am