To test the module, I soldered 4 wires to the following pins:
- PIN1 (GND)
- PIN2 (3.3V)
- PIN6 (RX)
- PIN26 (TX)
I connected those pins, using a breadboard, to Arduino. As I’m working with a 5V Arduino, I had to connect Bluegiga RX pin to Arduino TX pin through a 2.2Kohm resistor, as you can see in ArduinoBT schematics.
For the following test, Arduino acts only as a usb->serial converter; I connected to ground its reset pin as explained here.
After having connected Arduino to your PC, you can talk to Bluegiga WT11 with a serial terminal using the following default parameters: 115200 baud, 8N1:
But first let’s configure the my laptop’s bluetooth module:
With a double-click show module’s properties:
Set the name and note the address:
With INFO command, you can get some details (iWrap version, module type…) from the module, while with INQUIRY 10 NAME you can start a discovery of the visible bluetooth devices with a timeout of 12.8s and retrieving also their names.
After a while, my laptop is discovered: