by Doms » Tue Jan 26, 2010 3:26 pm
by Doms
Tue Jan 26, 2010 3:26 pm
Hi Bennet, hi Hamid,
this is Dorian form the Darmstadt Dribblers.
First of all congratulations on this very nice solution!
As you know, we are experiencing the same servo problems.
But we have not gone as far in modding as you have!
Our main focus is on improving the servo firmware.
But I have a question about your solution.
Since you are not modifying the firmware, I assume you are doing the 'calibration' on the sensor to make it's analog output signal 'emulate' the one of the original potentiometer.
My understanding of the original firmware suggests, that Robotis is calibrating an upper and lower limit of the ADC input for the 0 resp. 300 degree positions of the poti.
These limits typically are around 30 and 980 (if I recall correctly) reducing the available values to about 980 - 30 = 950.
Since the ADC of the Atmega8 is only 10 bits and the servo position is also reported in 10 bits (0..1023) the remaining 950 values of the ADC have to be mapped onto the 1024 values of the servo position.
From talking to Robotis engineers and some experiments I found that this mapping does not seem to be linear.
Have you made similar experiments? And what are the results?
How do you cope with the non-linear mapping in the Robotis firmware, since your new sensor is probably linear?
Thanks by the way for offering your solution to others!
Have you already though about a price for the modding?
We are very sorry to hear that we wont see you at the German Open!
So best of luck with your preparations for Singapore!
Cheers,
Dorian
Hi Bennet, hi Hamid,
this is Dorian form the Darmstadt Dribblers.
First of all congratulations on this very nice solution!
As you know, we are experiencing the same servo problems.
But we have not gone as far in modding as you have!
Our main focus is on improving the servo firmware.
But I have a question about your solution.
Since you are not modifying the firmware, I assume you are doing the 'calibration' on the sensor to make it's analog output signal 'emulate' the one of the original potentiometer.
My understanding of the original firmware suggests, that Robotis is calibrating an upper and lower limit of the ADC input for the 0 resp. 300 degree positions of the poti.
These limits typically are around 30 and 980 (if I recall correctly) reducing the available values to about 980 - 30 = 950.
Since the ADC of the Atmega8 is only 10 bits and the servo position is also reported in 10 bits (0..1023) the remaining 950 values of the ADC have to be mapped onto the 1024 values of the servo position.
From talking to Robotis engineers and some experiments I found that this mapping does not seem to be linear.
Have you made similar experiments? And what are the results?
How do you cope with the non-linear mapping in the Robotis firmware, since your new sensor is probably linear?
Thanks by the way for offering your solution to others!
Have you already though about a price for the modding?
We are very sorry to hear that we wont see you at the German Open!
So best of luck with your preparations for Singapore!
Cheers,
Dorian