Discussion in "Project Help" started by    cenadius    Aug 19, 2007.
Thu Aug 30 2007, 09:09 pm
#21
PWM is to control o/p voltage.. to increase or decrease the speed of motor. as you said.. there is requirement of manual select for speed of fan.. so this code will be useful.
you can have preset 5 values, that you will load when user press a key
Please check your PM
 lifeflowers86 like this.
Fri Aug 31 2007, 07:19 am
#22
ooo,i see,but we just need 3 value which for fan run fast ,medium and slow and we only have 4 switch which use to set 3 value and change the fan between auto and manual mode.On the other hand,can u give me the link to download protel?
Fri Aug 31 2007, 01:16 pm
#23
mmm... protel is also not free..
But the schematic you gave me is already a finished one.. so why you want to make another schematic?
 lifeflowers86 like this.
Fri Aug 31 2007, 02:15 pm
#24
i want add other electronic part to create extra feature for this program,cos this extra feature also cost us some mark,now i think i donw an add extra part d cos i donno how to connect iinto this circuit,and can u pls told me what should i do next after complete the pwm code?
Fri Aug 31 2007, 02:51 pm
#25
Don't forget to test the code on the hardware.. and for three levels.. i think appropriate values can be..
Low: 30
Medium: 150
Fast: Switch ON the fan.. and stop the timer..

The next thing you can do is.. writing a code for 7-segment Display..
Fri Aug 31 2007, 03:03 pm
#26
thanks,how to try on hardware?we need complete all the code only can insert into the 8051 microcontroller,right?then only can test,right?And how should i set all those value into the pwm code?
Fri Aug 31 2007, 03:14 pm
#27
i mean just try fan part.. check if PWM is working or not..
i mean to say... check if by putting the value.. are you getting a varying voltage or not.. that is what i meant with checking.
program once with first value and note the voltage o/p with a multimeter
then again program with second value and note the voltage.
then third.. and note the voltage..
In all three cases you should have a varying voltages. if that is coming then one module is ready.. then go to second part of your board.
Fri Aug 31 2007, 03:43 pm
#28
1)the code just now to set the ADC rite???what is the effect to 8051 and how that code function??
2)...i need to set 8051 to set for my fan to work rite?.what is the code that i need to make my 8051 get data from ADC??

Fri Aug 31 2007, 03:44 pm
#29
Hariz.. please create your own topic.. or i get confuse answering you both.. this topic is for cenadius.
Fri Aug 31 2007, 10:41 pm
#30
AS shown in the schematic,if i wan set when i press sw2,the fan will run at low speed;when i press sw3,the fan will run at medium speed;when i press sw4 the fan will run on fas speed,so how i need to modified the sample code u give to to get the output like this?And can i do such that after i press sw2 then press sw3,it will automatic reset sw2?
 hariz like this.

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