调试代码:
/**打印实测电压值printf("\r\nCH0 Value = %f V\r\n", ADC_ConvertValueLocal[0]);
printf("\r\nCH1 Value = %f V\r\n", ADC_ConvertValueLocal[1]);
printf("\r\nCH2 Value = %f V\r\n", ADC_ConvertValueLocal[2]);
printf("AAA%d", (int)ADC_ConvertValueLocal[3]);
printf("%f", ADC_ConvertValueLocal[3]);
printf("AAA%d%d%d%d", a1, a2, a3, a4);
printf("AAA%d", (int)ADC_ConvertValueLocal[5]);
printf("\r\n\r\n");
a1 = (int)(ADC_ConvertValue[2] / 1000);
a2 = (int)(ADC_ConvertValue[2] % 1000 / 100);
a3 = (int)(ADC_ConvertValue[2] % 1000 % 100 / 10);
a4 = (int)(ADC_ConvertValue[2] % 1000 % 100 % 10);
ADC_ConvertValueLocal[0] = (float)ADC_ConvertValue[0];
ADC_ConvertValueLocal[1] = (float)ADC_ConvertValue[1] / 4096 * 3.3;
ADC_ConvertValueLocal[3] = (int)ADC_ConvertValue[3];
ADC_ConvertValueLocal[4] = (float)ADC_ConvertValue[4] * 100 / 4096 * 3.3;
ADC_ConvertValueLocal[5] = (float)ADC_ConvertValue[5] * 10 / 4096 * 3.3;*/
引脚接线:PA0 -- OUTPUT
VIN -- 3.3V
GND -- GND
没有合适的资源?快使用搜索试试~ 我知道了~
Pulsesensor stm32心率程序
共289个文件
d:58个
o:58个
crf:57个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
5星 · 超过95%的资源 30 下载量 34 浏览量
2021-11-22
20:05:45
上传
评论 17
收藏 8.08MB ZIP 举报
温馨提示
主控芯片为STM32f103ZET6 通过ADC采集心率信号,经由DMA直接读取到存储器并将模拟数据打印到上位机,内含心率解析算法可直接由心率信号求得心率,高效准确,可直接使用。
资源推荐
资源详情
资源评论
收起资源包目录
Pulsesensor stm32心率程序 (289个子文件)
ADC.uvguix.86157 73KB
ADC.axf 415KB
stm32f10x_tim.c 107KB
stm32f10x_flash.c 61KB
stm32f10x_rcc.c 50KB
stm32f10x_adc.c 46KB
stm32f10x_i2c.c 45KB
stm32f10x_can.c 44KB
stm32f10x_usart.c 37KB
system_stm32f10x.c 36KB
stm32f10x_fsmc.c 35KB
stm32f10x_spi.c 30KB
stm32f10x_dma.c 29KB
stm32f10x_sdio.c 28KB
stm32f10x_gpio.c 23KB
stm32f10x_dac.c 19KB
core_cm3.c 17KB
stm32f10x_cec.c 11KB
bsp_usart.c 10KB
stm32f10x_pwr.c 9KB
stm32f10x_rtc.c 8KB
stm32f10x_bkp.c 8KB
misc.c 7KB
stm32f10x_exti.c 7KB
stm32f10x_wwdg.c 6KB
bsp_filter.c 5KB
stm32f10x_it.c 5KB
stm32f10x_dbgmcu.c 5KB
stm32f10x_iwdg.c 5KB
bsp_adc.c 4KB
stm32f10x_crc.c 3KB
bsp_math.c 3KB
bsp_tim.c 2KB
main.c 2KB
stm32f10x_tim.crf 375KB
bsp_usart.crf 362KB
stm32f10x_can.crf 362KB
stm32f10x_adc.crf 361KB
stm32f10x_rcc.crf 361KB
stm32f10x_flash.crf 361KB
main.crf 360KB
stm32f10x_i2c.crf 360KB
stm32f10x_it.crf 359KB
bsp_math.crf 359KB
stm32f10x_usart.crf 359KB
stm32f10x_fsmc.crf 359KB
bsp_filter.crf 359KB
stm32f10x_sdio.crf 358KB
stm32f10x_spi.crf 358KB
stm32f10x_gpio.crf 357KB
stm32f10x_dma.crf 357KB
stm32f10x_dac.crf 355KB
stm32f10x_cec.crf 355KB
bsp_adc.crf 355KB
system_stm32f10x.crf 355KB
stm32f10x_bkp.crf 355KB
stm32f10x_rtc.crf 355KB
stm32f10x_pwr.crf 355KB
stm32f10x_exti.crf 354KB
stm32f10x_wwdg.crf 354KB
misc.crf 354KB
bsp_tim.crf 354KB
stm32f10x_iwdg.crf 353KB
stm32f10x_crc.crf 353KB
stm32f10x_dbgmcu.crf 353KB
arm_mat_cmplx_mult_q15.crf 99KB
arm_mat_cmplx_mult_q31.crf 99KB
arm_mat_cmplx_mult_f32.crf 99KB
arm_mat_inverse_f32.crf 99KB
arm_mat_inverse_f64.crf 99KB
arm_mat_mult_fast_q15.crf 99KB
arm_mat_mult_fast_q31.crf 99KB
arm_mat_mult_q15.crf 98KB
arm_mat_mult_q31.crf 98KB
arm_mat_mult_f32.crf 98KB
arm_mat_scale_q31.crf 98KB
arm_mat_add_q31.crf 98KB
arm_mat_sub_q31.crf 98KB
arm_mat_trans_f32.crf 98KB
arm_mat_trans_q31.crf 98KB
arm_mat_scale_q15.crf 98KB
arm_mat_trans_q15.crf 98KB
arm_mat_add_q15.crf 98KB
arm_mat_sub_q15.crf 98KB
arm_mat_add_f32.crf 98KB
arm_mat_sub_f32.crf 98KB
arm_mat_scale_f32.crf 98KB
arm_mat_init_q31.crf 98KB
arm_mat_init_q15.crf 98KB
arm_mat_init_f32.crf 98KB
core_cm3.crf 4KB
stm32f10x_dbgmcu.d 3KB
stm32f10x_flash.d 3KB
stm32f10x_usart.d 3KB
stm32f10x_it.d 3KB
stm32f10x_fsmc.d 3KB
stm32f10x_wwdg.d 3KB
stm32f10x_gpio.d 3KB
stm32f10x_exti.d 3KB
stm32f10x_sdio.d 3KB
共 289 条
- 1
- 2
- 3
青渡QAQ
- 粉丝: 40
- 资源: 1
下载权益
C知道特权
VIP文章
课程特权
开通VIP
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页