
Originally Posted by
daan.joubert
Hi Henrik,
Is it possible to use portion of the code on a RC servo which is connected to an externat 10k potentiometer.?
My existing circuit is driving an RC servo in the range of 1mS to 2mS, the servo pulls a throtle of an engine, to keep revolutions at 1500 RPM (50Hz). The engine is directly coupled to an alternator. The position of the servo is controlled by a voltage (F/V), form the alternator frequency and a 10k setpoint potentiometer. I use analog inputs on 16f88 to convert volt to value. I then subtract values from each other and send the difference to the servo. (simple calculation)
My problem is that the voltage conversion is not linear to the servo movement. The result is that servo movement is always too litlle in comparison of the set speed needed.
I was wondering whether I can use feedback in order to counteract the non-linear characteristic of the servo.
Bookmarks