Work submission: Fan modification based on RSL10
[Copy link]
Fan modification based on RSL10
Author: tobot
1. Introduction of the work
Improve the existing household fans to realize the "Internet of Things" fans.
Basic features include:
1. Give appropriate wind speed recommendations based on ambient temperature.
2. Manually adjust the speed of each fan.
3. Support the function of fan blowing out natural wind.
2. System Block Diagram
Use the "RSL10 Sensor Development Kit (with debugger) RSL10-SENSE-DB-GEVK" to check the ambient temperature, and transmit the temperature value to the local computer via Bluetooth. The local computer calculates the appropriate wind speed for the human body and gives a prompt on the GUI. The wind speed is manually specified (or a random wind speed is generated by the computer - natural wind effect). The "RSL10 Wireless SoC Evaluation Board RSL10-002GEVB" reads the wind speed given by the local computer, generates a PWM signal, and converts it into a 220VAC voltage control to adjust the fan motor speed.
At the beginning of the design, we considered the cloud function. However, due to time constraints, the cloud function has not been realized. Remote control is not supported yet, but local Bluetooth control of mobile phones has been added.
3. Functional description of each part
1. Temperature detection function
The BME680 of RSL10-SENSE-DB-GEVK is used to check the ambient temperature. When there is a Bluetooth reading, the temperature is submitted.
2. Bluetooth PWM function
RSL10-002GEVB is used as the server. When different signals are obtained, the output of PWM0 is changed. PWM0 is represented by the brightness of LED1 on the board, and the output is the INT0 pin.
3. PWM manages terminal voltage through thyristor
The PWM signal is used to control the voltage of the terminal fan through the thyristor and the thyristor, and the fan speed is controlled by voltage regulation. The PWM signal comes from the INT0 pin output of the RSL10-002GEVB.
4. Management machine and GUI
Through the computer's Bluetooth, different RSL10s can be connected at different times to realize the functions of temperature reading and fan speed control respectively.
4. Source Code
源码.rar
(736.77 KB, downloads: 6)
https://download.eeworld.com.cn/detail/tobot/620229
5. Demonstration video of the work’s functions
Recorded the GUI operation and the actual effect of the fan
https://training.eeworld.com.cn/course/6122
6. Project Summary
https://bbs.eeworld.com.cn/thread-1172751-1-1.html
VII. Others
I have been looking forward to participating in this event for a long time. After participating, I found that the goals I set before were too big. For example, the fan speed was uploaded to the cloud, the sensor directly sensed the fan movement, and multiple fans could find each other. These functions were not realized, and the relevant functions were directly cut off. Therefore, the final product looks a little simple. It even feels that because it is not uploaded to the cloud, it seems to be drifting away from the theme of this competition, "Internet of Things" (of course, a local Bluetooth network was still set up).
In general, I would like to thank Electronic Engineering World for giving us this platform to try and showcase ourselves. I would also like to thank ON Semiconductor and Avnet IoT Innovation Design Competition organizing committee for providing software, hardware, materials and training, as well as all the friends who helped me during the event. I will continue to participate in similar events next time I have the opportunity.
|