Tuesday, July 28, 2009

How do you connect a bluetooth module to a microcontroller?

In particular, I am on Sparkfun.com and want to get the AVR ATmega168, the 28-pin development board, and the BlueSMiRF Gold class 1 bluetooth module. (I want to build a small tank robot that is controlled from my laptop - a serial cable would be a pain.)





How would I connect the bluetooth piece to the AVR? Also, does this set up a virtual COM port so that I could program the AVR wirelessly?





Just one more question: where could I find help in writing a user interface in C++ that allows controlling the proposed robot with an Xbox360 remote?

How do you connect a bluetooth module to a microcontroller?
You only need to connect the serial ports of the modules together. I think that it would appear as a virtual COM port. I don't know about this particular one but that is how it is often done. If you have the right bootloader on the AVR you should be able to reprogram the AVR.


No comments:

Post a Comment