Discussion in "8051 Discussion Forum" started by    hariz    Sep 3, 2007.
Mon Sep 03 2007, 03:59 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, 04:13 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, 12:58 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, 02:05 PM
#4
you must check the code on hardware.. software wont give you correct answers..
Tue Sep 04 2007, 03:33 PM
#5
can you give some idea to do decoded for displaying 7 segment??
Tue Sep 04 2007, 03:37 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, 03:42 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, 03:58 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, 04:15 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, 06:27 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

Conversation

No messages yet.

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 157, Members: 0 ...

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

Members: 38215
Newest member: Mirza123