当前位置:网站首页>[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
边栏推荐
- MySQL installation and configuration tutorial (super detailed, nanny level)
- 动态规划问题(七)
- [micro services ~nacos] Nacos service providers and service consumers
- Dynamic programming problem (VII)
- @Transactional 注解使用详解
- [CNN] Why is the convolution kernel size of CNN usually odd
- Visual full link log tracking
- MQ 消息丢失、重复、积压问题,如何解决?
- MySQL 分库分表及其平滑扩容方案
- 还在写大量 if 来判断?一个规则执行器干掉项目中所有的 if 判断...
猜你喜欢

AutoCAD -- import excel tables into CAD and merge CAD

15.模型评估和选择问题

Attack and defense world web master advanced area PHP_ rce

ACM SIGIR 2022 | interpretation of selected papers of meituan technical team

Dynamic programming problem (VIII)

12个MySQL慢查询的原因分析

Using recursion and chain header interpolation to realize the group turnover of linked lists -- leetcode25 K group turnover linked lists

Principle of meter skipping

IDEA报错Error running ‘Application‘ Command line is too long解决方案

Immutable x officially opens IMX token pledge detailed IMX pledge introduction optimistic about the development prospect of IMX
随机推荐
110道 MySQL面试题及答案 (持续更新)
2022dasctfjuly empowerment competition (reappearance)
乱打日志的男孩运气怎么样我不知道,加班肯定很多!
With this, your messages can't be monitored
DCAT in laravel_ Admin preliminary use record
@Detailed explanation of the use of transactional annotation
递归/回溯刷题(下)
Camera Hal OEM module ---- CMR_ preview.c
Attack and defense world web master advanced area php2
Everything you have learned will come in handy at some point in your life (turn)
Router view cannot be rendered (a very low-level error)
MySQL installation and configuration tutorial (super detailed, nanny level)
2022网络安全学习路线 非常详细 推荐学习
Network traffic monitoring tool iftop
MySQL事务(transaction) (有这篇就足够了..)
Simple use and understanding of laravel message queue
Laravel8 middleware realizes simple permission control
动态规划问题(六)
1331. Array sequence number conversion: simple simulation question
PTA (one question per day) 7-76 ratio