Author Topic: Bluetooth controlled robot  (Read 2053 times)

0 Members and 1 Guest are viewing this topic.

Offline garriwilsonTopic starter

  • Supreme Robot
  • *****
  • Posts: 345
  • Helpful? 0
Bluetooth controlled robot
« on: September 12, 2014, 01:58:40 PM »
Hey guys,

I've been reading up on UART and bluetooth on the forum and the tutorials and I have some questions.

So this is the general idea that I got of how Bluetooth UART would work:

Computer/Phone <--> USB <--> Bluetooth ~~~~ Bluetooth on robot <---> Tx and Rx to microcontroller

I've seen in the tutorials and explanations on how to get data or messages to print from the robot to the computer. What I'm interested is in sending signals the other way, from the computer to the robot to control its movements. How would I do that? Ultimately I know that the signal from the computer would reach the Tx and Rx pins on the microcontroller, but what would the signal be? Is it digital 0 and 1? Can it be analog 1-255? Or can you send actual C code to the microcontroller for it to perform? And what on your computer would you use to send a signal to the robot? Is it HyperTerminal?

Also, what is the difference between these?

https://www.sparkfun.com/products/10938
https://www.sparkfun.com/products/10823
https://www.sparkfun.com/products/11601

The first one looks like what I need, just Tx/Rx pins and Power/GND.  But what's  the difference between a bluetooth modem vs module?

Thanks!

Offline garriwilsonTopic starter

  • Supreme Robot
  • *****
  • Posts: 345
  • Helpful? 0
Re: Bluetooth controlled robot
« Reply #1 on: September 12, 2014, 02:34:26 PM »
Or does UART basically allow you to run a code from your computer and the microcontroller receives and executes it through its Rx and Tx terminals? That seems too easy/useful/magical to be true

 


Get Your Ad Here

data_list