【E876】基于STM32的蓝牙PID水温控制程序

2021-09-08 19:11:20      索炜达电子      569     

项目编号:E876

文件大小:464K

源码说明:带中文注释

开发环境:C编译器

简要概述:

所用到的材料
stm32 c8t6最小系统
四个独立按键  
500w热得快
5v继电器模块
iic 四针oled屏
蓝牙模块
7805  220-12v变压器
DS18B20

7805线性电源提供5v直流给单片机和继电器模块,stm32 gpio口输出pwm可调方波,1hz频率,采用PID算法计算输出PMW占空比,温差大时,大功率输出,温差小时继电器不断开关,PMW占空比改变控制加热功率,OLED可见参数和水温,按键可调,增加了蓝牙控制,可以用手机调参,改变所需加热值

Keil代码

【E876】基于STM32的蓝牙PID水温控制程序

【E876】基于STM32的蓝牙PID水温控制程序

【E876】基于STM32的蓝牙PID水温控制程序

【E876】基于STM32的蓝牙PID水温控制程序

【E876】基于STM32的蓝牙PID水温控制程序

目录│文件列表:

 └ STM32水温

    │ keilkilll.bat

    │ README.TXT

    ├ CORE

    │  │ core_cm3.c

    │  │ core_cm3.h

    │  └ startup_stm32f10x_hd.s

    ├ HARDWARE

    │  ├ DS18B20

    │  │  │ ds18b20.c

    │  │  └ ds18b20.h

    │  ├ KEY

    │  │  │ key.c

    │  │  └ key.h

    │  ├ LED

    │  │  │ led.c

    │  │  └ led.h

    │  ├ OLED

    │  │  │ bmp.h

    │  │  │ oled.c

    │  │  │ oled.h

    │  │  └ oledfont.h

    │  ├ TIMER

    │  │  │ timer.c

    │  │  └ timer.h

    │  └ VALUEPACK

    │     │ valuepack.c

    │     └ valuepack.h

    ├ OBJ

    │  └ DS18B20.hex

    ├ STM32F10x_FWLib

    │  ├ inc

    │  │  │ misc.h

    │  │  │ stm32f10x_adc.h

    │  │  │ stm32f10x_bkp.h

    │  │  │ stm32f10x_can.h

    │  │  │ stm32f10x_cec.h

    │  │  │ stm32f10x_crc.h

    │  │  │ stm32f10x_dac.h

    │  │  │ stm32f10x_dbgmcu.h

    │  │  │ stm32f10x_dma.h

    │  │  │ stm32f10x_exti.h

    │  │  │ stm32f10x_flash.h

    │  │  │ stm32f10x_fsmc.h

    │  │  │ stm32f10x_gpio.h

    │  │  │ stm32f10x_i2c.h

    │  │  │ stm32f10x_iwdg.h

    │  │  │ stm32f10x_pwr.h

    │  │  │ stm32f10x_rcc.h

    │  │  │ stm32f10x_rtc.h

    │  │  │ stm32f10x_sdio.h

    │  │  │ stm32f10x_spi.h

    │  │  │ stm32f10x_tim.h

    │  │  │ stm32f10x_usart.h

    │  │  └ stm32f10x_wwdg.h

    │  └ src

    │     │ misc.c

    │     │ stm32f10x_adc.c

    │     │ stm32f10x_bkp.c

    │     │ stm32f10x_can.c

    │     │ stm32f10x_cec.c

    │     │ stm32f10x_crc.c

    │     │ stm32f10x_dac.c

    │     │ stm32f10x_dbgmcu.c

    │     │ stm32f10x_dma.c

    │     │ stm32f10x_exti.c

    │     │ stm32f10x_flash.c

    │     │ stm32f10x_fsmc.c

    │     │ stm32f10x_gpio.c

    │     │ stm32f10x_i2c.c

    │     │ stm32f10x_iwdg.c

    │     │ stm32f10x_pwr.c

    │     │ stm32f10x_rcc.c

    │     │ stm32f10x_rtc.c

    │     │ stm32f10x_sdio.c

    │     │ stm32f10x_spi.c

    │     │ stm32f10x_tim.c

    │     │ stm32f10x_usart.c

    │     └ stm32f10x_wwdg.c

    ├ SYSTEM

    │  ├ delay

    │  │  │ delay.c

    │  │  └ delay.h

    │  ├ sys

    │  │  │ sys.c

    │  │  └ sys.h

    │  └ usart

    │     │ usart.c

    │     └ usart.h

    └ USER

       │ DS18B20.uvguix.86133

       │ DS18B20.uvoptx

       │ DS18B20.uvprojx

       │ JLinkSettings.ini

       │ main.c

       │ stm32f10x.h

       │ stm32f10x_conf.h

       │ stm32f10x_it.c

       │ stm32f10x_it.h

       │ system_stm32f10x.c

       │ system_stm32f10x.h

       └ DebugConfig

          └ DS18B20_STM32F103C8_1.0.0.dbgconf

TAG蓝牙
  • 10 次
  • 1 分