HC06 Bluetooth sensor is a device to communicate with other bluetooth device. This project will show how to send a character from an Android bluetooth app to Arduin serial monitor window.
Step 1: Install latest Arduino IDE (If you have Arduino IDE, please skip this step). Download Arduino IDe from https://www.arduino.cc/en/Main/Software?setlang=en , then install the software.
Step 2: Download sketch code into your computer.
Step 3: Open Arduino IDE -> click file -> click Open -> choose code “hc06.ino”, upload the code into your Arduin (Note: Please don’t connect HC06 bluetooth sensor with UNO board when you upload the code)
Step 4: Choose corresponding board/port for your project,upload the sketch to the board.
Step 5: Connect the HC06 bluetooth sensor to arduin as per following graph:
Step 6: Download Bluetooth Control app and install it into your android cell phone or other android device.
Step 7: Turn on Bluetooth switch of your android device and pair device “HC06” in setting page. Use the default passcode “0000” or “1234”.
Step 8: Open the APP and select the “HC06”. When type a character “a” in android app, you will see character “a” showing on the arduin serial monitor.
DownLoad Url osoyoo.com
You must be logged in to post a comment.
If the printing on the back of the HC06 module is correct, this schematic is bad – Uno uses 5v levels, the HC06 uses 3.3. This means that you will need to put a resistor voltage divider or resistor/zener level converter on the HC06’s receive line or the 5v level from the Uno will destroy the HC06.
We’ll re-confirm the graph
It depends on the breakout board you have. The JY-MCU v1.02 version of HC06 pictured is 5V tolerant on TX/RX pins. The ZS-040 version I got with the the 20 in 1 sensor pack is only 5V tolerant on the VCC. Reading up on the ZS-040, 5V on the RX will work only for a short time and will damage components, and eventually burn out the RX.