Skip to main content

Bluetooth low energy

SmartBond™: power, size and system cost without compromise

Bluetooth®低能量是用于将设备彼此连接和云连接的De Facto低功耗标准。高度集成,SmartBond™SoC系列具有最小,功率高效的蓝牙低能量解决方案,可实现最低的系统成本。广泛的支持工具套房确保了易用性和快速到市场的路线。

Latest News

Bluetooth Low Energy
智能债券™ 产品组合 下载PDF.
Part Number DA14699/7/5/1 DA14683 DA14682 DA14586 DA14585 DA14531/0 DA14531MOD
Product Description The world’s most advanced wireless microcontroller product family 单芯片高安全蓝牙5解决方案,具有可扩展内存 Small size, low power and most integrated Bluetooth 5 SoC The world’s smallest and lowest power Bluetooth 5.1 System-on-Chip which enables the next 1billion IoT devices DA14531 SmartBond Tiny™模块,基于世界上最小和最低电源蓝牙5.1系统
TYPE
SoC
SiP
Module
TECHNOLOGY
Bluetooth® LE 5.2 5.0 5.0 5.0 5.0 5.1 5.1
2.4 GHz专有
核心系统
CPU 96MHz Arm
Cortex-M33.
浮点DSP扩展
96MHz Arm
Cortex-M0
96MHz Arm
Cortex-M0
16MHz ARM
Cortex-M0
16MHz ARM
Cortex-M0
16MHz ARM
Cortex-M0+
16MHz ARM
Cortex-M0+
皇家音乐学院 512千字节
384.kB (691)
128.kB 128.kB 96kB 96kB 48KB. 48KB.
ROM
OTP
128.kB
4kB
128.kB
64kB
128.kB
64kB
128.kB
64kB
128.kB
64kB
144.kB
32 KB
144.kB
32 KB
闪光 QSPI公司闪光 QSPI公司闪光 1024kB 25.6kB SPI Flash SPI Flash 128.kB
Crystals 32兆赫+32千赫 32./16MHz+32kHz 32./16MHz+32kHz 16.MHz+32kHz 16.MHz+32kHz 32.MHz 32.MHz
POWER
Internal DCDC 巴克 巴克 巴克 巴克&Boost 巴克&Boost 巴克&Boost 巴克
External System Power Rails 2x1.8V,1x3.3V 2x1.8V,1x3.3V 2x1.8V,1x3.3V
Charger ● ● ● ○
SECURITY
AES/SHA公司 25.6/512 25.6/512 25.6/512 128. 128. 128. 128.
ECC/TRNG ● ● ● ● ● ● ○ ● ○ ●
安全密钥处理
RADIO
频率 2.4GHz 2.4GHz 2.4GHz 2.4GHz 2.4GHz 2.4GHz 2.4GHz
Tx Power 6分贝 0dBm 0dBm 0dBm 0dBm 2.5dBm 2.2dBm
RX敏感性 -97分贝 -94年dBm -94年dBm -93dbm. -93dbm. -94年dBm -94年dBm
PERIPHERALS
UART/SPI/I2C 3/2/2 2/2/2 2/2/2 2/1/1 2/1/1 2/1/1 2/1/1
QSPI公司XiP
即时解密
2/2/2/1
1
1
USB FS/HS 1 1 1
Timers/PWM/RTC 4/4/1 3/3 3/3 4/2 4/2 3/2/1 3/2/1
I2S,PCM/PDM 8CH/2CH 8CH/2CH 8CH/2CH 8CH/2CH 8CH/2CH
LCD ● ● ● ○
Keyboard/QDEC/IR ● ● ● ● ● ● ● ● ○ ● ● ○ ● ● ○ ● ● ○
ADC 8ch 10b.
8ch 14b.
8ch 10b. 8ch 10b. 4 ch 10 b 4 ch 10 b 4 ch 10 b 4 ch 10 b
LED driver 2 2○ ○ 3 3
Temperature sensor
其他 Haptics / Motor Controller
亚博国际官网平台网址
Appliances
Asset Tracking
Beacons
Consumer Electronics
Direction finding
Gaming and AR/VR
Industrial Automation
Medical and Healthcare
MESH networks
PC Peripherals
智能家居与建筑
Wearables
Wireless Ranging (WiRa)
Smart door-locks
IoT sensors
包装
Type#Pins (#GPIO)
Dimensions
VFBGA100 (55)
5x5毫米
(699/697)
WLCSP53 (21)
3.41x3.01 mm

