当前位置:网站首页>Design of environment detection system based on STM32 and Alibaba cloud
Design of environment detection system based on STM32 and Alibaba cloud
2022-07-29 04:01:00 【Forever with 1】
One 、 Main functions
1、STM32 Collection temperature and humidity , The concentration of carbon dioxide is local OLED Data display
2、STM32 Send data to through serial port ESP8266, Then upload the data to Alibaba cloud
3、 mobile phone app View data remotely + Open state of remote control switch
4、 When the temperature is higher than the set threshold, the buzzer will alarm ( Press the key to adjust the threshold change )
5、 You can try to join again web display
Two 、PCB Design



3、 ... and 、 Main chips and sensors
1、STM32F103ZET6 chip
2、ESP8266(ESP-01)- Connect to alicloud
3、DHT11
4、 Three in one gas sensor ( Carbon dioxide concentration / Formaldehyde concentration /xxx) Sensor link
5、 Buzzer
6、0.96 " OLED screen
Four 、 What happened :
As the course ends, it needs , First try Sketchpad , There are inevitably some flaws and problems , But the board can be used normally
1、 The buzzer circuit can be modified ( In the video, I connected an external buzzer )
2、usb Download problem (micro USB You can change that type-c The interface is encapsulated with that usb Power supply , Convenient welding )- You can also directly do not weld
3、 In fact, there is no need USB( Pick up ch340 chip ) Download program , Use it directly ST-link Class simulator to download the program
4、OLED The connector can be directly welded to the busbar , As a result of careless welding into a row of needles , So I used DuPont cable to connect
Four 、 Final demonstration + Wiring video
The video was repeated by myself , No rehearsal , No mobile phone holder , So the effect is average
Demo video
stm32pcb connection + Demo video
5、 ... and 、pcb+ Code file link
pcb Engineering documents + Code sharing is as follows :
边栏推荐
- First ALV program 2
- I. creation and constraint of MySQL table
- 新零售O2O 电商模式解析
- BGP的基础配置---建立对等体、路由宣告
- Extended operator of new features in ES6
- When defining an array, the size must be constant
- Remote desktop connection error
- First knowledge of C language (3)
- Data too long for column 'xxx' at row 1 solution
- C declaration and initialization and assignment
猜你喜欢

Deep understanding of browser caching mechanism (HTTP)

Configmap configuration and secret encryption

Solve the delay in opening the console of Google browser

Zhihuijun, a genius of Huawei, made a modular mechanical keyboard, which caused an earthquake in the geek circle. Netizens: This is the real customization

CUB_ Visualization of key points in 200 bird dataset

从2019 年开始,你一定停止使用了这个营销策略…

企业网的三层架构

Why BGP server is used in sunflower remote control? Automatic optimal route and high-speed transmission across operators

First knowledge of C language (3)

Shopify seller: EDM marketing should be combined with salesmartly to easily get the conversion rate
随机推荐
C language - character array - string array - '\0' -sizeof-strlen() -printf()
一文学透MySQL表的创建和约束
The output comparison function of Tim is introduced in detail through PWM breathing lamp and PWM controlled DC motor
Shopify卖家:EDM营销就要搭配SaleSmartly,轻松搞定转化率
Connection broken by 'readtimc rt-443): read timed out (read timeout=l5)“)‘: /pac
Interview essential! TCP classic 15 consecutive questions!
【深度学习CPU(番外篇)——虚拟内存】
1. Mx6u driver development-2-led driver
安装ros的laser_scan_matche库所遇到的问题(一)
VScode连接ssh遇到的问题
A little understanding of pointer, secondary pointer, wild pointer, pointer as function return value
Deep understanding of browser caching mechanism (HTTP)
JS realizes the function of one click Copy
Configmap configuration and secret encryption
[redis series] string data structure
sql
SFTP upload error: com.jcraft.jsch JSchException: connection is closed by foreign host
2. Variables and scope
BGP的基础配置---建立对等体、路由宣告
C language: getchar () and cache