Linear Actuator Notes
Important from the AVR freaks http://www.avrfreaks.net/index.php?name=PNphpBB2&file=viewtopic&p=1030267 If I have to remove these contents against copyright please do leave a comment,I will remove it. All I wanted with this post was to accumulate all these to this page as I will not loose time pondering the internet for these data. Following are some extracts from the comment section of the AVR freaks : For a simple servo control we have to: Read the actual position Compare with demanded position Compute the error Add some deadband Tell motor to go fwd,rev or stop The longest part would be reading the adc, i would guess a total of 200us for each servo For the linear actuators, Get current position Compare with wanted position Tell motor to go fwd,rev or stop Encoder fires an external interrupt. Isr updates the current position and stops the motor when it hits the wanted position. Flat ...