AQFN60 (37)
AQFN60 (31)
6x6 mm
QFN40(24)
5x5毫米
WLCSP34 (14)
2.40x2.66 mm

QFN40(25)
WLCSP17 (6)
1.7x2.05 mm.
(531 only)
MOD16 (9)
12..5x14.5 mm
Operating Temperature -40 to 85°C -40 to 85°C -40 to 85°C -40 to 85°C -40到85/105°C -40 to 85°C -40 to 85°C
电源电压范围 2.4 to 4.75V 1.7至4.75伏 1.7至4.75伏 0.9 to 3.3V 0.9 to 3.3V 1.1至3.3V 1.8 to 3.3V
DEVELOPMENT KITS DA14695 PRO
DA14695 USB
DA14683 PRO
DA14683 USB.
DA14683 PRO
DA14683 USB.
DA14585专业版
DA14585 BASIC
DA14585专业版
DA14585 BASIC
DA14531/0 PRO DA14531 USB da14531mod pro
Partner Modules
Part Number DA14531 BDE-BLEM301 DA14531 Hongjia
HJ-531IMF
DA14531 Honjia
HJ-131IMH
DA14585 / AzureWave AW-CU362 DA14585 / Inventek.
ISM14585-L35.
DA14585 / PANASONIC / PAN1740A
Product Description BDE-BLEM301 is a highly integrated Bluetooth® 5.1 Low Energy Module based on Dialog ultra-low power DA14531 SoC Ultra-small, ultra-low power Bluetooth 5.1 SIP module with the SmartBond DA14531 TINY. 5 x 4.75 x 1.3mm in a LGA25 package 超小型、超低功耗蓝牙5.1 SIP模块,带SmartBond DA14531 TINY。4 x 4 x 1.3mm,LGA17包装 DA14585 BLE5.0 SoC, 1Mbit SPI Flash, embedded antenna DA14585 BLE5.0 SoC,板上最高8Mbit SPI闪存,板上可选SkyWorks PA,用于增加TX功率 9.0 x 9.5 x 1.8mm,集成天线和预认证,ARM®Cortex®-M0,96KB SRAM,64KB OTP
亚博国际官网平台网址 信标|遥控器| Proximity tags | Low Power Sensors | Commissioning/Provisioning | Toys | Serial port transmission | Smart home | Smart meters | Smart medical devices Tiny medical applications | Beacons | Smart toys | Smart locks | Remote Controls | Industrial smart devices Tiny medical applications | Beacons | Smart toys | Smart locks | Remote Controls | Industrial smart devices IoT Applications | Connected Sensors | Connected Medical | Environmental Monitoring | Beacons | Home Automation | Industrial Connectivity over BLE | Point of Sale Applications | Building Infrastructure | Temperature & Environmental Monitoring | Connected Toys IoT Applications | Voice-controlled remote controls | Keyboard & Mouse | Connected Sensors | Beacons and Tags | Home Automation | Connected Toys | Consumer Appliances 工业物联网|连接的传感器|人类界面设备|智能家居/建筑|智能照明系统|计量|智能家庭节点|信标|近似标签|跟踪器| Remote Controls
Legacy Products
DA14680 / 1 Not Recommended for New Designs; For Improved Performance – SeeDA14682/3
DA14580/1/2/3型 Not Recommended for New Designs; For Improved Performance – SeeDA14585/6andDA14530/1

绝缘线

Bluetooth® low energy helps manage diabetes with insulin pen dosage tracking

