How to Make Your Arduino Talk to Your Smartphone Through A Bluetooth Network

2022-01-20 SKYLAB

The Arduino has been widely common in projects where you have to make the communication without wire sensors, controllers and processors. low energy Bluetooth modules communication is already popular and common in several devices:

■ Smartphones

■ Tablets

■ Headsets

■ notebooks and others

It is one of the best options to implement wireless networks with Arduino.

Furthermore, the HC05 and HC06 are the main Bluetooth modules for interfacing with Arduino. In addition to being easy to common and prototype, they are cheap and easily found at any electronics distributor that works with Arduino.


In this post you will learn a little more about low energy Bluetooth modules, about the HC05 and HC06 modules, and SKYLAB will show you how to make your Arduino talk to your Smartphone through a Bluetooth network.

Low energy Bluetooth modules networks are the heart of IoT

Bluetooth technology is a protocol for radio communication for personal common, that is, it is a wireless network specification classified as PAN (Personal Area Network). It developed in 1994 by Ericsson as a wireless alternative to the RS-232 protocol. The frequency range common by Bluetooth is 2.4 to 2485 GHz.


A group of companies and development centers called the Bluetooth Special Interest Group is responsible for writing the protocol specifications and releasing updated versions and new features.


Protocols of low energy Bluetooth modules

The protocol comes under low energy Bluetooth modules communication emblem it must comply with all protocol specifications. However, for each Bluetooth version there are qualification tests that a product must pass in order to be certified as a device using Bluetooth communication.


Why adruino is popular as low energy Bluetooth modules?

Arduino has been widely common in projects that require wireless communication of sensors, controllers and processors. Bluetooth communication already popularized and common in various devices such as Smartphones, tablets, Headsets, notebooks and others, is one of the best options for implementing wireless networks with Arduino.


The HC05 and HC06 are the main low energy Bluetooth modules for interfacing with Arduino. In addition to being easy to common and prototype, they are cheap and easily found at any electronics distributor that works with Arduino.


The main versions of the protocol already released are:

The Bluetooth modules available on the market are divided into three classes, depending on the range and maximum power, they are:

■ Bluetooth  classes according to maximum power and range

Currently there are several manufacturers and Bluetooth modules, as well as software and applications available for free that allow the integration of this technology in your electronic projects.


Applications modules HC05 and HC06

The HC-05 low energy Bluetooth modules can work in both master mode (make and accept pairing with other devices) and slave mode (only accept pairing). The HC-06 module can only work in slave mode.


Communication voltage on the low energy Bluetooth modules

It is important to note that the communication voltage on the modules is 3.3V, that is, despite the power supply being 5V, the RX and TX pins common 3.3V signals to communicate. Thus, it is necessary to common a voltage divider to obtain 3.3 V from the 5V output of the Arduino TX.


Among the applications of these two modules are:

■ Transmission of sensor data;

■ Communication between two Arduino boards for data exchange;

■ Furthermore, data transmission to actuators;

■ Also, Arduino communication with Smartphone and other mobile devices;

Now that you know the main concepts behind Bluetooth and the HC-05 and HC-06 modules common with arduino, lets implement our first project using low energy Bluetooth modules communication.


Project Description of low energy Bluetooth modules

In this project we will show you how to interface an Arduino Uno R3 with your Android smartphone. Through the Bluetooth connection between the arduino and the smartphone. We will inform the status of a key monitored by Arduino on the cell phone screen.


Thus, there are three main dimensions of the project:

■ Establish Bluetooth  communication between the Arduino and the cell phone/tablet through an HC-05 or HC-06 module ;

■ Read the status of a key with Arduino and send it to the cell phone to be shown on the screen;

■ Send cell phone commands to Arduino so that it activates and deactivates a led;

Hardware Aspects of low energy Bluetooth modules

First of all, let's go to our list of components. You will need all of them to make this montage:

■ Arduino UNO R3 + USB cable ;

■ low energy Bluetooth  modules HC-05/HC-06 ;

■ A push button or protoboard retentive switch;

■ Also, Properly sized resistors for a 5V to 3.3V voltage divider;

■ Protoboard ;

■ Moreover, Cables for prototyping ;

■ A Smartphone android Bluetooth  SPP application installed;

■ 1 LED.

If you common an HC-05, the Bluetooth connection can be established either from the module or from the cell phone. If you choose the HC-06, you will have to make the pairing from the cell phone, as this module only operates in slave mode, and does not perform search and pairing operations by itself.


Hardware connections of low energy Bluetooth modules

For this project we are going to common the HC-05 module, which can be connected either in master or slave mode. The 6 pins of the HC-05 are well identified on the low energy Bluetooth modules and consist of the following:

