High Quality 4 Pin HC-06 Wireless Module RF Module Serial RS232
Features:
Allows your device to both send or receive the TTL data via wireless technology without connecting a serial cable to your computer. Just power, ground, rx, tx and you can send data to/from Audio
Works with any USB wirelessadapters
Default Baud Rate: 9600,8,1,n default passcode: 1234
Built in antenna
Coverage up to 30ft
Specifications:
version | V2.0 + EDR |
Operating voltage | 3.3V |
Default Baud Rate | 9600,8,1,n |
Signal coverage | 30ft |
Item size | 4.3 x 1.6 x 0.7cm (board length 3.75cm) |
There are many different ways to connect these HC-0x Audio modules.
Some involves using libraries to communicate with the modules using Software Serial connections to enable you to still program (send sketches) to the UNO without having to unplug the wireless module.
The tradeoff is that if you use these methods you lose some Pins on the UNO which are then used to connect the module.
Instead, we will just disconnect the wire on Pin 0 of the UNO when we want to program it.
This way we can connect the module to the default Pin 0(RX) and Pin1(TX) and still have all the other pins available to play with.
As you can see in the schematic above, we are using some resistor (470Ω and 680Ω) to drop the voltage of the UNO TX pin from 5V to around 3V.
This is important since the HC-06 uses 3.3V logic and using the default 5V of the UNO would damage the module.
Also we power the module using the 3.3V from the UNO not 5V, even if the HC-06 supports up to 6V.
From our testing we noticed that if powered from 5V the ‘Get Data’ window on the ArduDroid app would not work properly.
Photos