我们的智能债券™ DA14531和DA14585 SOC提供了一些独特的功能,非常适合连接健康产品(如注射器)。例如,它们可以使用氧化银电池和具有高内阻的超小容量电池进行操作,由于具有超低的泄漏电流和在从休亚博电竞菠菜眠模式切换到活动模式时检测第一剂量设置的能力,因此确保了非常长的保质期。
These capabilities are to the fore in the “InsulinK” insulin dosage tracker from Dnurse. This Bluetooth LE-enabled clip turns an ordinary insulin pen into a connected pen to capture a log of injections and dose information and provide patient feedback for better and more effective insulin consumption.

Cold Chain Monitoring

冷链监测冷却解决方案

The SmartBond TINY™ DA14531 SoC is the ideal solution for cold chain monitoring. It offers the lowest system cost plus scalable radio power to reduce power consumption to low microwatt levels for extraordinarily long battery lifetimes. Dialog offers various software examples to create, for example, smart labels that beacon their temperature or the lowest-cost direction-finding tags for tracking logistics glows. Ideal applications include vaccine transport and food distribution.

mikroBUS

Mikrobus™微小点击板™

mikroBUS click boards™ are a revolutionary, plug-and-play way to add new functionality to development boards. Our click board-compatible Bluetooth® Low Energy solution allows you to quickly develop simple standalone Bluetooth LE applications or add a Bluetooth LE data pipe to an MCU. Featuring the globally certified SmartBond DA14531 BLE 5.1 module, the board is pre-programmed and supported by MicroElektronika’s mikroSDK and the easy-to-use SDK from Dialog, plus numerous useful software examples including CodeLess, an AT-Command based solution requiring little or no code development.

每个季度,我们包了st technical info on our products, software development topics, trainings, events and deliver it to your inbox.

