Interfacing TinyAVR with bluetooth and passing message

attinybluetoothinterface

I'm looking into interfacing the TinyAVR micro controller (not sure which one will work yet) with a Bluetooth module either the CC2540 or the nRF8001. I want to have the TinyAVR micro controller use the Bluetooth module to send out a small message like 0xf for example, which my computer would then read and display on screen.

My goal is to see if I can make kinda a hardware echo. Is it possible to interface these two units? If they can be interfaced what is required to get this to work?

Best Answer

Connecting the two will be possible but those are both chipset level solutions and will require significant expertise in PCB design and firmware programming. Without sounding condescending it sounds like a beginner question so although they are more expensive you'd probably be better of with a module that offers a simple serial interface and won't require any PCB design.

An example of such a module is the RN42-XV Bluetooth Module from Sparkfun, I just picked that out as a quick example of one that is reasonably priced and should be easy to use. They and other suppliers have many modules along similar lines. For those you can connect using a UART and send serial commands to setup connections much like you'd do with a modem.

Another solution may be an Arduino BT board, I've never used one but Arduino boards typically have lots of example code to help you get started quickly.

Related Topic