Looking to control a motor position using a variable resistor and Arduino uno - it is not a servo?

I am a Radio ham and want to upgrade my rotator to electronic control instead of switches see http://www.qsl.net/zl1bpu/MICRO/ROTATOR/KR-400%20Schematic.gif as to what im trying to control - Need to create a c  programming type to make it simple

sort by: active | newest | oldest
What do you mean by "electronic control" in this context ? The link you posted, you have a display, and manually adjust the position to get the position you want.

If you want to aim and forget, you have a servo.

Steve
m8 (author)  steveastrouk5 years ago
Im aiming to control it eventually using Arduino Uno and USB port Its just Im trying to write a class in 'C' so i can say - go to a position in degrees and it translates it to a resistance to monitor for on an analogue port.

Also see http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/

Mike
steveastrouk m85 years ago
Neat project.

You may as well make it a servo then ! And you can use the arduino PID library to do it for you, except the final control is what we call "bang-bang".

You'd apply a fixed voltage to the feedback pot, and angle = measured volts/5 x 360 or somesuch.

Steve
rickharris5 years ago
Then you will need some kind of position feed back.

You can get 360 deg pots or look up grey scale sensors.

Depending on how accurate you want to be a set of reed switches round the antenna might be enough,

The right way to do this is to change your motor for a stepper motor then you only need to mark one home position and then count steps to your desired place.
m8 (author)  rickharris5 years ago
No the motor inside the rotator is a dual wound AC motor and has a pot that feeds back a resistance proportional to the direction.

Im aiming to control it eventually using Arduino Uno and USB port Its just Im trying to write a class in 'C' so i can say - go to a position in degrees and it translates it to a resistance to monitor for on an analogue port.

Also see http://www.geekshed.co.uk/bxf-azimuth-rotator-controller/

Mike