Sign me up
Check out previous editions

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿
Product ID Application Standard 内存size FLASH (Mb) 内存size ROM (kB) 内存大小OTP(kB) 内存size RAM (kB) GPIOS(MAX) Power supply min (V) Power supply max (V) Tx current (mA) Rx current (mA) Output power (dBm) Sensitivity (dBm) Microcontroller Recommended for new Designs Package Max system clock (MHz) 灵活的系统时钟 从Flash执行 HW crypto engine QSPI公司 SPI UART I2C USB PDM Documents
DA14580-01UNA Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home 表4.2核心规范 0 84 32. 50. 14. 0.9 3.6 4.8 5.1 0 -93年 M0 No WL-CSP34,2.5*2.5*0.5mm 16. No No Yes 0 1 2 1 0 0 Documentation
DA14580-01AT2 Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home 表4.2核心规范 0 84 32. 50. 24. 0.9 3.6 4.8 5.1 0 -93年 M0 No QFN40,5*5*0.9mm 16. No No Yes 0 1 2 1 0 0 Documentation
DA14580-01A32 Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home 表4.2核心规范 0 84 32. 50. 32. 0.9 3.6 4.8 5.1 0 -93年 M0 No QFN48,6*6*0.9毫米 16. No No Yes 0 1 2 1 0 0 Documentation
da14581-00UNA. Wireless ChargingHost Controller Interface 表4.2核心规范 0 84 32. 50. 14. 0.9 3.6 4.8 5.1 0 -93年 M0 No WL-CSP34,2.5*2.5*0.5mm 16. No No Yes 0 1 2 1 0 0 Documentation
DA14581-00000VRA Wireless ChargingHost Controller Interface 表4.2核心规范 0 84 32. 50. 14. 0.9 3.6 4.8 5.1 0 -93年 M0 No WL-CSP34,2.5*2.5*0.3mm 16. No No Yes 0 1 2 1 0 0 Documentation
DA14581-00AT2 Wireless ChargingHost Controller Interface 表4.2核心规范 0 84 32. 50. 24. 0.9 3.6 4.8 5.1 0 -93年 M0 No QFN40,5*5*0.9mm 16. No No Yes 0 1 2 1 0 0 Documentation
DA14583-01F01AT2 Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home 表4.2核心规范 1 84 32. 50. 24. 2.35 3.6 4.8 5.1 0 -93年 M0 No QFN40,5*5*0.9mm 16. No No Yes 0 1 2 1 0 0 Documentation
DA14585-00000VV2* Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home遥控器with voice commands over BLE BLE 5.0核心规格+补充功能 0 128. 64 96 14. 0.9 3.6 4.8 5.1 0 -93年 M0 Yes WL-CSP34,2.4*2.66*0.5mm 16. No No Yes 0 1 2 1 0 1 Documentation
da14585-00000AT2 * Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home遥控器with voice commands over BLE BLE 5.0核心规格+补充功能 0 128. 64 96 25. 0.9 3.6 4.9 5.3 0 -93年 M0 Yes QFN40,5*5*0.9mm 16. No No Yes 0 1 2 1 0 1 Documentation
da14586-00f02at2 * Beacon & ProximityHealth & FitnessHuman Interface DevicesSmart Home遥控器with voice commands over BLE BLE 5.0核心规格+补充功能 2 128. 64 96 24. 1.8 3.6 4.9 5.3 0 -93年 M0 Yes QFN40,5*5*0.9mm 16. No No Yes 0 1 2 1 0 1 Documentation
DA14680-01F08A92 WearablesSmart HomeApple HomeKitHuman Interface Devices其他rechargeable device BLE 4.2核心规范+可选功能 8 128. 64 128. 31. 1.7 4.75 5.2 6 0 -94年 M0 No AQFN60,6*6*0.8mm 96 Yes Yes Yes 0 2 2 2 1 1 Documentation
DA14681-01000U2 WearablesSmart HomeApple HomeKitHuman Interface Devices其他rechargeable device BLE 4.2核心规范+可选功能 0 128. 64 128. 21. 1.7 4.75 5.2 6 0 -94年 M0 No WL-CSP53,3.4*3.0*0.5mm 96 Yes Yes Yes 1 2 2 2 1 1 Documentation
DA14681-01000A92 WearablesSmart HomeApple HomeKitHuman Interface Devices其他rechargeable device BLE 4.2核心规范+可选功能 0 128. 64 128. 37. 1.7 4.75 5.2 6 0 -94年 M0 No AQFN60,6*6*0.8mm 96 Yes Yes Yes 1 2 2 2 1 1 Documentation
DA14682* WearablesSmart HomeApple HomeKitBluetooth meshCloud connected applications BLE 5 8 128. 64 128. 31. 1.7 4.75 5.2 6 0 -94年 M0 Yes AQFN60,6*6*0.8mm 96 Yes Yes Yes 0 2 2 2 1 1 Documentation
DA14683* IndustrialHuman Interface DevicesVirtual reality remotesBanking BLE 5 0 128. 64 128. 37. 1.7 4.75 5.2 6 0 -94年 M0 Yes AQFN60,6*6*0.8mm 96 Yes Yes Yes 1 2 2 2 1 1 Documentation
DA14691-00000HQ2* WearablesSmart HomeApple HomeKitBluetooth meshCloud connected applications BLE 5.0 Core specification + optional features Optional external 128. 4 384. 44. 2.4 4.75 3.5 2.2 6 -97年 M33 Yes VFBGA86, 6 x 6 x 0.55 mm 96 Yes Yes Yes 1 2 3 2 1 1 Documentation
DA14695-00000HQ2* WearablesSmart HomeApple HomeKitBluetooth meshCloud connected applications BLE 5.0 Core specification + optional features Optional external 128. 4 512 44. 2.4 4.75 3.5 2.2 6 -97年 M33 Yes VFBGA86, 6 x 6 x 0.55 mm 96 Yes Yes Yes 1 2 3 2 1 1 Documentation
da14697-00000HR2 * WearablesSmart HomeApple HomeKitBluetooth meshCloud connected applications BLE 5.0 Core specification + optional features Optional external 128. 4 512 55. 2.4 4.75 3.5 2.2 6 -97年 M33 Yes VFBGA100,5 x 5 x 0.475毫米 96 Yes Yes Yes 2 2 3 2 1 1 Documentation
da14699-00000HR2 * WearablesSmart HomeApple HomeKitBluetooth meshCloud connected applications BLE 5.0 Core specification + optional features Optional external 128. 4 512 55. 2.4 4.75 3.5 2.2 6 -97年 M33 Yes VFBGA100,5 x 5 x 0.475毫米 96 Yes Yes Yes 2 2 3 2 1 1 Documentation
DA14531 DisposablesBeaconsAsset trackingConnected healthRCU 表5.1核心规范+补充特征 0 144. 32. 48. 12. 0.9 3.6 3.5 2.2 0 -94年 M0 + Yes QFN24*2.2*3.04mm 16. Yes Yes Yes 0 1 2 1 0 0 Documentation

