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

2022.12  - RENESAS  - 商品及供应商介绍

天工测控WiFi模块选型表

天工测控面向物联网市场中的智慧物流,智能交通,智慧安防,智慧能源,智能医疗,智慧建筑,智能制造,智能家居,智能零售,智慧农业,智慧楼宇等应用场景研发推出了性能强大,且支持二次开发的2.4GHz单频及2.4/5GHz双频UART串口WiFi模块,USB接口WiFi模块,AP/Router无线路由WiFi模块及远距离图传WiFi模块,高清视频传输WiFi模块

产品型号
品类
无线模块标准
芯片
尺寸(mm)
封装
频率范围(GHZ)
数据速率(Mbps)
发射功率(dBm)
传输距离(米)
通讯接口
供电电压(V)
天线接口
WG219
WiFi模块
IoT b/g/n
ESP8266
25.5*18*3.2
SMD
2.4-2.5
72.2
18
100
3,5,6,8
3.3V
1个IPEX/PCB

选型表  -  天工测控 立即选型

天工测控BLE蓝牙模块选型表

天工测控针对物联网小数据,近距离的数据传输、智能控制等应用场景研发推出的BLE4.0/4.2/5.0低功耗蓝牙模块,功耗低,接收灵敏度高,传输距离远,支持UART/TWI通信协议,性能稳定可靠,支持二次开发,尺寸小巧,易于集成,产品能较好的嵌入到客户产品中,同时满足客户对蓝牙产品再次快速编程需求

产品型号
品类
标准协议
尺寸(mm)
工作模式
接收灵敏@1Mbps(dBm)
发射功率(dBm)
Flash(KB、MB)
RAM(KB)
广播功耗(100ms 间隔)(uA)
连续传输功耗(20ms 间隔)(uA)
深度睡眠功耗(uA)
待机状态功耗(uA)
最大广播距离(米)
接口
天线
SKB360
BLE蓝牙模块
BLE4.0
17.4*13.7*1.9
主,从,主从一体
-93
+4
256K
16K
270
1180
0.3
2.5
50
UART/PWM/GPIO/I²C
PCB/External

选型表  -  天工测控 立即选型

ANYTEK(恩尼特克)固定式端子选型表

ANYTEK(恩尼特克)固定式端子选型表,有直锁式接线端子,直锁式PCB板端,升降式PCB板端,弹簧式端子,弹簧式PCB板端,,升降式接线端子等品类的选型,提供如下参数选型范围:间距2.5-20mm可选;POLE在1-72可选;电压125-1000V可选;多芯线电流2-160A可选;单芯线电流13-30A可选;

产品型号
品类
间距(mm)
POLE
认证类别
单芯线径(mm)
多芯线径(mm)
电压(V)
多芯线电流(A)
DS2400208000G
弹簧式端子
5
2
cULus
16-28
16-28
300V
10A

选型表  -  ANYTEK 立即选型

2022/05/07  - FEASYCOM  - 数据手册  - Version 1.0 代理服务 技术支持 现货查询 批量订货

74HC06 Hex Inverter with Open-drain outputs

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

2019-10-23  - 华冠半导体  - 数据手册 代理服务 技术支持 现货查询 批量订货

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 -  技术问答

这个平台目前有销售天工测控(SKYLAB)SKG13BL吗?

天工测控(SKYLAB)SKG13BL世强目前有授权销售。

2019-08-01 -  技术问答
Sep.22, 2017  - 天工测控  - 测试报告 代理服务 技术支持 现货查询 批量订货
2023/6/28  - KYOCERA  - 数据手册  - Ver.1.0 代理服务 技术支持 现货查询 批量订货 查看更多版本
展开更多

电子商城

查看更多

品牌:天工测控

品类: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

品牌:天工测控

品类:蓝牙模块

价格:¥29.4000

现货: 10

品牌:天工测控

品类:MIMO WLAN Module

价格:¥68.7400

现货: 7

品牌:天工测控

品类:蓝牙模块

价格:¥20.3000

现货: 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 提交需求>

语音/录音芯片定制

提供语音芯片、MP3芯片、录音芯片、音频蓝牙芯片等IC定制,语音时长:40秒~3小时(外挂flash),可以外挂TF卡或U盘扩容。

最小起订量: 1pcs 提交需求>

查看更多

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

查看更多

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

查看更多

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

查看更多

授权代理品牌:电子材料

查看更多

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

查看更多

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

查看更多

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

查看更多

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

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

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

收藏
收藏当前页面