tamiya motor 3 volt

Discussion about projects that used PIC Microcontroller, Hardware Interface, Programming Algorithm and etc......

Re: tamiya motor 3 volt

Postby aswad » Thu Aug 15, 2013 10:34 pm

the frequency is about 19.6khz, use 1 prescale. Ccp1 and ccp2 use timer 2 to generate pwm.
One more, why if i measure the voltage to motor is 5 volt if i dont connect the motor and its fall to 3 volt if i connect it?
It have diode right to protect the oppose current.
Then, its same right 5v dc motor compare with 3 volt motor?
aswad
Novice
 
Posts: 23
Joined: Sun Apr 08, 2012 10:30 am

Re: tamiya motor 3 volt

Postby yonghui » Fri Aug 16, 2013 11:54 am

the frequency is about 19.6khz, use 1 prescale. Ccp1 and ccp2 use timer 2 to generate pwm.
One more, why if i measure the voltage to motor is 5 volt if i dont connect the motor and its fall to 3 volt if i connect it?
It have diode right to protect the oppose current.
Then, its same right 5v dc motor compare with 3 volt motor?



how do u measure? using multimeter?
i think when u connect the motor. the motors start rotate and causing the voltage to fluctuate. if u measure with multimeter, multimeter will take the average voltage which will be lower.

if u have a oscilloscope u can verify your PWM signal with different duty cycle.
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Re: tamiya motor 3 volt

Postby aswad » Fri Aug 16, 2013 5:03 pm

Measure? I just calculate based on prescaler 1, 255x200 nano= 51micro sec=19.6khz
aswad
Novice
 
Posts: 23
Joined: Sun Apr 08, 2012 10:30 am

Re: tamiya motor 3 volt

Postby yonghui » Sat Aug 17, 2013 1:28 pm

i mean measure the voltage using what?
the frequency can be verified with oscilloscpe.
if you dont have one mayb u can try use pickit 2/ uic00B as logic analyzer:
http://ww1.microchip.com/downloads/en/D ... 0Guide.pdf
or refer cytron magazine volume 8 article on how to : http://www.robothead2toe.com.my/

the most important is you able to set different duty cycle for the PWM
thanks&regards,
yh
yonghui
Moderator
 
Posts: 732
Joined: Mon Sep 28, 2009 3:27 pm

Previous

Return to PIC Microcontroller

Who is online

Users browsing this forum: No registered users and 23 guests