当前位置:网站首页>[development tutorial 10] crazy shell · open source Bluetooth heart rate waterproof sports Bracelet - Bluetooth ble transceiver
[development tutorial 10] crazy shell · open source Bluetooth heart rate waterproof sports Bracelet - Bluetooth ble transceiver
2022-07-29 00:27:00 【efans_ Mike】
Open source Bluetooth heart rate waterproof SPORTS BRACELET
—— Crazy shell · Intelligent wearable development series
bluetooth BLE Send and receive
1 Related introduction
DA14580 RF module is integrated inside , At the same time, the official also provided a set SDK, It contains the Bluetooth protocol stack . Bluetooth transceiver in this section is provided by modifying the official SDK, Complete the Bluetooth transceiver function . Basic knowledge about Bluetooth , You can refer to the previous Bluetooth foundation .
2 Hardware design
DA14580 RF module is integrated inside , It's just from PF10p Pin connected to an antenna .
chart 1
3 software design
open SDK, From the path :
SDK5.0.4\DA1458x_SDK\5.0.4\project\target_apps\ble_examples\ble_app_profi le\Keil_5 Open in ble_app_profile Engineering documents .
The first change user_cust1_def.h file , This file declares the parameters of the service , We need to modify the service and eigenvalue UUID Equal parameter , And delete the redundant eigenvalues .
chart 2
Revise user_cust1_def.c file , This file defines the attributes of files and eigenvalues , Here, you need to modify the services and characteristic values to be used , And delete redundant eigenvalue definitions .
chart 3
Code 1
The last thing to be revised is cust1_task.c file , This document defines cust1 Some task functions of the service , It needs to be defined as 128 Bit is modified to 16 position . in addition , Because redundant eigenvalue services have been deleted , You also need to modify the acceptance function .
chart 4
Relevant code can see our experimental routine .
4 Experimental phenomena
Start by opening SmartSnippets.
chart 5
Set it up SmartSnippets after , Click on the image above Open.
chart 6
(1) Click on Connect, Connect our MCU .
(2) Click on Erase, erase Flash.
(3) Click on Browse, Find our project .hex file .
(4) Click on Burn, Complete the code download .
After downloading the code , Run code , Then turn on the Wolverine BLE.
(1) Click on Connect.
chart 7
(2) Choose our Bluetooth device DIALOG-PRFL.
chart 8
(3) Type... In the input box BLE, And then click Send.
chart 9
Complete the above 3 Step , The mobile phone can receive the characters we sent .
chart 10
More complete learning materials and corresponding open source Suites , Please visit the official website :“ Crazy shell ”
For customized development , Please use the official website “ Crazy shell ” At the bottom of the page “ Contact us ” Make contact
边栏推荐
- Recursion / backtracking (middle)
- vulnhub:Sar
- Sword finger offer 64. find 1+2+... +n, logical operator short circuit effect
- Oracle超全SQL,细节狂魔
- Introduction and solution of common security vulnerabilities in Web System SQL injection
- @Detailed explanation of postconstruct annotation
- 【开发教程11】疯壳·开源蓝牙心率防水运动手环-整机功能代码讲解
- Basic knowledge of PHP language (super detailed)
- Advanced area of attack and defense world web masters training www robots
- “Method Not Allowed“,405问题分析及解决
猜你喜欢

MQ 消息丢失、重复、积压问题,如何解决?

MySQL安装配置教程(超级详细、保姆级)

MySQL installation and configuration tutorial (super detailed, nanny level)

Principle of meter skipping

Dynamic programming problem (VIII)

Cause analysis of 12 MySQL slow queries

Html+css+php+mysql realize registration + login + change password (with complete code)

Api 接口优化有哪些技巧?

MySQL transaction (this is enough...)

html+css+php+mysql实现注册+登录+修改密码(附完整代码)
随机推荐
Three years after graduation, write to you and me who may be confused [turn]
html+css+php+mysql实现注册+登录+修改密码(附完整代码)
MySQL transaction (this is enough...)
Linux下安装Mysql5.7,超详细完整教程,以及云mysql连接
Use hutool tool class to operate excel with more empty Sheet1
递归/回溯刷题(下)
MySQL的存储过程
Idea connection database
Camera Hal OEM module ---- CMR_ preview.c
Visual full link log tracking
Okaleido ecological core equity Oka, all in fusion mining mode
Using recursion and chain header interpolation to realize the group turnover of linked lists -- leetcode25 K group turnover linked lists
手把手教你安装Latex(保姆级教程)
【飞控开发基础教程8】疯壳·开源编队无人机-I2C(激光测距)
Dynamic programming problem (3)
Dynamic programming problem (VIII)
Alibaba Code代码索引技术实践:为Code Review提供本地IDE的阅读体验
分布式限流 redission RRateLimiter 的使用及原理
Event extraction and documentation (2008-2017)
Es6操作教程