Tag Archives: bluetooth

Add Bluetooth to A13-OLinuXino-WIFI with MOD-BT

Image

 

To add Bluetooth connectivity to A13-OLinuXino is very easy with MOD-BT as both have UEXT connector.

To tune MOD-BT is a bit tricky though as by default on UEXT UART is conected the console so all console messages will go through MOD-BT and vice versa all messages from MOD-BT will go as commands to the console.

Here is the correct sequence to enable Bluetooth on A13-OLinuXino with MOD-BT:

1. Make sure you have ssh enabled

# /etc/init.d./ssh start

2. Reboot A13 WITHOUT MOD-BT

 

3. Connect via ssh

#ssh root@192.168.0.xxx

 

4. Disable the console to UEXT UART

#nano /etc/inittab
and comment "T0:23:respawn:/sbin/getty -L -a root ttyS0 115200 vt102"
then restart inittab
#init q

5. Connect MOD-BT to UEXT end enter the following commantds:

#echo AT+BTAUT=1,0 > /dev/ttyS0
#echo AT+BTSRV=1 > /dev/ttyS0

these commands initialize MOD-BT to enable Serial UART Bluetooth profile, i.e. from now on all input stream received by MOD-BT will be transmitted to the paired device and all messages received will be sent to the UART

this way you can use remote device to connect to A13-OLinuXino via Bluetooth COM port

 

6. On other PC or PHONE connect to MOD-BT and start virtual COM port

 

7. Enable again the console now which will be seen by the Bluetooth device


#nano /etc/inittab
Uncomment "T0:23:respawn:/sbin/getty -L -a root ttyS0 115200 vt102"
#init q

 that’s it now your console is again enabled but your MOD-BT is configured to send and receive the messages through Bluetooth Serial Port Profile to the paired Bluetooth device

Tagged , , ,

Adding Bluetooth connectivity to iMX233-OLinuXino-MAXI

Image

 

iMX233-OLinuXino-MAXI have UEXT connector, so it’s very easy to add Bluetooth connectivity with MOD-BT.

What you need is to copy the MOD-BT files from GitHub: https://github.com/OLIMEX/OLINUXINO/tree/master/SOFTWARE/iMX233/MOD-BT and to compile them:

you will build mod-bt executable, you should use it with these commands

# ./mod-bt –config 

to configure MOD-BT

after this command you can start and stop MOD-BT with these commands:

# ./mod-bt –start

and

# ./mod-bt –stop

when MOD-BT is started you can pair it to any device with Bluetooth, the default name is BGB203 and password 0000

once paired you can use the –transfer to send message to the paired device and –receive to receive message from the paired device.

you can use the code template to make your own code which interact with the bluetooth devices.

 

Tagged , ,

PIC32-PINGUINO NEW DEMO EXAMPLES UPLOADED

Image

PIC32-PINGUINO is Arduino like board which works with Pinguino IDE.

Several new demo examples are uploaded on our web https://www.olimex.com/dev/pic32-pinguino-otg.html

1. MOD-GPS demo example with our GPS module

2. MOD-CC2450 demo example with our low energy Bluetooth module (still not released on our web :) )

3. SHIELD-EKG-EMG demo example how to interface this shield to Pinguino and measure pulse and muscle activity

4. MOD-MP3-X demo example how to play MP3 files with Pinguino

5. Sending and receiving calls and SMS with MOD-GSM and Pinguino

6. Connecting to Bluetooth enabled devices with MOD-BT and Pinguino

7. Interfacing MOD-ZIGBEE-PIR with Pinguino

8. MOD-RTC real time clock interfacing with Pinguino

9. Reading 13.56Mhz RFID tags with Pinguino and MOD-RFID1365-BOX

all examples have readme.txt inside which explains the functionality

Tagged , , , , , , , , ,

CONTROL YOUR PINGUINO FROM ANY DEVICE WITH BLUETOOTH

ImageImage

New demo example is uploaded on PIC32-PINGUINO-MX220 web page which demonstrate how to add Bluetooth connectivity to Pinguino and control it with any device with bluetooth.

PIC32-PINGUINO-MX220 have UEXT connector which allow MOD-BT to be connected and easy to add bluetooth connectivity.

The demo code contain PDE sketch which pairs to bluetooth device and toggle the on board LEDs when ’1′ and ’2′ characters are received from the bluetooth device.

The demo code is at http://www.olimex.com/dev/DUINO/PIC32-PINGUINO-MX220/PIC32MX220_MODBT_Project.zip

Tagged , ,
Follow

Get every new post delivered to your Inbox.

Join 219 other followers