*Recommended for new designs

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿

Wearables

可穿戴电子产品正进入我们日常生活的方方面面,为我们提供了改善生活的新途径:从生产力到健康和生活方式。他们揭示了以前无法获得的关于我们自己和周围环境的信息,帮助我们提供建议。

SmartBond解决方案:DA14682/3,DA14585/6,DA1469x

Proximity & Asset Tracking

Proximity applications are based on knowing and alerting you of the distance between two devices, such as keys or wallets, if the label goes out of range. Proximity information can also be used in asset tagging for inventory and automated access control or monitoring in cold chain tracking.

SmartBond解决方案:DA1469x,DA14531

连接医疗

Connected medical offers solutions in allowing patients to take care of their own health condition in monitoring, sending alerts and making drug delivery easy. Bluetooth low energy is the technology to connect health products to the cloud. Examples of connected medical products are blood pressure meters, heart rate monitors, glucose meters and patches, body temperature meters, virus testers and drug delivery with injectables or via patches through the skin.

SmartBond解决方案:DA14531,DA1469x

Smart Home & Buildings

Long dreamt of, the Smart Home is now becoming a reality. We can monitor and control our home security, lighting, appliances and heating, ventilation and air-conditioning (HVAC) from our smartphones and tablets – even remotely via the cloud.

SmartBond解决方案:DA14682/3,DA14585/6,DA14531

Computing & Gaming

蓝牙在自推出以来,在连接计算和游戏外围设备时发挥了关键作用。它为一系列新的和新出现的外围设备提供了一个简单且经过验证的连接选项,同时保护对最个人数据的访问权限。

As electronic equipment becomes smarter and more mobile, the way we interact with it is changing. We want more control, more convenience and less clutter, which is driving huge growth in the wireless HID market. Bluetooth low energy is per default supported in recent versions of windows, which truly enables the wireless desktop.

SmartBond解决方案:DA14585/6,DA1469x

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿
智能债券™ SDK概述 Product Supported
SDK6 DA14585/6+DA14531/0
SDK10 DA1469x
SDK1 DA14682/3

Also available for DA14680/1 but not recommended for new designs

SDK5型 DA14580/1/3型

Not recommended for new designs

智能债券™ 开发工具概述 Product Supported
Dialog Smartbond Flash Programmer DA14531/0,DA1458xandDA1469x
SmartSnippets Toolbox All
SmartSnippets Studio All
生产线工具

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿

Social distancing

Embedded Software Applications for Social Distancing Applications

Read More

蓝牙低能量范围扩展器

The SmartBond™ BLE Range Extender reference design enables you to take full advantage of the output power of the Bluetooth low energy standard to extend the range of your applications.

Read more

智能USB加密狗

智能USB加密狗设备是一个完全集成的USB到蓝牙设备® 基于SmartBond的LE解决方案™ DA14683高安全蓝牙乐SoC。

Read more

埃姆温

The emWin embedded graphics library developed by SEGGER Microcontroller is now offered by Dialog Semiconductor in library form for free commercial use with the SmartBond® DA1469x wireless microcontrollers.

Read more

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿

Our SmartBond products are supported by development kits and a profiling to help you create applications that exploit the unique benefits of the SmartBond family to the fullest. These tools help you minimize your time to market.

Hardware Development Kits

DA14531 DA14531 - USB,DA14531 - Pro
DA14585 DA14585 - Basic,DA14585 - Pro
DA14683 DA14683 - USB,DA14683 - Pro
DA14695 DA14695–USB接口,DA14695- Pro
All Bluetooth LE Products 生产线工具

