目的
使用M24LR-DIscover套件和自制ADS1292R模块,实现带有标签信息的采集
M24LR-DIscover套件介绍
M24LR-DISCOVERY是一个即用型套件,具有M24LR04E-R双接口EEPROM IC。 它适用于广泛的应用,例如工业或医疗设备以及消费类电子产品。该套件包含2个不同的板,如封面上的图所示。
![001.png 001.png](https://static.assets-stash.eet-china.com/forum/202010/17/205811abc8l9bz8x9tmwxl.png)
M24LR板无电池,由支持ISO / IEC 15693的RFID阅读器或支持NFC的手机供电。
RF收发器板是一个RFID阅读器演示板,除其他部分外,还由CR95HF(具有SPI和UART串行访问功能的13.56 MHz多协议非接触式收发器IC)组成。 该板必须插入PC并随附演示软件。
其中
红色板子上的主控芯片是STM32F103C8T6
绿色板子上的主控芯片是STM8L152C6T6
红板原理图分析:
![002.png 002.png](https://static.assets-stash.eet-china.com/forum/202010/17/205818usmvv3dvklu88vv2.png)
红版的主控是我们常用的STM8L152C6T6。STM8L152C6T6的硬件资源如下
![003.png 003.png](https://static.assets-stash.eet-china.com/forum/202010/17/205818x00hhm979gq9qlkv.png)
有1个UART,1个SPI,1个IIC,4个定时器,16Kb闪存,还有RTC
- STTS751,这是一个微型数字温度传感器,走IIC通信的芯片
- M24LR04。ST公司的一款NFC芯片,支持ISO15693和ISO1800-3等协议,存储结构2048x32位。在RF模式下,采用13.56Mhz无线电载波通信;在I2C模式下,作为从机应答主机的请求。典型应用如下:
![004.png 004.png](https://static.assets-stash.eet-china.com/forum/202010/17/205827a1cye4fea1f2be47.png)
绿版原理图
![005.png 005.png](https://static.assets-stash.eet-china.com/forum/202010/17/205827rprrqza5znaaki5l.png)
![006.png 006.png](https://static.assets-stash.eet-china.com/forum/202010/17/205827eyjrvpse7r0m4pv8.png)
分析:
- 绿版的主控是我们常用的STM32F103C8T6,开发比较简单,网上资源多
- CR95HF的通信是SPI与UART
ADS1292R简介
![007.png 007.png](https://static.assets-stash.eet-china.com/forum/202010/17/205827njorzj6s05xj6q1u.png)
硬件原理图
![008.png 008.png](https://static.assets-stash.eet-china.com/forum/202010/17/205835mtuwe0ez6kk6hd8k.png)
![009.png 009.png](https://static.assets-stash.eet-china.com/forum/202010/17/205835aq0xmgmq9099xmcg.png)
实物图
![010.png 010.png](https://static.assets-stash.eet-china.com/forum/202010/17/205836amb7zm0mvbv6tg6h.png)
测量电极
![011.png 011.png](https://static.assets-stash.eet-china.com/forum/202010/17/205836vo6bawbf9poooy9a.png)
说明:
红色:右胸电极
蓝色:左胸电极
黑色:右腿驱动电极
ADS1292R初始化流程
![012.png 012.png](https://static.assets-stash.eet-china.com/forum/202010/17/205846bzurnairr1n2hxah.png)
软件截图
demo视图
![013.png 013.png](https://static.assets-stash.eet-china.com/forum/202010/17/205847hi4uqim9mmm4hjai.png)
demo视图
![013 [2].png 013 [2].png](https://static.assets-stash.eet-china.com/forum/202010/17/205846srz0drg7dfdfr3dc.png)
写入标签值
![014.png 014.png](https://static.assets-stash.eet-china.com/forum/202010/17/205847gl5fllg9o9zy9wq3.png)
实物测试
![015.png 015.png](https://static.assets-stash.eet-china.com/forum/202010/17/211507zsftosszipljh3is.png)
后记
- ADS1292R需要主控来初始化和采集。这就需要主控使用4个引脚进行SPI通信,和3个引脚来控制芯片动作。
- 如果使用红板子与ADS1292R模块通信,进行实时的心电的采集,这显然需要外界电源(如电池)。此外STM8L152是超低功耗单片机,且带有RTC,可以使用闹钟中断,每隔固定周期采集心率变化,降低功耗,延长电池使用时间
- 思路
-
链接:https://pan.baidu.com/s/1uOJFBANz2jetPnZMQknOow 提取码:3twl 复制这段内容后打开百度网盘手机App,操作更方便哦