hwKyyc7XEv

WeChat applet + Alibaba/Onenet IoT + esp32 to build a serverless system

 
Overview

 Today I am going to start building a serverless version of the Internet of Things system using WeChat applet + Alibaba/Onenet IoT platform + esp32.
This solution is upgraded on the basis of 4G communication. The RYK-Ruyi control system is compatible with 4G communication and WiFi communication, and can achieve the same functions.
Today I will write down the main design ideas.
    The front end ----- completes the human-computer interaction function with the user. It is prepared to use WeChat applet development + Alibaba IoTStudio IoT platform or China Mobile onenet platform for users to control IoT devices. (This part All free)
Server-----Using WeChat applet cloud development to realize database storage, image storage, data processing cloud functions and other functions. (This part is also free)
IoT middle platform------Using Alibaba IoT platform or China Mobile onenet studio platform to create IoT products, create IoT devices, manage IoT devices, and control devices through the MQTT protocol. Cache device attribute data and service data and other functions, (using public platform for free)
Mobile IoT device side------Using ESP32 for hardware design to realize relay control, digital switch quantity information collection (on and off), analog quantity Information collection (stability, voltage, etc.), 485/232/modebus communication and other functions.
Circuit design and plate making------Circuit design adopts Jialichuang platform design power + plate making. (Basically free here)
The front-end WeChat applet controls the device and is directly connected to the Alibaba IoT platform or onenet studio platform. The IoT platform and the device are linked through WiFi communication to perform device measurement and control functions.
WeChat mini program cloud development serves as a data management platform to manage and control the entire project.
   7. Connect the ESP32 of the WiFi module to the router and configure the router account and password through the mobile phone's APP--smartconfig.
     The project includes small program development, server development, IoT middle-end development, ESP32-WiFi module development, microcontroller program development, circuit diagram design, component selection and welding, overall system debugging, etc. (After eating soft rice, eat hard rice. It’s hard!!!)
 
1. Hardware design
      Hardware is the core of system implementation, involving hardware design and ESP32 module program development.
     The hardware part includes the ESP32 module core board, and
     its functions include: ESP32 Module core board, 4G, 5V power supply, lithium battery charging, lithium battery power supply SI network indicator light, etc.
     The hardware part includes ESP32 measurement and control baseboard
       functions including: Ruyikong measurement and control baseboard, optocoupler isolation relay, sensor, LED light, temperature sensor, ADC acquisition potentiometer, etc.
2. Data summary
To build the IoT platform, you can refer to the following blog. The 4G connection IoT platform and mini program of Air724UG are the same as the ESP32-WiFi connection.
WeChat mini program + Alibaba IoT platform + Hezhou Air724UG builds a serverless IoT system ( 1)
https://blog.csdn.net/unforgettable2010/article/details/122355050
WeChat applet + Alibaba IoT platform + Hezhou Air724UG to build a serverless IoT system (2) --- Alibaba IoT platform is built
https: //blog.csdn.net/unforgettable2010/article/details/122889742Here’s
 
the key point: This is the open source code of the mini program, remember to add stars! !
https://gitee.com/TR_studio/WXtodvc?_from=gitee_search
 
B station video connection (if the video below cannot be played, you can also refer to this video)
[WeChat applet + Alibaba/Onenet IoT platform + esp32 to build a serverless IoT system 】 https://www.bilibili.com/video/BV14M411h74G/?share_source=copy_web&vd_source=4eb2c999b10a888d2ba3fb3d2016ad8b
 
3. Finished product display
The following is a picture of the hardware after welding,
a motherboard picture,
a bottom plate picture,
a schematic diagram, and
a hardware diagram.
 
 
参考设计图片
×
Design Files
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-15 16:26:03
  • E Gold Mine Exchange
  • Application 430fr5739
  • AD sampling issues
  • The role of capacitors in op amp circuits
  • OK2440 development board cannot enter the system after power on
  • Special Double 11 ^_^

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号