The first issue is when I asked for this program I was under the impression that the servos required about double the range. So I asked for the values that the servo programmer put into the servos if the servos were programmed following this tutorial. lynxmotion.com/images/html/build100.htm
However I now know a standard digital servo actually has about 130ư ish righ out of the box. So, the pulses accepted by an off the shelf digital servo is more than I thought. They may have changed it, or I may have misunderstood something back when I was first working with the programmer. On my test servo it was 748uS min and 2238uS max. Going just 2uS more in either direction resulted in the servo ignoring the pulses.
Looks like the Atom Pro servo programmer needs a little less expansion. I mean why double it if the servo can see a 748uS to 2238uS range. To prevent any servos from not responding to an out of bounds pulse perhaps a 755uS to 2230uS range would be more conservative. Just need to alter the servos firmware make sure 180ư range is achievable. So, ribbotson, can you help?
Hmm, interesting code. I understand how it works, just donāt understand the hex values. Very nice stuff though. Good job jim. Canāt wait for someone to try this out.
True, you still need to press a few buttons to download the code but you dont need to twist any knobs!
That brings to mind an important point. Untill we work out the exact values to send to the servo best not āexperimentā with them. Let the guys who have the programmer work it out first. If you write the contents with the wrong value the servo may become unresponsive. The Hitec programmer can reset everything to factory defaults, and thus repair a screwed up servo, but if you donāt have the Hitec programmer it could be bad.
I know, thats why I am not trying it out Gunna let the pros figure it out first. I donāt want to risk a $55 servo. Hmmm, if it is possible to do it through a Basic Atom, why didnāt Hitec tell us? Or at least tell us the values. Damn greedy big companies. Always want money =/
Hi-Tec is not affiliated with Basic Microās Atom chips, which is what is being used to do this. Thatās why they have not made any mention of this I would assume.
plus if they came out and said it, published the data, it would imply some sort of support which they wouldnāt necessarily be getting paid for so⦠itās just not a win-win thing for them to do.
you know if there is a way to write this information out to the digital server. Why couldnāt there be a way to read the default information and store it some place. unless it is a limitation of the Bot board.
Oh I can see having to learn the Basic even with trying to avoid it
but before I attemt any of this I know I need a better understanding of the servos and the Basic used.
Are there any more updates to this post? Iām playing around with a 5645 right now and I need it to go to 180. Iām hesitant to play around with it lest I corrupt it.
I will see if Acidtech can join this thread to help out. He is the one who did it originally. Iām not sure which IDE he used, but it does use the Atom Pro processor.
The servo programming basic file has a routine in it to dump the contents of the servos eeprom. Iāll need you to post that for your servo in order to determine what values will need to be modified.
I was thinking of using the BAP to reprogram the 5645 but I dont want to mess it up. Has anyone done this yet using the BAP? I might just use the 5645 as is to be safe.
Nathan at Basic Micro is the only one who can help with this. The code he originally wrote was using an old version of the new Pro IDE. I have no idea if it will still work with the changes he has implemented in the new IDE. [email protected]
Thank you for taking the time to speak with me yesterday.
Iāve read this post as you suggested and garnered the following understanding:
Programming Hitec Digital Servos requires a programmable computer/micro controller that is capable of serial I/O at 19.2K baud, 8-bits, 1 stop bit, no parity.
A hardware interface is required that multiplexes the serial data stream into and out of the servoās signal line. The Hitec Digital Servo document details this interface for a PC. The Basic Atom Pro (BAP) code sample you referenced sets the BAPās P0 and P14 port characteristics so that they act as a multiplexor for serial I/O to the servo.
The BAP code sample you referenced sets the BAP up to program a specific set of values that extends the servoās range of operation from the factory default to a full ±90 degrees. The values used in the program have been extracted from a servo after it was set up using the Hitec HFP-10 Digital Servo Programmer.