■ State

■ Moreover, RX

■ TX

■ GND

■ +5V

■ Similarly, EN

The RX and TX pins are the module's communication channels. Furthermore, the module's RX must connect to the arduino's TX through the voltage divider.


Commands for low energy Bluetooth modules

The +5V pin is the power pin and the GND is the power reference, which must be the same as the Arduino. However, EN pin is common to enable the AT command mode of the low energy Bluetooth modules.AT commands are a set of commands that can be sent to the module through a serial terminal. These commands are common to configure the module and be able to talk to it.


Conclusion

For our assembly, we will use the RX and TX, +5V and GND pins. Now that the assembly is ready and the SPP Bluetooth tools pro app is installed on your mobile device, it's time to program the Arduino to talk to the low energy Bluetooth modules and pair the phone with our hardware.


授权代理商:世强先进(深圳)科技股份有限公司
技术资料,数据手册,3D模型库,原理图,PCB封装文件,选型指南来源平台:世强硬创平台www.sekorm.com
现货商城,价格查询,交期查询,订货,现货采购,在线购买,样品申请渠道:世强硬创平台电子商城www.sekorm.com/supply/
概念,方案,设计,选型,BOM优化,FAE技术支持,样品,加工定制,测试,量产供应服务提供:世强硬创平台www.sekorm.com
集成电路,电子元件,电子材料,电气自动化,电机,仪器全品类供应:世强硬创平台www.sekorm.com
  • +1 赞 0
  • 收藏
  • 评论 0

本文由天星转载自SKYLAB,原文标题为:What are low energy Bluetooth modules? Complete Guide,本站所有转载文章系出于传递更多信息之目的,且明确注明来源,不希望被转载的媒体或个人可与我们联系,我们将立即进行删除处理。

评论

   |   

提交评论

