When I was a student, I majored in electronic information. At that time, I had an idea to use the knowledge I learned to build my own Internet of Things smart home system (I think every kid who loves to toss may have had similar ideas), but due to various The reason for the delay happened that the forum and ON Semiconductor gave me such an opportunity. The purpose of this work is to use ON Semiconductor RSL10 low-power Bluetooth chip to build an IoT smart dormitory system based on the characteristics of students' dormitory life and realize several functional nodes. The control terminal uses a very convenient WeChat applet to monitor data. Through the functional units composed of RSL10 boards for data collection or action control, and realizing the monitoring function of WeChat applet, this project is a simple intelligent control solution for student dormitories, which can be used as courses/graduation projects for students in related majors. Or a case study of ON Semiconductor University planned courseware.
Environmental monitoring node: implemented using RSL10-SENSE-DB-GEVK, making full use of onboard sensors, ambient light, BME680 gas, pressure, humidity and temperature sensors, and INMP522 (ultra-low noise digital microphone) to collect indoor environmental data. An IO reserved by the board is used to control the fan switch.
Lighting control node: implemented using the RSL10-002GEVB+ extended version. There are RGB lamp beads on the expansion board, driven by the I2C interface RGB constant current driver chip SM726EB, which can realize any color control and light bulb switch.
Plant housekeeper node: implemented using the RSL10-002GEVB+ extended version. There is a photoresistor (read data through AD) on the expansion board for collecting light, and a capacitive soil moisture sensor (read data through AD) for collecting soil moisture. DC small Water pump (controlled via IO) is used for watering.
Power consumption management node: It is implemented using the RSL10-002GEVB superimposed expansion board. The Belling BL0937 energy measurement chip on the expansion board is used to collect the power consumption and current and voltage effective value parameters, and the relay is used to control the output power outage.
Health management node: Reserved. This interface is very rich in functions and can add a variety of common health measurement devices, such as heart rate, blood oxygen, body fat, etc. There will be time to slowly study and improve it in the future.
This DIY has completed the mutual communication function between the BLE Bluetooth SoC RSL10 and the WeChat applet through Bluetooth. The method of data transmission is not broadcast, but the method of writing characteristic values and subscribing to notifications. Due to time and myself The ability is limited and the work is rough. Please forgive me. This project simply implements the basic functions of the project through two characteristic values of a service (one has read permissions and notification permissions, and the other has write permissions). The actual product usually Multiple services and multiple characteristic values are used. This project makes full use of board software and hardware resources and existing hardware modules on hand to implement three functional nodes: environmental monitoring, lighting control, and plant housekeeping. In fact, these functions are similar. In the abstract, they are nothing more than Bluetooth devices and WeChat applets. For data transmission and reception between different functional nodes, the main reason is that the application layer logic functions are different. For development, after realizing the two-way data sending and receiving between WeChat applet and RSL10, we can use the ultra-low power consumption characteristics of RSL10 to realize many intelligent and practical products, such as smart body fat scales, smart water cups, etc., which have higher battery life requirements. The product.
If you want to communicate with the author of the design work, you can go to the work release post: http://bbs.eeworld.com.cn/thread-1172769-1-1.html
Blockdiagram
All reference designs on this site are sourced from major semiconductor manufacturers or collected online for learning and research. The copyright belongs to the semiconductor manufacturer or the original author. If you believe that the reference design of this site infringes upon your relevant rights and interests, please send us a rights notice. As a neutral platform service provider, we will take measures to delete the relevant content in accordance with relevant laws after receiving the relevant notice from the rights holder. Please send relevant notifications to email: bbs_service@eeworld.com.cn.
It is your responsibility to test the circuit yourself and determine its suitability for you. EEWorld will not be liable for direct, indirect, special, incidental, consequential or punitive damages arising from any cause or anything connected to any reference design used.
Supported by EEWorld Datasheet