Discussion in "Project Help" started by    cenadius    Aug 19, 2007.
Thu Aug 30 2007, 03:39 PM
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, 01:49 AM
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, 07:46 AM
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, 08:45 AM
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, 09:21 AM
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, 09:33 AM
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, 09:44 AM
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, 10:13 AM
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, 10:14 AM
Hariz.. please create your own topic.. or i get confuse answering you both.. this topic is for cenadius.
Fri Aug 31 2007, 05:11 PM
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


Powered by e107 Forum System


Wed Jan 22 2020, 06:16 PM
I m getting errors while simulation process during interfacing socket output and lcd... Can i get the report of ur project which is same as us.
Tue Jan 14 2020, 07:08 AM
shubham kharade
when i am trying to simulate the program in Proteus 8 professional, I am getting some errors as cannot find module file dhtxx.md can u help me
Tue Dec 17 2019, 01:44 PM
hello..i am programming industrial timer using 8051 with 24lc64 eeprom. i have query in storing the 3 diff value in eeprom with enter button. can anyone share c code ?
Tue Dec 17 2019, 10:30 AM
Hello. Can anyone share the code in Bascon and scheme in Proteus?
Thu Nov 21 2019, 12:30 PM
how to interface 8051 microcontroller with NRF24L01+ module
Sat Oct 12 2019, 10:23 PM
Log in.. then post your code in the 8051 forum
Sat Oct 12 2019, 10:18 AM
Bhadra Sajikumar
i am doing a countdown timer with 8051 for my project, unfortunately our professor had to take a leave of absence before he could teach us most of it.. can someone explain the .asm code of it for me?
Mon Sep 23 2019, 07:37 AM
I am doing a project for my schools wireless security system with cameras,sensors and spot lights using 8051 micro controller, could you help me out with the design and its source code.
Wed Sep 18 2019, 08:48 PM
Caryn Kover
Thank you for your time,
Mon Aug 05 2019, 07:09 PM
@Ismail ..post in forum, give details



Sat Jan 25 2020, 12:09 PM
Thu Jan 23 2020, 11:47 AM
Sun Jan 19 2020, 02:13 AM
Sat Jan 11 2020, 10:42 AM
Tue Jan 07 2020, 06:53 PM
Tue Jan 07 2020, 12:42 PM
Sun Dec 29 2019, 05:54 AM
Fri Dec 27 2019, 06:14 PM


Guests: 49, Members: 0 ...

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

Members: 38118
Newest member: wounder
Forum Activity
ExperimenterUK Avatar
Posted By ExperimenterUK
Sun Jan 26 2020, 04:05 AM
For a 12MHz crystal using a normal divided by 12 c...
wounder Avatar
Posted By wounder
Sat Jan 25 2020, 12:14 PM
I have a 8051 micro controller ,it has timer0,1,2,...
brucewilliams20 Avatar
Posted By brucewilliams20
Sat Jan 25 2020, 08:25 AM
Also, does anyone knows a platform where I can liv...
brucewilliams20 Avatar
Posted By brucewilliams20
Sat Jan 25 2020, 08:17 AM
Hi Mirza,That match and the politics, both are fin...
ExperimenterUK Avatar
Posted By ExperimenterUK
Fri Jan 17 2020, 10:24 PM
We will need the circuit diagram.A Proteus simulat...
Billz Avatar
Posted By Billz
Sat Jan 11 2020, 05:43 PM
hi everyone please attached files are my c code fo...
ExperimenterUK Avatar
Posted By ExperimenterUK
Tue Jan 07 2020, 08:18 PM
Not a stupid question.Setting up "Eclipse" can be...
elt Avatar
Posted By elt
Tue Jan 07 2020, 07:06 PM
So i have just began learning programming micros a...
Billz Avatar
Posted By Billz
Mon Jan 06 2020, 09:22 PM
I think it would be better if you guys try to come...
ExperimenterUK Avatar
Posted By ExperimenterUK
Mon Jan 06 2020, 12:22 AM
Can you post a circuit diagram and any code you ha...