Application Focused Development Kits

停用的套件

DA14583 DA14583物联网传感器开发工具包
The DA14585 IoT is an upgraded sensor development kit with more supported sensors and cloud connectivity
DA14681 DA14681主页kit开发套件
DA14681 DA14681 Wearable Development Kit

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿

Japan-based company mainly engaged in the manufacture and sale of electronic components and audio equipment.

See More

愚蠢的 - 您的伴侣在创新无线嵌入式系统(固件,硬件,软件)的设计中。伯利姆明确致力于实现项目目标和客户满意度。

See More

剑桥顾问是创新产品开发工程和技术咨询的优质多学科供应商。我们帮助客户快速向市场提供开创性的产品,尖端技术通常会导致客户的新知识产权。亚博电竞菠菜

See More

Cloud2GND is a global engineering services firm specializing in standards-based wireless connectivity solutions. Our clients range from innovative start-ups to large semiconductor companies and standards organizations. We offer deep domain knowledge in embedded systems, especially around Bluetooth technology, where we provide consulting, design, development, test, deployment and maintenance services for our clients and their customers. Our engineering services division offers a flexible engagement model acting as a specialized team of standards experts or a complete engineering team able to manage your project needs to completion.

查看更多

Lauterbach is the leading manufacturer of complete, modular and upgradeable microprocessor development tools worldwide with experience in the field of embedded designs since 1979. The engineering team develops and produces highly proficient and specialized Development Tools, which are utilized all over the world under the brand TRACE32®.

LitePoint is the leading provider of test solutions for the world's leading manufacturers of wireless

查看更多

Murata is a global leader in the design, manufacture and supply of advanced electronic materials, leading edge electronic components, and multi-functional, high-density modules.

查看更多

Panasonic Industrial Devices Sales Company of America. Many products sold by Fortune 500 companies are in fact Powered by Panasonic technology, and we are proud to provide manufacturers with the performance, quality, and reliability that are synonymous with the Panasonic brand. The Power of Panasonic Industrial Devices brings strategic innovations to our customers’ product development process.

查看更多

TDK is one of the largest electronic components manufacturers in the world.

查看更多

Tieto是领先的产品开发服务公司,可实现半导体,连接设备和通信基础设施制造商,构建下一代连接的设备亚博全网和事物,汽车和网络。

查看更多

无线技术专家。XTEL的核心能力是技术开发,这构成了其业务的大部分。它利用最先进的技术为其合作伙伴创建下一个产品或技术平台。在其客户中,它符合世界上一些领先的技术创新者。它通常是有任务的无线技术,协议和超级电力设计和产品的开发。亚博电竞菠菜XTEL深入了解无线技术的产品开发和成熟。它通常使用经过验证和测试的标准组件或平台,帮助其合作伙伴将时间缩短到市场。在需要技术升高的情况下,它开发了完整的产品或协助公司开发团队。亚博电竞菠菜亚博全网其技术解决方案和创新技能由其合作伙伴认可。

查看更多

Quuppa是实时定位系统(RTL)和室内定位系统(IPS)的领先技术提供商。公司成立亚博全网于2012年,由经验丰富的工程师和科学家团队成立,这是诺基亚研究中心的分拆,自从成功地商业化了其产品,创建了一个完整的产品平台:Quuppa智能定位系统™,一种尺寸适合- 适用于基于位置的服务和应用的技术平台。亚博国际官网平台网址我们的平台为公司提供了一个完整的软件套件,用于规划,模拟和调试项目,可用作构建基于位置的各种解决方案的实心和可扩展的基础。开放式API使其快速且易于使用平台。To date, the Quuppa Ecosystem has more than 200 partners around the world who use Quuppa’s open, versatile and reliable positioning platform to deliver accurate, real-time and cost-effective location solutions to companies in a range of industries, including manufacturing and logistics, retail, healthcare, sports, law enforcement and security, government, asset tracking.

查看更多

Stay connected

