Society of Robots - Robot Forum
Software => Software => Topic started by: monsieurpo on November 15, 2010, 08:17:34 PM
-
can someone tell me how can i control a servo via bluetooth or an axon just like the Admin ERP i want to understand what will i need (servos,axon,antenna etc...)and please can someone help me to find a source code because i dont know how to code (im learning c++)
thank you
-
is that possible that one of you help me doing the programation?
-
you will need something to send the bluetooth like a computer or even a phone, something to receive the bluetooth like a BlueSMiRF, something to understand the command and control the servos like an axon.
You will need to connect your BlueSMiRF to the Axon using one of the UARTs (plenty of tutorials around) then configure your Axon to read information from the UART.
-
i have a computer but how do I program that? :-[
-
First of all you will need a microcontroller. There are many threads on SoR about peoples preferences. I use an Axon II but you should choose the microcontroller thats right for you.
I would forget about the bluetooth for now, it will be easy to add later once you are more familiar with programming and robotics.
I would also get a pair of servos (you can opt for motors and a motor controller instead if you prefer). If you buy servos, you will need to purchase continuous rotation servos or modify them yourself.
With servos (or motors + controller) and microcontroller in hand, I would first work on learning how to control the servos for some basic movement. For example: forward, reverse, right, and left. Next I would work on controlling the motors with UART through a USB cable connected to your computer.
Once you are comfortable with this, it would be time to consider wireless control such as with bluetooth.
-
i have a computer but how do I program that? :-[
No need to program it. Just like in Admin's video you can use a program called Hyperterminal in windows and it will let you send keyboard strokes over bluetooth, if you set it up right.
I have to agree with knossos, first get the basics working then worry about bluetooth later.