Pages: [1]   Go Down
Author Topic: Programming a bluetooth module  (Read 1861 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 6
Posts: 229
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hey,
I found a while ago that bluetooth modules have general I/O pins on them. They aren't usually connected to anything but I've read that they can be used.

The question is... how do you programme a bluetooth module ? It isn't really explained in the datasheets



Datasheer of btm222 module -> http://www.kamami.pl/dl/btm222_datasheet.pdf


That got me thinking... if there are general purporse I/Os can I programme the module and use it without a microcotroller (as it apparently has a mircocontroller on board anyway)?
That would be great for wireless sensors or applications that require to switch a few relays.
Logged

Denmark
Offline Offline
God Member
*****
Karma: 15
Posts: 760
Please don't send questions as PM!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You need a SDK from the manufacturer of the BT Chipset, in your case CSR, it's an extremely expensive piece of software, and you need a programmer too.

The bluetooth chip contains an ARM core, and you program it with a C-compiler built-in to the SDK from CSR. E.g. it's the same chip in a bluetooth keyboard, headphones, mouse, serial-dongle etc. It's just the program running on the ARM processor that is the difference.

There's a bit of reading here:
http://hackaday.com/2012/01/30/firmware-programmer-for-a-cheap-bluetooth-module/

// Per.
Logged

0
Offline Offline
Full Member
***
Karma: 6
Posts: 229
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

heh thx for the reply I found that thread on hackaday like half an hour before your post. I found a datasheet that suggest one can switch the pins usingt AT commands but I haven't tested yet whether it works with my module

http://elecfreaks.com/store/download/datasheet/Bluetooth/HC-0305%20serail%20module%20AT%20commamd%20set%20201104%20revised.pdf
(page 11)
Logged

Pages: [1]   Go Up
Jump to: