ghaytweyhtoo

Solar garden light remote control panel 2 based on HK32F030MF4P6

 
Overview
Based on HK32F030MF4P6 as the main control, it connects to the WIFI access server through ESP8266-12F to realize remote control of the solar garden light switch.
The power supply uses a 12V power supply, which is reduced to 3.3V by the DCDC step-down IC to power the HK32F030MF4P6 and ESP8266.
The N-MOS tube is controlled by the HK32F030MF4P6 microcontroller to control the switch of the 12V garden light.
Access the WIFI network through EPS8266-12F and connect to the IoT server to realize remote switching of lights.
 
【Source of idea】
 
I earlier placed a 20W solar panel on the balcony of my bedroom, charged the 12.6V-18650 battery pack through the solar controller, and then connected the 12V-10W-LED COB lamp beads through the battery pack to use as a night light.
problem found:
 
1. Due to the limited capacity of the battery pack and the excessive power of the external lamp beads, long-term use of the night light will cause the battery to run out;
2. The entire system is placed on the bedroom balcony. To turn on and off the night light every day, you need to go to the balcony to turn it on and off. Especially in winter, you have to get out of bed and run to the balcony to turn off the lights before going to bed at night;
Therefore, a bold idea came into my mind. . .
 
The initial expectation was to directly program the ESP8266 to realize the networking function, but due to procrastination, it was never implemented until this time when Lichuang + Hangshun + Innovation Workshop jointly held an event. PCBs, components, and burners were all given away for free. While thinking, you can also learn knowledge and skills, so we have this design and production
 
【Basic structure】
 
【Problems encountered】
 
It was my first time to come into contact with a 32-bit M0 core microcontroller. I was not very familiar with the development environment. After following the tutorials for a long time, I chose the low-cost HK32F030MF4P6 and I just couldn’t use the familiar Arduino (the Internet search for information failed). The group friends chose HK32F103C8T6, HK32F103CBT6, etc. can perfectly support Arduino, which makes you look envious.
 
【Summarize】
Through this study, I have a preliminary understanding of the 32-bit M0 core microcontroller, which exposed a lot of knowledge shortcomings, and I will slowly make up for it in the future. I will put the server front-end and back-end files in the attachment later for everyone to learn and progress together. This system uses a 4.5-28V wide voltage power supply, and the MOS tube supports up to 10A current. It can not only control LED lights, but also be used as a universal remote switch for other projects.
 
At the same time, we have also seen the power of domestic microcontrollers. The price increase of STM32 microcontrollers this time will greatly increase the shipments of domestic microcontrollers, making Chinese people better understand and trust domestic brands, and even allow domestic microcontrollers to go out of the country and go to the world!
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-20 12:24:39

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号