I’m attempting to establish a simple, bluetooth serial connection to my Arduino Uno + Itead 2.2 Bluetooth Module
I’ve reset the module to factory defaults using the AT command interface. Now the UART is Jumpered D5->TX, D4->RX, and the mode switch is set to DAT. From my Mac I am able to discover the bluetooth module and pair with it using the default pin(1234). OSX creates a tty serial device, which using CoolTerm it appears i am able to connect to properly ( once i click connect in cool term, the STATUS LED on the BT shield changes from rapid blinking to intermitent ).
However nothing comes through the terminal, not even garbage. I’m using the following code, to just create a software serial object and print.
I’m sure i’m missing some fundamental step to utilizing bluetooth + arduino, but i’ve yet to find a decently written how to.
Okay, i switched to NewSoftSerial with the same result. I selected 38400 because after sending AT+ORGL, the modules defaults to 38400, at least if i’m understanding the docs properly.
I Set the speed to 115200 with the same result however.
AT
OK
AT+UART?
+UART:38400,0,0
OK
AT+UART=115200,0,0
OK
AT+UART?
+UART:115200,0,0
OK
I know this is a old post, but it is the one I found when having a problem with the v2.2 board. So just in case it helps somebody else this code works on 1.5.2.