Does HPWM affect PULSOUT?
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.
Re: Does HPWM affect PULSOUT?
Hi,
There are no links beetween both ... so, the issue is elsewhere.
I would, @ first, suspect
1) your Pic Osc if you use the external RC mode ... ( voltage dependant ! )
2) your servo response versus supply voltage ...
3) some glitches here and there ... that disturb 2)
Alain
PS: I note the servo is out of its normal rotation range ... sooo, verify linearity/ signal at both travel ends ... as a function of supply voltage.