Discussion in "General help Guidance and Discussion" started by    maxparveen    Feb 2, 2008.
Sat Feb 02 2008, 10:07 pm
#1
i m working on a pmdc motor controller(ratings- 36V,15A nominal)
i m using mosfet as chopper so i need pwm to control speed of motor.
pulse width is to be controlled by potentiometer .now my plan is to use adc808 to sense pot (since i m also using it to sense temprature speed and some other voltages) and use its output to change on time of pulse using a relatove delay. problem is that i m not able to monitor the things alongwith generating pwm . either i can generate continuous pwm or i can poll for other things.please help me. i can do this using two microcontrollers but it will be more complex i think so.
Sat Feb 02 2008, 11:50 pm
#2
Well i have a suggestion for you.. you are using POT to control speed.. so i think.. you don't need a microcontroller.. just use the POT with NE555 to generate a PWM. and rest temperature par you can use ADC and micro..
but still if you want to do both the things together.. then do it on time basis like.. read first channel and then read second channel and do things accordingly.. this can be done in mili Seconds, so there wont be any difference.. and PWM is interrupt based, you wont have any problem implementing everything together

PS: if you like then do share your project with us. I will have it on my site.

Get Social

Information

Powered by e107 Forum System

Downloads

Comments

KevinTab
Sun Apr 28 2024, 05:35 am
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