Get in touch with us directly through our worldwide sales offices, or contact one of our global distributors and representatives.

Inquiries 经销商和代表 注册新闻稿
Back to results

1 week ago

带定时器的读数传感器

Posted by洋星40 points 5个答复
0 upvotes

我正在使用ble_app_peripheral示例作为基本程序,目前我可以从de adc_val_1读取传感器作为notify属性,但这只有在我将控制点特性写入1时才可能,并且这会激活一个计时器,该计时器可以从notify按钮读取。

What I'm trying to achieve is using a timer(since I can't make a loop) or something like that to read my sensor constantly (like a microcontroler) without even connecting to the bluetooth because I'm using a temperature sensor as a security measure and I need to always read it (connected or disconnected) and of course when conected, be able to see it in my characteristics.

I tried to use multiple timers with the app_easy_timer() function (to setup two notify characteristics each with a different sensor) but I don't know if this is possible or it will cause a malfunction in the bluetooth functionality.

What do you recommend or what is the best way to make a periodically reading in a sensor while disconnected? and is it necessary a timer to use the notify property in a characteristic?

1 week ago

PM_DIALOG.

Hi magergar,

Thanks for your question online. This is correct – the ble_app_peripheral example starts sending BLE notification when the control point characteristic is set to 1 by the peer device and of course when it is in connected stated. When the control point is set to 1, the examples starts an app_easy_timer() to send BLE notification.

Since you would like to read the sensor continuously , you could implement an app_easy_imer() in the use_app_on_init(), and send its value when the device is connected to a peer device. The user_app_connection() callback function is triggered upon a BLE connection.

When the device is disconnected, the user_app_disconnect() callback is executed, and so you can re-start the timer.

Of course, you will not able to send BLE notifications while the device is just advertising (not in connection state).

谢谢,PM_DIALOG.

1 week ago

洋星 40 points

我试图在user_app_init()函数上实现一个app_easy_timer,但似乎没有工作,因为它不会触发回调函数,也许我做错了什么?
I declared a timer handler to check the timer status and just added the easy timer at the bottom of user_app_init() function with a simple callback that just print a message but it doesn't do anything, is there any documentation on how to setup this in a proper way? o what could be wrong?

定时器\ hnd传感器\读取\定时器\使用\部分\零(“保留\内存\区域0”)//我声明了全局变量
.
.
.

void user_app_init(void)
{

printf_string(UART,“用户appit \ n \ r”);//此消息被打印,因此UART设置正在工作

app_param_update_request_timer_used = EASY_TIMER_INVALID_TIMER;
mnf_data_init();//初始化制造商特定数据
memcpy(stored_adv_data, USER_ADVERTISE_DATA, USER_ADVERTISE_DATA_LEN); // Initialize Advertising and Scan Response Data
stored_adv_data_len = USER_ADVERTISE_DATA_LEN;
memcpy(stored_scan_rsp_data, USER_ADVERTISE_SCAN_RESPONSE_DATA, USER_ADVERTISE_SCAN_RESPONSE_DATA_LEN);
stored_scan_rsp_data_len = USER_ADVERTISE_SCAN_RESPONSE_DATA_LEN;

default_app_on_init();


sensor_read_timer_used = app_easy_timer(100, sensor_timer); //At this point the function return 0x01 so it's not invalid?
}

void sensor_timer(void)//This function is never executed
{
printf_string(UART, "TIMER TRIGGERED"); //I inserted a breakpoint in here but the program never stop
sensor_read_timer_used = app_easy_timer(100, main_timer);
}

accepted answer!

1 week ago

PM_DIALOG.

Hi magergar,

Could you try to start the timer in the user_app_adv_start() function? Instead of user_app_init().

Are you able to get the timer callback?

谢谢,PM_DIALOG.

1 week ago

洋星 40 points

Thanks, this solve the problem now the timer is working properly.

1 week ago

PM_DIALOG.

Hi magergar,

Glad that is working now and thanks for accepting my answer.

If you have any other question, please raise a new forum ticket.

谢谢,PM_DIALOG.