"Open source" a set of open source IoT / smart home hardware and software systems that can be quickly built by yourself

One. Open-source project introduction
A set of open source software and hardware systems, which can be used for secondary development and learning, and can quickly build your own IoT / smart home system. Hardware engineers can integrate their own devices into the system; software engineers can use the devices in the project to familiarize themselves with software and hardware interactions.
Two. Function overview
- Smart switch
- Wi-Fi controller
- LED lamp
- Seven-color smart lamp
Three. Technical selection
Backend
Related technologies:Spring boot, MyBatis, Spring Security, Jwt, Mysql, Redis, Mongodb, Mqtt, etc.
Development tools:IDEA
Frontend
Related technologies:ES6, Vue, Vuex, Vue-router, Vue-cli, Axios, Element-ui, etc.
Development tools:Visual Studio Code
Android
Related technologies:XUI, XPage, XAop, XHttp2, etc.
Development tools:Android Studio
Hardware end:
Related technologies: ESP-IDF, Arduino, FreeRTOS, etc.
Development tools:Visual Studio Code and Arduino
The server uses Spring Boot, the database is MySQL and Redis, the front end is Vue, the mobile end is Android, the hardware end is ESP-IDF and Arduino, etc. The software and hardware interaction is based on the Mqtt protocol, and the EMQ proxy server is used. The system architecture diagram is as follows:
The hardware end provides access documents, and the device must support network functions. The project includes hardware code and access examples for ESP-IDF and Arduino. At the same time, a smart switch (Wi-Fi disconnecting switch) board is made, which can be used for learning and life, and can control devices with a power consumption of 2500W or less. The complete hardware example code uses the ESP-IDF framework version 4.2, based on the Leshan ESP32S2 chip, and the Anxinke ESP-12K module.
- Remote control of mobile phones and computers
- Pairing, clearing, and control
- Air temperature and humidity monitoring
- Radar sensing and alarm
- 220V and 5V power supply, 2500W resistive load, 250W inductive load
Related development board
1、NodeMCU development board to make a smart switch
2、Seven-color smart lamp
3、IoT development board
4、IoT beginner learning package
Four, interface display
Management end
APP end
Five, open source protocol
Using MulanPSL-2.0 open source protocol