Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
Can you define your requirements?
Point to point or point to multi point?
I also use XBee version 1 with my Axon2 and it works fine.
Does this help?
For a hexapod control or any other robot you will need to invent a communication command protocol. Part of doing this is to decide how much direct control you wish to have of each motor (servo) in your bot. You could have this wireless link only cover high-level commands like "Go forward" or even "Go to the light", in which then the on board processor reads the sensors and controls each of the servos to accomplish the goal of the command.
You have to write routines like forwards and backwards that go on the axon and then your main routine gets data from your pc on what to do. so e.g. 1 = forwards 2= backwards 3= turn around, so to make the robot go your computer sends the data byte 1, the axon receives 1 and calls the forwards function which takes care of the low level stuff and moves your bot forwards. I hope that helps and you can also read admin's tutorial on uarts and bluetooth.(Not quite the same if you are using xbee but the same concept)
The explanation was great, thanks a lot. You seem to be a >>PRO<<
The docs are here: http://www.hexapodrobot.com/products/electronics/p.Brain-HexEngine.html[/url]
If you can solder small SM components then this protection circuit can be changed so that it will work with the Axon. When you get the parts and start working with them start a thread here (or continue the XBee-Axon thread) for modifications.