castlerocks
New Member
Dear all,
I seem to have a problem with running an infrared controlled device (20x2-based) that, among other things, has to control two servos for a crossing gate. I have previously done this with a separate 08M2 running each gate, but for various reasons this is not available for this project. With irin command in the code, the servos are jittery which causes a disaster in a delicate installation like mine. With irin out of the code, servos run reasonably fine after some 1500uF decoupling was added here and there .
I believe, the problem is irin and servo are using the same timer or some timer related setup registers. I have shifted timers around before, but for hpwm and pwm commands. What would be a way to do this?
Thank you all for your time,
Edmunds
I seem to have a problem with running an infrared controlled device (20x2-based) that, among other things, has to control two servos for a crossing gate. I have previously done this with a separate 08M2 running each gate, but for various reasons this is not available for this project. With irin command in the code, the servos are jittery which causes a disaster in a delicate installation like mine. With irin out of the code, servos run reasonably fine after some 1500uF decoupling was added here and there .
I believe, the problem is irin and servo are using the same timer or some timer related setup registers. I have shifted timers around before, but for hpwm and pwm commands. What would be a way to do this?
Thank you all for your time,
Edmunds