
IOT Smart Home Monitoring and Control System
PROIOT Smart Home Monitoring and Control System
License
:Public Domain
Description
Project Description
This design is mainly planned from the main controller, data collection, terminal execution, Internet of Things cloud platform, and WeChat applet control. The main controller based on the SMT32F103RCT6 microcontroller is connected to external devices such as combustible gas sensors, temperature and humidity sensors, illumination sensors, etc. to collect home environment data; it performs terminal operations through buzzers, servos, stepper motors, etc.; and then connects to the Internet through the WiFi module EPS8266 , using the MQTT protocol to complete data transmission from hardware devices to cloud servers; users can monitor their home environment in real time by accessing the WeChat applet. Finally, the addition of the voice recognition module allows users to control peripherals, environmental data monitoring and other functions through voice even without a network.
PS: I participated in the Spark Project in order to complete my undergraduate graduation project. I would like to thank JLC Open Source Platform for its consumable support.
Open Source Agreement
The content is open to the public and there are no restrictions on downloading and use.
Project Related Functions
1.The buttons control the multi-level menu to display different environmental data and control peripheral functions, and can change the thresholds of various environmental data.
2.After the environmental data exceeds the threshold, it will alarm and perform peripheral control functions.
3.Voice recognition controls the switch of system peripherals.
4.The applet monitors environmental data in real time and controls the switches of peripherals.
Project Properties
This project is made public for the first time and is my original project. The project has not won any awards in other competitions.
Project Progress
The design function has been roughly completed and debugged successfully, but there is still room for improvement, such as master-slave communication, switching between manual control and automatic control, adding an operating system, priorities of different control methods, system hibernation and other functions.
The current project uses a PCB+SMT chip consumable application from Jialichuang to complete the first version of the design. However, due to design flaws, personal device material inventory is subsequently used to complete the second version, which is the V2.0 version in the schematic diagram.
Design Principles
The connection diagram of each module is shown below. You can refer to the schematic diagram for analysis.
Software Description
The software design block diagram is as follows:
The software flow diagram is as follows:
Physical Display
The actual appearance picture is as follows:
Design Considerations
Due to personal lack of experience and ability, the PCBLayout of this design still has some unreasonable aspects, so it does not have reference value. The hardware code will be attached in the attachment below.
The PCB reserves an SPI communication interface for establishing connections with devices that use SPI communication; it leads to the unused I/O ports of STM32F103RCT6.
Other
The demonstration video, mini program and speech recognition module code will be attached later. If it is of reference value, please give it a thumbs up!
Production process: Internet of Things smart home monitoring and control system-production process
Function Demonstration: Internet of Things Smart Home Monitoring and Control System-Function Demonstration
Designed by edcullen (from OSHWHub)
Design Drawing


Comment