全部评论(0

暂无评论

相关推荐

Bluetooth Module Allows Players to Enhance Their Gaming Experience with Augmented Reality and Virtual Reality

This article aims to explore in depth the application of Bluetooth modules in wireless gaming devices and analyze their profound impact on the gaming industry.

技术探讨    发布时间 : 2024-09-30

Exploring the Power of BLE Modules: Revolutionizing Connectivity

At the heart of BLE-enabled devices lies the BLE module, a compact and versatile component that has revolutionized the way we connect and interact with our surroundings. In this article, SKYLAB will delve into the world of BLE modules, their features, and the limitless possibilities they offer.

技术探讨    发布时间 : 2023-10-13

BUILDING AUTOMATION Leading-edge IoT solutions for HVAC, fire/safety, building security, and lighting

型号- RTK0EE0007D02001BJ,RA FAMILY,ISL9122A,ISL9001A,FS102,RV1S2211A,EZ-0012,TPW-RL78I1A-1C,RA6E1,RX600,RZ/A,DK-S3A7,RA6T2,RA6T1,RA2L1,TPW-RL78I1A-2C,ISL3259E,RS-485,RX600 SERIES,SLG47105,PK-S5D9,ISL29501,ISL854XX,9FGV0441,DK-S7G2,RL78 FAMILY,RX72M,RX72N,RZ/N,RZ/G2L,RZ/G2M,RZ/G2N,RAA604S00,RA6 SERIES,RTK0EE0003D01002BJ,RZ/G,RZ/V,RZ/G2E,RTK7RL23LMP00000BJ,RZ/T,RZ/G2H,SGAS7XX SERIES,RL78/L12,RL78/L13,RA2 SERIES,ISL15102,RZ/T SERIES,RX72T,RX23T,TB-S3A1,RZ FAMILY,RL78/H1D,RA4M1,RTK0EE0009D02001BJ,RA4M3,RA4M2,ISL28113,RX23E-A,RX200 SERIES,AT25XX,RTK0EMX270S00020BJ,IW1816,TB-S3A3,RX23W,SLG46537V,TB-S3A6,ISL85415,RTK0EMX270S01020BJ,RX113,RX100 SERIES,ISL85412,OB1203,RL78/G10,RAA211605,RL78/G11,RL78/G12,RL78/G13,RL78/G14,ISL3174E,RL78,RX13T,RL78/G1A,RZ/A SERIES,RL78/G1C,RL78/G1D,RL78/G1F,RL78/G1G,RL78/G1H,DA16600,RX140,RL78/G1M,RL78/G1N,RL78/G1P,RL78/G23,FS1012,SGAS711,RX700,RL78/I1X SERIES,RX24T,RX24U,RX130,SL29501RZ-T7A,ISL80XXX,RL78/F12,RL78/F13,RL78/F14,RL78/F15,TB-S5D5,RS485,RZ/N SERIES,5P49V6965,RZ/V SERIES,RX200,RA6M1,RA6M3,RA6M2,RA6M5,RA2E1,RA6M4,RA2E2,DA14531MOD,ISL29501-ST-EV1Z,RX66T,RX66N,SK-S7G2,RX671,ISL9123,TPW-RL78I1A,FS102X,DA14531,RL78I1A,RL78/G13A,HS3001,FS2012,RZ/G SERIES,HS310X,ZMOD4410-EVK,ΜPD720210,R9A06G061,SDAH02,RL78/I1A,DK-S124,SDAH01,RL78/I1B,RL78/I1C,RX100,RAA223012,RL78/I1D,DK-S128,RL78/I1E,ISL3245XE,ISL80505,RAA223011,RZ/G2,RXV2,RXV3,RYZ014A,ISL8723,RTK0EE0009D01001BJ,HS300X,RL78/I1X,RS-422,RL78/D1A,RAA239101,DA7218,RL78/L1A,RX FAMILY,RL78/L1C,ISL3159E,RX24T/U,RA4E1,RA2A1,ISL6719,RL78/G SERIES,RX700 SERIES,RX631,ZMOD4510,RX231/0,SGAS7XX,RS485T/R,R5F10267ASP,RAA2116XX,RX65N,ISL6186,PS2561F-1,ISL29501-CS-EVKIT1Z,RAA78815X,RX651,RA2,ISL29501IRZ-T7,RA4 SERIES,RA4,RL78/G,RA6,ZMOD4410,ISL85033,RA8,R9A06G037,HS3101,RTK0EE0007D01001BJ,RX65N/1,IW3627,RA4W1

商品及供应商介绍  -  RENESAS  - 2022.12 PDF 英文 下载

HC0615□□□□L□-□□□ Shielded SMD Power Inductor SPECIFICATION FOR APPROVAL

型号- HC06156R8KL□-□□□,HC06152R2KL□,HC0615,HC0615100KL□-□□□,HC06154R7KL□-□□□,HC06151R5KL□-□□□,HC0615R68KL□-□□□,HC06151R0KL□-□□□,HC0615□□□□□□-□□□,HC0615100KL□,HC06152R2KL□-□□□,HC06151R0KL□,HC0615R47KL□-□□□,HC0615□□□□L□-□□□,HC06153R3KL□-□□□,HC0615R47KL□

数据手册  -  千如电子  - REV.20210115-F  - 20210115 PDF 英文 下载 查看更多版本

SpaceNXT™ - HC Series HC05 Series Fixed Attenuators

型号- HC SERIES,TS0504W3S,HCMXXXXXXW3S,HCM06XXXXS,TS0514W3S,TS0510W3S,TS0519,TS0518W3S,TS0518,HCM05XXXXS,TS0517,HCM01XXXXS,TS0516,TS0515,TS0514,TS0513,TS0512,TS0508W3S,TS0511,HC05XXW3S,TS0510,TS0500W3S,HCM01XXXXW3S,HC05XXXS,HCM03XXXXW3S,HCM05XXXXW3S,HCM10XXXXW3S,TS0513W3S,TS0509,TS0508,TS0517W3S,HCM,TS0507,TS0506,TS0505,TS0504,TS0503,TS0502,TS0501,TS0500,TS0507W3S,TS0520W3S,HCM SERIES,TS0503W3S,HC05XXS,HCM03XXXXS,HCM09XXXXS,HCM09XXXXW3S,TS0512W3S,TS0516W3S,HCM08XXXXW3S,HCM06XXXXW3S,HCM07XXXXW3S,HCM02XXXXS,TS0506W3S,HCM08XXXXS,TS0502W3S,HC05XXXW3S,HC05,TS0505W3S,HCM10XXXXS,HCM07XXXXS,HCM02XXXXW3S,HCM04XXXXW3S,HCM04XXXXS,TS0511W3S,HCMXXXXXXXW3S,TS0515W3S,TS0519W3S,HCMXXXXXXS,HCMXXXXXXXS,TS0509W3S,HC,TS0520,TS0501W3S

数据手册  -  SMITHS INTERCONNECT  - 2019/09/15 PDF 英文 下载

数据手册  -  WILLSEMI  - Version 1.1  - March 2024 PDF 英文 下载

74HC06 Hex Inverter with Open-drain outputs

型号- 74HC06,74HC06M/TR,74HC06N,74HC06MT/TR

数据手册  -  华冠半导体  - 2019-10-23 PDF 英文 下载

技术文档  -  TE CONNECTIVITY  - 2018/11/19 PDF 英文 下载 查看更多版本

Is there any tool for smartphones or tablets?

Yes. For serial communication sample software from LAPIS Technology, "BLE Tool" is offered. Refer to the link below as needed and download it to the smartphone/tablet terminal in use. Standard profiles support various services, including heart rate meter, thermometer, sphygmomanometer, blood glucose meter, environmental sensing, device information, and battery. https://www.lapis-semi.com/jp/semicon/telecom/ble.html#ble-tool "nRF Connect for Mobile", a smartphone/tablet app from Nordic can connect and communicate with Bluetooth Low Energy peripheral devices regardless of profiles. For details, please refer to the link below: https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Connect-for-mobile

技术问答    发布时间 : 2024-08-30

U74AHC06 INVERTER WITH OPEN-DRAIN OUTPUT

型号- U74AHC06G-S14-R,U74AHC06,U74AHC06L-S14-R

数据手册  -  UTC  - 2023/1/7 PDF 英文 下载

U74AHC06 INVERTER WITH OPEN-DRAIN OUTPUT CMOS IC

型号- U74AHC06G-S14-R,U74AHC06,U74AHC06L-S14-R

数据手册  -  UTC  - 2019/02/12 PDF 英文 下载 查看更多版本

HC0620□□□□S□-□□□ Shielded SMD Power Inductor SPECIFICATION FOR APPROVAL

型号- HC0620□□□□□□-□□□,HC06204R7KS□-□□□,HC06202R2KS□-□□□,HC0620R47KS□-□□□,HC0620,HC06201R0KS□-□□□,HC0620R68KS□-□□□,HC0620□□□□S□-□□□

数据手册  -  千如电子  - REV.20171124-A  - 20171124 PDF 英文 下载

数据手册  -  KYOCERA  - Ver.1.0  - 2023/6/28 PDF 英文 下载 查看更多版本

展开更多

电子商城

查看更多

品牌:天工测控

品类:IOT WLAN ModuleWi-Fi Module

价格:¥12.6000

现货: 168

品牌:天工测控

品类:WiFi module

价格:¥19.6000

现货: 50

品牌:天工测控

品类:IoT WLAN Module

价格:¥20.3000

现货: 48

品牌:天工测控

品类:WIFI 模块

价格:¥22.4000

现货: 35

品牌:天工测控

品类:WiFi module

价格:¥47.6000

现货: 34

品牌:天工测控

品类:GNSS模块

价格:¥79.8000

现货: 33

品牌:天工测控

品类:蓝牙模块

价格:¥20.3000

现货: 10

品牌:天工测控

品类:蓝牙模块

价格:¥29.4000

现货: 10

品牌:天工测控

品类:MIMO WLAN Module

价格:¥68.7400

现货: 7

品牌:天工测控

品类:a/b/g/n/ac WLAN System Module

价格:¥60.2000

现货: 6

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

品牌:

品类:

价格:

现货:

现货市场

查看更多

品牌:天工测控

品类:WIFI模块

价格:¥15.1894

现货:465

品牌:

品类:

价格:

现货:

服务

查看更多

物联网天线方案设计/虚拟天线芯片方案设计

Ignion可支持多协议、宽频段的物联网天线方案设计,协议:Wi-Fi、Bluetooth、UWB、Lora、Zigbee、2G、3G、4G、5G、CBRS、GNSS、GSM、LTE-M、NB-IoT等,频段范围:400MHz~10600MHz。

最小起订量: 2500 提交需求>

蓝牙射频及通信协议测试

根据用户的蓝牙模块,使用Bluetooth 蓝牙测试装置MT8852B,测试蓝牙1.0至5.1,包括传输速率、功率、频率、调制和接收机灵敏度,生成测试报告。支持到场/视频直播测试,资深专家全程指导。

实验室地址: 深圳 提交需求>

查看更多

授权代理品牌:接插件及结构件

查看更多

授权代理品牌:部件、组件及配件

查看更多

授权代理品牌:电源及模块

查看更多

授权代理品牌:电子材料

查看更多

授权代理品牌:仪器仪表及测试配组件

查看更多

授权代理品牌:电工工具及材料

查看更多

授权代理品牌:机械电子元件

查看更多

授权代理品牌:加工与定制

世强和原厂的技术专家将在一个工作日内解答,帮助您快速完成研发及采购。
我要提问

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

研发客服
商务客服
服务热线

联系我们

954668/400-830-1766(工作日 9:00-18:00)

service@sekorm.com

投诉与建议

E-mail:claim@sekorm.com

商务合作

E-mail:contact@sekorm.com

收藏
收藏当前页面