RN-42 Bluetooth Module
This module provides a very simple way to replace a serial cable connection with a Bluetooth Serial Port Profile (SPP) connection.
Hello World
Import programRN42-HelloWorld
Hello World program, looping back serial data over RN42 bluetooth
Pinout
Notes
As well has having a good set of features accessible via an AT-style command set, one great feature is that out of the box, it is configured to be a serial port host listening for an incoming serial port request. This means that immediately, without any configuration, you can pair the RN42 with a Bluetooth enabled computer, and have a 115200-8-N-1 serial connection.
Connectivity
RN42 Pin | mbed Pin |
1 - GND | GND |
11 - VDD | Vout |
12 - GND | GND |
13 - RX | p9 |
14 - TX | p10 |
28 - GND | GND |
29 - GND | GND |
Tech Specs
- Single 3.3v supply
- Good power consumption figure (typical)
- 26uA in standby
- 25mA - Idle Connection
- 40mA - Active connection
- Simple interface for serial cable replacement
- Power, Ground, Tx, Rx
- Defaults :
- SPP, 115,200-8-N-1
- Bluetooth passkey "1234"