Arduino Projects    |   Raspberry Pi  |     Electronic Circuits   |    AVR    |    PIC    |    8051    |    Electronic Projects

AVR ATmega16 interface with bluetooth

10 posts / 0 new
Last post
Siddh26l
siddh26l's picture
Offline
Joined: 01/03/2011
Posts: 6
Points: 1650
AVR ATmega16 interface with bluetooth

hi friends,

         I want to interface bluetooth module to atmega 16..

please help me if anyone has used any bluetooth module ..
 
 
dagakshay
dagakshay's picture
Offline
Joined: 10/10/2010
Posts: 560
Points: 170695
can you send the specification of your bluetooth module.. any link or data sheet...
i never used it but tilll where i know it uses a serial string formate 
Siddh26l
siddh26l's picture
Offline
Joined: 01/03/2011
Posts: 6
Points: 1650
 hi dagakshay,
    i m still studying bout bluetooth working..have no idea bout which BT module wil suit best for atmega16..
have found following BT ic datasheet links..


http://www.atmel.com/dyn/resources/prod_documents/doc4549.pdf

http://www.atmel.com/dyn/resources/prod_documents/doc4533.pdf

http://www.datasheetdir.com/LMX9838+Bluetooth

dagakshay
dagakshay's picture
Offline
Joined: 10/10/2010
Posts: 560
Points: 170695
 you told you want to use bluetooth module... what exactly is your project????

see i never worked on bluetooth yet so must give me some idea so that i can search how to do that.... from where you got the bluetooth module and the links you have given to me: 
i went through the i went through the national semiconductor one LM9838 blue tooth serial port module
http://www.national.com/ds/LM/LMX9838.pdf

you can use that i just required a serial interfacing to exchange the data which will be very easy....
i don't know about the rest two...

my advice (if you havn't got them yet)... please go through every details of that part, see the compatiblity, see weather you can easily interface it collect all the materials and then order it..... do complete all the home work first before you order it.....
Siddh26l
siddh26l's picture
Offline
Joined: 01/03/2011
Posts: 6
Points: 1650
thanks, wil definately  look into details u suggested..
not finalized my project yet..
m planning to make a robo car which wil be interfaced with AVR n controlled via cel phone BT ..
its just tht i want to try some thing different..do suggest if got some better idea..
i got this link for BT based smart home..
All i knw bout BT is how it works..

 
http://www.avrprojects.info/avr-projects/bluetooth-based-smart-home/
dagakshay
dagakshay's picture
Offline
Joined: 10/10/2010
Posts: 560
Points: 170695
hey even i was just on to do that but just because of my schedule not able to do  so... all d bst for the project.. let tell me know if i can do some thing.... 
niraj shivaji kale
nirajkale's picture
Offline
Joined: 27/06/2012
Posts: 1
Points: 5

 

hey ,

im working on same kind of project . im using aubtm-20 bluetooth module to interface with atmega16..

im gonna use android app to send strings to module.

can you help me with code for microcontroller ?

AJISH ALFRED
ajishalfred's picture
Offline
Joined: 10/01/2012
Posts: 1374
Points: 6500

 

Hi Niraj,

The coding required to interface the bluetooth module is nothing more complex than the code for serial interfacing. Initialize the uart for the baud rate of your bluetooth module, enable reception and read the data from uart register. Try it, and update here if you face any problem.

Marek Krzyzowski
MrHIDEn's picture
Offline
Joined: 29/10/2012
Posts: 1
Points: 5

Does this uart-bluetooth connection work both way?

Siddharth Boobna
sid_825's picture
Offline
Joined: 11/04/2013
Posts: 2
Points: 5

Hi,

I am using AUBTM-20 bluetooth module with atmega16 microcontroller...however, the data that is being sent on the module through phone is not received by the microcontroller..When i connect the module to the PC via terminal, i receive the data..i think the module is not forwarding the data it receives, to the microcontroller..for the microcontroller code, i have initialised the uart and reading data from the uart pin..but it does not receive any data there...what might be the problem? can some1 help? i have to finish this project in another week

Login or register to post comments
You are here