Discussion in "Project Help" started by    joshua    Sep 4, 2007.
Wed Sep 05 2007, 12:02 am
#11
ok.. now i got your schematic.. now explain me.. how you want your circuit to be operated.. i mean function of the parts. like what does switches do.. what is the use of display..
what is it going to display.. and how you what your fan to be controlled.. i just want to know a basic idea
Wed Sep 05 2007, 01:12 pm
#12
coz tis is a group assignment, i m jz in charge of the part of the fan. wat i gonna do is to make the fan spin at different speed at different temperature. as my lecturer told me, to make tis simpler, we divide it into 3 parts which is to write the code for a slow speed fan, fast speed fan n to stop the fan. tis is the basic idea for me of the fan part. thx a lot, apprecated..
Wed Sep 05 2007, 04:32 pm
#13
ok.. understood.. so take a look at the PWM code.. which i posted in cenadius's thread. R7 will control the FAN speed.. for max fan speed.. stop the timer and switch the fan on. To stop the fan, stop the timer and clear the fan bit.
 joshua like this.
Wed Sep 05 2007, 08:38 pm
#14
thx.. i will try to run the code in my simulator 1st.. appreciated..
Wed Sep 05 2007, 08:59 pm
#15
simulator will not give you answers you need
try running on the hardware..
Wed Sep 05 2007, 09:01 pm
#16
icic. i will try it soon. coz i m still constructing the circuit. btw, the code i used is to control the fan in auto or in manual? coz in my assignment, i gotta do a manually n automatically control fan.
Wed Sep 05 2007, 09:10 pm
#17
i already told u.. manual and auto is final interface... and this code just control speed of FAN nothing else... manual and auto u can make later as u want..
 starshine like this.
Wed Sep 05 2007, 09:11 pm
#18
got it, thx..
Thu Sep 06 2007, 08:54 am
#19
ajay, i hav gotta ask about something related to the timer mode. can i change 1 of the code from MOV TMOD, #02H to MOV THO, R7?? by the way, can u briefly tell me wat code can i write to actually change the value of R7 in order to change the speed of the fan automatically? and also wat is a debouncing mean?? i need to use tis to control the fan by pressing button.
Thu Sep 06 2007, 01:27 pm
#20
debouncing is related to keys not to fan control.. when you take your finger off the switch or say when you release the switch its called debouncing..

for automatic.. you can have some set of values.. like for temp range 10°-15° value of R7 is 15
for 15°-20° value of R7 is 30
and so on..
so when your ADC reads temperature in between any of the range it will automatically load the new value in R7 and hence speed will be controlled automatically.
 joshua like this.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

Tumergix
Sun Apr 28 2024, 12:59 am
StevenDrulk
Sat Apr 27 2024, 08:47 pm
StephenHauct
Sat Apr 27 2024, 09:38 am
Adamsaf
Sat Apr 27 2024, 07:12 am
Robertphype
Sat Apr 27 2024, 12:23 am
ktaletrryp
Fri Apr 26 2024, 10:55 pm
Robertrip
Fri Apr 26 2024, 11:20 am
ArnoldDiant
Fri Apr 26 2024, 03:53 am