树莓派BLE 蓝牙低功耗设备控制,python BLE。 1.使用库gatt_linux,封装了常规使用的方法,比如扫描设备,可以根据蓝牙名称获取对应的蓝牙地址。连接蓝牙,断开蓝牙。获取BLE返回值,根据UUID发送指令等等。 2.在树莓派上可以开多个线程使用这个类,可以同时连接多个BLE设备,发送指令等等。 3.在使用不同设备时,注意修改自己的UUID即可。 4.需要安装的有 Blueman蓝牙管理工具,Bluez包,请自行百度安装。 例如:#发送字符串指令 def Send_Get(self,CMD): self.BleWaitData=True self.BleReceiveData='' self.device.IBC_Write_CHAR.write_value(bytearray(CMD)) t1=time.time() while self.BleWaitData: #time.sleep(0.1) 。。。
2024-08-04 10:42:57 9KB BLE连接 蓝牙低功耗
1
这是一个易安卓(E4A)安卓手机APP,通过蓝牙模块与手机进行无线串口通信,手机可通过 蓝牙模块的串口(TXD RXD)通信线收发从电脑或单片机串口的数据 。通过上位机程序或单片机程序控制电器设备。
2024-06-09 15:24:35 119KB 网络 网络
1
小米手环同款芯片,这是开发板源码,包含开发板的所有测试
2024-01-13 20:20:11 1.42MB BLE 蓝牙4.0
1
e4a开发BLE蓝牙远程控制,实现双向数据传输!BLE比普通蓝牙更加节能!
2024-01-09 12:09:50 229KB
1
LE5010有512Kflashrom,蓝牙应用只占一半,多余的256K可以用于声音播放。ARM0的核,48PIN,PIN脚可以任意映射。
2023-03-27 14:36:36 45.94MB 蓝牙芯片
1
本<安信可ble mesh蓝牙模组TB-02模组专题>系列博客学习由官方博客 CSDN安信可博客 潜心所力所写。如有不对之处,请留言,我们及时更改。 1、BLE MESH开发环境linux版搭建,点亮一盏LED灯。 2、简单学习如何对接天猫精灵语音控制的过程; 3、微信小程序蓝牙通讯 Ble 蓝牙Mesh TB02模组; 文章目录一、材料准备二、实现过程三、蓝牙模块初始化四、微信小程序编程4.1 搜索设备4.2 连接设备4.3 获取服务列表4.4 获取服务下的特征列表4.5 如何接受设备发来的数据4.6 如何发送数据到设备 一、材料准备     这里务必声明一下,硬件对接需要一点成本请
2023-03-23 19:53:26 555KB ble le mesh
1
BLE蓝牙手机调试助手,安卓版本~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2023-03-19 20:15:00 5.91MB BLE 蓝牙 手机助手
1
nrf51822中文参考手册,nRF51822 是一款集成nRF51x系列无线收发器的超低功耗的片上系统 (Soc) , 包含一个32位ARM Cortex-M0 CPU , flash 存储器和模拟、数字外设。NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 Liability disclaimer Nordic Semiconductor ASa reserves the right to make changes without further notice to the product to improve reliability, function or design. Nordic Semiconductor asa does not assume any liability arising out of the application or use of any product or circuits described herein ife support applications Nordic Semiconductor's products are not designed for use in life support appliances, devices, or systems where malfunction of these products can reasonably be expected to result in personal injury. Nordic Semiconductor ASa customers using or selling these products for use in such applications do so at their own risk and agree to fully indemnify Nordic Semiconductor ASA for any damages resulting from such improper use or sale Contact details Foryournearestdistributorpleasevisitwww.nordicsemi.com Information regarding product updates, downloads, and technical support can be accessed through your My Page account on our home page Main office: Otto Nielsens veg 12 Mailing address: Nordic Semiconductor 7052 Trondheim P.O. Box 2336 Norway 7004 Trondhe Phone:+4772898900 Norway 4772898989 画N远 NS-EN ISO 9001 CERTIFICATEDFIRM RoHS and reach statement Nordic semiconductor's products meet the requirements of Directive 2002/95/EC of the European Parliament and of the Council on the restriction of Hazardous Substances(roHS)and the requirements of the reach regulation(EC 1907/2006)on Registration, Evaluation, Authorization and Restriction of Chemicals. The SvHC(Substances of Very High Concern) candidate list is continually being updated Complete hazardous substance reports material composition reports and latest version of nordics reach statementcanbefoundonourwebsitewww.nordicsemicom Page 2 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 Datasheet status Status Description Objective Product Specification(OPS) This product specification contains target specifications for product development Preliminary Product Specification(PPS) This product specification contains preliminary data; supplementary data may be published from Nordic Semiconductor ASA later This product specification contains final product specifications. Nordic Product Specification(PS) Semiconductor ASA reserves the right to make changes at any time without notice in order to improve design and supply the best possible product. Revision History D ate Version Description May 2013 1.3 Updated schematics and boms in Section 11. 3 on page 61 April 2013 1.2 Added chip variant nRF51822-CEAA Updated feature list on front page Updated Section 3. 2. 1 on page 15, Section 3. 2. 2 on page 15, Chapter 6 on page 28, Section 10.4 on page 52, and Section 10.5.1 on page 53 Added Section 2.2.2 on page 10, Section 7. 1 on page 29, Section 9. 2 on page 50, and Section 11. 3 on page 61 Removed PCB layouts in Chapter 11 on page 54 March 2013 1.1 Added chip variant nRF51822-QFAB Added 32 MHz crystal oscillator feature. Updated feature list on front page moved subsection Calculating current when the DC/DC converter is enabled from chapter 8 to the nrF51 Refere pda Chapter 1 on page 6, Section 2.2 on page 8, Section 3. 2 on page 14 Section 3. 5 on page 18, Section 3.5.1 on page 19, Section 4. 2 on page 23, Chapter 5 on page 26, Section 8. 1 on page 30, Section 8. 1. 2 on page 31, Section 8.1.5on page 33, Section 8.2 on page 35, Section 8.3 on page 37, Section 8.5.3 on page 39, Section 8.8 on page 43, Section 8.9 on page 44, Section 8 10 on page 45, Section 8 14 on page 46, Chapter 10 on page 51, Section 11.2.3 on page 59, Section 11. 2. 1 on page 55, and Section 11.2.2 on page 57. Added Section 3.5.4 on page 21, Section 8. 1. 3 on page 32, and Section 11.1 on age 54 November 2012 1.0 Changed from PpS to PS Updated feature list on front page Updated Table 13 on page 28, Table 14 on page 29, Table 16 on page 31 Table 18 on page 33, Table 19 on page 33, Table 20 on page 34, Table 23 on page 36, Table 24 on page 37, Table 26 on page 38, Table 27 on page 38, Table 28 on page 39, Table 32 on page 42, ble 33 on page 43, Table 35 on page 44, Table 38 on page 45 Table 39 on page 46, Table 42 on page 47, Table 45 on page 48, Table 46 on page 48, Table 61 on page 53 d Figure 15 on page 59 Page 3 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 Table of contents 2 2.1 6778 2.2 3.2 中·卓 141 3.3 16 3.4 17 3.5 18 3.6 21 3.7 非音 21 4 22 4.1 …22 4.2 …23 4.3 23 4.4 23 4.5 23 4.6 23 4.7 影看非非非是非。垂 24 4.8 中中中中中中中中中中中中中中中中中中 .24 4.9 ……1.4 4.10 24 4.11 25 4.12 25 4.13 25 26 6 28 n29 7.1 29 8 。0。看0。。。。看0·。。。0春。0。。。。·000。。。0。。。。。00。看0。自。。。看0。。0。0。。 30 8.1 .30 8.2 35 8.3 37 8.4 非非着音非非非自非n非是非日非 37 8.5 春·垂看着垂垂D看看看是看 垂看春着垂是垂音垂 38 8.6 42 8.7 42 8.8 43 8.9 44 8.10 …45 8.11 245 8.12 46 8.13 46 8.14 ,46 Page 4 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 8.15 4中非·非非非中非非非 47 8.16 247 8.17 …47 8.18 48 8.19 48 8.20 48 ···命···春春··春春·春春a·春·命春d.春春··命春春 49 49 9.2 51 10.1 51 10.2 非串串 垂自, 自音。 10.3 55 10.4 52 10.5 非。自B非1非音BB省;自指自自自香自音:着 53 54 11.1 154 11.2 55 11.3 61 12 67 Page 5 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 n RF51 Reference Manual 1.2 Luci da console onso⊥as bold emi-bold Connect(Time Out, AdvInterval Connect will be written as Connect(ox00F0, Interval) Page 6 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 2 nRF5 ODE (P0.0-P031) lave AHB-LITE BUS E AHB TO APB ARM BRIDGE CORTEX-MO SWCLK DAP BBB NVIC RESET POWER NVMC WDT RADIO ANT1 AISo SPIO >〈>EB MISO MOSI RNG TIMER O TEMP TIMER 1 ADC AINO-AIN7 TIMER 2 A QDEC RXD UART XC1 GTS XC2 RIS CLOCK GPIOTE RTCO SDA V|0 RTC1 SDA TWIt Note: RESET Figure 1 nRF51822 block diagram Page 7 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 2.2 2.2.1 nRF51822 QFN48 2.2.1.1 VDD 1 36 AVDD DCC 2 VDD P9.393 34 VSS P.15 N51822 "132 ANT2 926 ANT1 937 QEVVHP ,130 VDD PA YYWWL工 29 DEC2 P.959 128P9.28 P.19 P06711|- 26P9.18 VDD 12 D> 25P8.17 u5OH Figure 2 Pin assignment-nRF51822 QFN48 packet Note: VV= Variant code, hp= build code, yyWwll= tracking code For more information see Section 10.4 on page 52 Page 8 of 67 NORDIC SEMICONDUCTOR nRF51822 Product Specification v1.3 2.2.1.2 Pin functions Pin name Pin function Description VDD Power Power supply DCC Power DC/ DC output voltage to external LC filter P9.39 Digital y/o General purpose I/o pin P.98 General purpose 1/0 pin AREA Analog input ADC Reference voltage P.91 Digital 1/O General purpose l/o pin AlN Analog input ADC input 2 P9.92 Digital VO General purpose l/o pin aln Analog input ADC input 3 P9.93 Digital I/O General purpose 1/0 pin A工N4 Analog input ADC input 4 P.94 Digital I/O General purpose i/o pin AINS Analog input ADC input 5 P2.95 Digital V/O General purpose l/o pin AlN Analog input ADC input 6 P.6 Igital vO General purpose l/o pin AINZ Analog input ADC input 7 AREF1 Analog input ADC Reference voltage P.97 Digital l/o General purpose l/o pin VDD Power Power supply VSS Power Ground (O V) P9.98t 14to22 P.16 Digital I/O eneral purpose l/o pin SWDIO/nRESET Digital V/O System reset(active low). Also HW debug and flash programming I/o 24 SWDCLK Digital input HW debug and flash programming I/o 25to28 P0. 1 to P8.2日 Digital V/O General purpose l/o pin DEC2 Power Power supply decoupling 30 VDD PA Power output Power supply output (+1.6 V)for on-chip RF power amp 31 ANT1 RF Differential antenna connection (tX and rx ANT2 Differential antenna connection (TX and rX 33,34 Power Ground(OV 35,36 AVDD Power Analog Power supply XC1 Analog input Connection for 16/32 MHz crystal or external 16 MHz clock reference 38 <C2 Analog output Connection for 16/32 MHz crystal 39 DEC1 Power Power supply decoupling Page 9 of 67
2023-02-14 15:58:53 1.72MB nrf51822 BLE 蓝牙4.4 nrf51822中文
1
作者:cinoliu,来自原文地址  1.简述 蓝牙适配器接口是基础库版本 1.1.0 开始支持。 iOS 微信客户端 6.5.6 版本开始支持,Android 客户端目前已经开始支持 蓝牙总共增加了18个api接口。 2.Api分类 搜索类 连接类 通信类 3.API的具体使用 详细见官网: https://mp.weixin.qq.com/debug/wxadoc/dev/api/bluetooth.html#wxgetconnectedbluethoothdevicesobject 4. 案例实现 4.1 搜索蓝牙设备 (此图片来源于网络,如有侵权,请联系删除! ) (此图片来源于网络,
2022-11-18 15:00:11 617KB 微信 程序 --Ble 蓝牙
1