That works fine, but some applications may require changing the communication speed baud rate, the pairing code, the module name etc. The purpose of this tutorial is to cover the basics of setting up a connection between arduino uno and an android phone via bluetooth. This means a voltage divider is required to connect to a 5v arduino. This is very simple, in order to get into the at mode we have to follow a few simple steps and connecting the 5v pin to a variable pin of the arduino allows us to bring it high and low as we please.
My latest arduino project features bluetooth low energy ble communication. First look posted on october 4, 2014 i recently bought some hc05s and hc06. Arduino boards have no builtin ble capabilities so i was looking to add a ble module to my circuit. And there are three work roles master, slave and loopback at the. Learn how to use the arduino to program the hc05 and zs 040 bluetooth modules. The bluetooth module the zs040 is based on, the egbt046s, is a 3. Hc05 bluetooth rf transceiver module mod34 faranux electronics. Hc05 module is an easy to use bluetooth spp serial port protocol module, designed for transparent wireless serial connection setup. The program given below is the hc05 bluetooth module program. Learn how to use the arduino to program the hc05 and zs040 bluetooth modules. Hc05 wireless bluetooth serial transceiver module slave and master serial communication for arduino hc05 could be setted to master or slave by user. Hc serial bluetooth products consist of bluetooth serial interface module and bluetooth adapter, such as.
Now, before i slap the code here i want to take the time to explain why we are connecting the 5v of the bluetooth to pin 7 of the arduino. Hc05 bluetooth module is an easy to use bluetooth spp serial port protocol module, designed for transparent wireless serial connection setup. Arduino is a very popular entry level embedded electronics platform. When mcu has bluetooth salve module, it can communicate with bluetooth adapter of computers and smart phones. The arduino bt is a microcontroller board originally was based on the atmega168, but now is supplied with the 328p datasheet and the bluegiga wt11 bluetooth module details and datasheet pdf. They share the same breakout board as the zs040 but have different pins soldered between the bluetooth module and the breakout board and have a very different firmware. Jul 18, 2016 add bluetooth to your robotic projects. Dec 06, 2016 lately i am working a lot with arduino, which is a new field for me, hence fewer posts. To activate at mode on the hc05 zs040 modules pin 34 needs to be high on power up. Zs040 datasheet, zs040 pdf, zs040 data sheet, zs040 manual, zs040 pdf, zs040, datenblatt, electronics zs040, alldatasheet, free, datasheet, datasheets, data. At command mode allows you to interrogate the bluetooth module.
How to set at command mode for hc05 bluetooth module. Here the bluetooth module acts as an interface between our mobile and arduino board. Those are two popular modules that allow simple ble communication through a serial interface and are handy with arduinos and other hobby micro controllers. Connect arduino with computer using hc05 bluetooth module. The hc05 zs040 is a serial to bluetooth bridge module that allows for wireless communications between two microcontrollers or between a microcontroller and an android phone, laptop or desktop pc with bluetooth capability.
Serial port bluetooth module is fully qualified bluetooth v2. Martyn currey mostly arduino stuff hc05 and hc06 zs040 bluetooth modules. Configurar arduino con modulo bluetooth hc05 youtube. In a previous post i shared my notes on how to connect an arduino to an android phone using the the popular and cheap hc06 bluetooth module. Arduino and hc05 bluetooth module tutorial youtube. Still im using two hc05 zs040 bluetooth module the hc05 has 2 at modes which i refer to as mini at mode and full at mode and. Hc05 bluetooth module provides switching mode between master and slave mode which means it. Jan 12, 2019 connect the hc05 with arduino like its shown in the upper circuit diagram. The zs 040 boards differ from some of the other modules in that they have a en pin rather than a key pin. After extensive research on several sites, i still cant e. Pulling the en pin on the hc05 low disables the module.
This process is quite different from others since we are going to use android mobile to control and communicate with arduino. This guide shows how to enter at command mode of hc05hc06 bluetooth module. Then there is a virtual communicable serial port line between mcu and computer or smart phone. Note that egbt045ms will work as well as a slave bluetooth device. This book takes the mystery out of using bluetooth for your robotic projects. Feb 29, 2016 in this arduino tutorial we will learn how use the hc05 bluetooth module for controlling arduino via bluetooth communication. This entry was posted in arduino, bluetooth and tagged arduino, at mode, bluetooth, hc05 by martyn.
This entry was posted in bluetooth, hacking and tagged baseboard, bluetooth, hc05, zs040. Modify the hc05 bluetooth module defaults using at commands. The arduino bt bluetooth is a microcontroller board based on the atmega168 and the bluegiga wt11 bluetooth module details and datasheet pdf. Master module can initiate a connection to other devices. I have just received some new hc05 and hc06 bluetooth modules. Figure 3 50 pieces chips in an antistatic blister package. Arduino bluetooth hc05 at commands not working stack. Once the circuit is made, you need to program the arduino to make it capable to send and receive the data. Hc06 bluetooth module datasheet and configuration with. In that example i used the bluetooth module with its default settings. Hc0305 embedded bluetooth serial communication module. Hc0305 embedded bluetooth serial communication module at. For this tutorial i made two example, controlling the arduino using a.
Its communication is via serial communication which makes an easy way to interface with controller or pc. And the hc06 module i tested had a bluetooth sign behind with three pcb footprints to confirm the device identity, you can power up the module, search for new device on your pc or mobile, and look for hc05 or hc06 on found device list. The role of the module master or slave can be configured only by at commands. It has 14 digital inputoutput pins of which 6 can be used as pwm outputs and one can be used to reset the wt11 module, 6 analog inputs, a 16 mhz crystal oscillator, screw terminals for power, an icsp header, and a reset button. Bluetooth test set computer fig 2 rf parameter test procedure rf port rf ip gpib com 1 rs232 spi lp1 shielding box. Smart phones pack a ton of cool features camera, accelerators, speakers, microphone, a nice screen to show data from your sensors, wifi adaptor that will make an excellent addition to a robot, or any other arduino project. How to connect an arduino uno to an android phone via.
Zs040 datasheet, cross reference, circuit and application notes in pdf format. Arduino with hc05 zs040 bluetooth module at mode martyn. Before getting into the execution process,follow the given procedure. The hc05 zs 040 is a serial to bluetooth bridge module that allows for wireless communications between two microcontrollers or between a microcontroller and an android phone, laptop or desktop pc with bluetooth capability.
Hacked zs040 hc05 baseboard zs040 hc05 bluetooth module baseboard connections, no key exposed. Software features cc2541 with tps62730 bluetooth v4. In this arduino tutorial we will learn how use the hc05 bluetooth module for controlling arduino via bluetooth communication. Make sure you read that article first as it provides important background for this curious update. Arduino with hc05 zs040 bluetooth module at mode posted on october 28, 2014 updated 19. I do not know if this is intentional but some commands only work when pin34 is high. The hc05 zs 040 and the hc06 zs 040 use the the same breakout board even have the same screen print but have some noticeable differences. April, 2011 hc05 embedded bluetooth serial communication module can be short for module has two work modes. May 25, 2014 in a previous post i shared my notes on how to connect an arduino to an android phone using the the popular and cheap hc06 bluetooth module. Hc0305 embedded bluetooth serial communication module at command set last revised. Zs 040 datasheet, cross reference, circuit and application notes in pdf format. There are several slightly different modules available. If it has jymcu written on the back, its probably a hc06.
The slave modules cannot initiate a connection to another bluetooth device, but can accept connections. It supports wireless serial communication over bluetooth but is not compatible with bluetooth headsets or other audio devices. Use the egbt045ms if your application must connect to a slave bluetooth device, such as with egbt046s. Connecting 2 arduinos by bluetooth using a hc05 and a hc06. Hc05 bluetooth rf transceiver module mod34 faranux. These were sold as zs040s which is the module i actually wanted but i received modules marked fc114. Hc serial bluetooth products user instructional manual. Bluetooth module hc05 master and slave two in one module use the csr bc417 mainstream bluetooth chip, bluetooth v2.
The hc05 zs040 and the hc06 zs040 use the the same breakout board even have the same screen print but have some noticeable differences. The hc05 bluetooth module and its siblings are by far the most popular and inexpensive bluetooth modules used for rf communications by microcontroller hackers. The zs040 boards differ from some of the other modules in that they have a en pin rather than a key pin. The hc05 zs 040 can act as both a slave and master device. Hc06 datasheet, hc06 pdf, hc06 data sheet, hc06 manual, hc06 pdf, hc06, datenblatt, electronics hc06, alldatasheet, free, datasheet, datasheets, data sheet, datas. The hc05 zs040 is a serial to bluetooth bridge module that allows for wireless communications between two microcontrollers or between a. Openhacks open source hardware productos bluetooth. Make sure that rx of the module should connect with the tx of the arduino and tx of arduino connects with the rx of module. The bluetooth devices in the market mostly are salve devices, such as bluetooth printer, bluetooth gps. Previously i covered the hm10 bluetooth low energy ble module and its clone, the cc41a. The hc05 zs040 can act as both a slave and master device.
421 888 802 66 505 982 688 137 629 1432 1227 630 1080 820 1228 606 1235 1236 754 1466 678 293 1114 140 52 1302 1005 758 818 1340 541 313 1027 37 478 914 370 954 848 1068 325