Society of Robots - Robot Forum

Software => Software => Topic started by: pambos on February 13, 2010, 02:16:55 AM

Title: Connecting axon ii to esc
Post by: pambos on February 13, 2010, 02:16:55 AM
Hi guys i'm a beginner to robot making.
I have an rc car and i want to control it via Matlab
Can  axon communicative with matlab via bluetooth?
I wonder if i can connect axon to an esc (electronic speed controller).
My esc is ESC TEU-101BK .
Title: Re: Connecting axon ii to esc
Post by: Admin on February 13, 2010, 07:04:41 AM
Quote
Can  axon communicative with matlab via bluetooth?
Yeap definitely!

Just like you can connect using Hyperterminal to manual enter commands, you can also connect with MatLab which will automatically send commands:
http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f105659.html (http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_external/f105659.html)

The code on the Axon side will be exactly the same, so just have MatLab input and output data across the serial (bluetooth) connection. If you google around, you'll find code examples.

Quote
I wonder if i can connect axon to an esc (electronic speed controller).
Incredibly easy. Use the servo code for the Axon, which tons of code examples exist, and plug in your ESC into that port as if it was a servo.