helloo
- 5th April 2011, 11:59
Hey there,
I wonder if the HPWM signal affects somehow the PULSOUT command? I connected a servo and motors to a 16F876. The motors are driven by HPWM, the servo by PULSOUT. Now, if the motors turn faster (longer HPWM pulses), the servo moves a bit more clockwise. If the motors turn slower (shorter HPWM pulses) the servo moves more counterclockwise.
For everyones fun, here the application: A autonomous vacuum cleaner robot. At the end of the video you can see what I mean.
http://www.youtube.com/watch?v=uJ9svB5QiE8
It's in a prototype state. Next task will be the vacuum motor, the dust compartment and the brushmotor.
I wonder if the HPWM signal affects somehow the PULSOUT command? I connected a servo and motors to a 16F876. The motors are driven by HPWM, the servo by PULSOUT. Now, if the motors turn faster (longer HPWM pulses), the servo moves a bit more clockwise. If the motors turn slower (shorter HPWM pulses) the servo moves more counterclockwise.
For everyones fun, here the application: A autonomous vacuum cleaner robot. At the end of the video you can see what I mean.
http://www.youtube.com/watch?v=uJ9svB5QiE8
It's in a prototype state. Next task will be the vacuum motor, the dust compartment and the brushmotor.