Qxez9f9

eWeLink WiFi Light Switch (Single Channel) [Upgraded Version for Better Performance]

 
Overview
Two PCB files are provided for different application scenarios. You can create your own PCB according to your needs.
The program can be downloaded directly (the program has been optimized as of November 20, 2024; the servo returns to center 1 second after movement to avoid damage caused by prolonged panel jamming – highly recommended!). This
is a must-have for university dormitory light switches. The schematic, source code, and PCB are open-source. Multiple people can remotely control a single switch outdoors, and it can also be connected to a Xiao Ai speaker for control.
I initially saw a similar product on Taobao and thought it was very creative, so I quietly noted it down. I wanted to buy one, but the finished product was expensive and couldn't connect to the network, so I decided to make one myself.
The simplest components are: an eMicroLink PSF-B04 module + an STC8G1K08 + an SG90 servo motor, forming a single-channel independent servo motor with angle data retention even after power loss.
The servo angle can be modified using a host computer serial port assistant or fine-tuned using a serial encoder control board. This is a single-channel design. The first step is to select channel 1, the second is to adjust the closing angle, and the third is to adjust the opening angle.
Refer to the video tutorial at https://oshwhub.com/liujianqi1688/dan-pian-ji-guan-deng-shen-qi-lan-ren-kai-guan.
There is also a separate control board, which is recommended!
 
//The source code and PCB for the above project are publicly available. Search for the username "奇奇爱上单片机" on the "LCSC Open Source Hardware Platform".
//Microcontroller model: STC8G1K08 //1. When burning the program, be sure to select built-in IRC=30MHz. //2. Change the IRC debugging mode to "Do not adjust, use the internal preset frequency". //2. Set the reset pin to the IO port. //3. Uncheck the option to erase the user EEPROM area when downloading the user program.
/*No technical support is provided; this is just for sharing out of passion. This is an open-source blogger's work; it is for use only and not for commercial purposes. For questions, please discuss in the comments section below. */ This solution was designed by: Qiqi ( 
TikTok): Mr. Qiqi (Most Adorable Qiqi in the Universe); Kuaishou ID: Qiqi Loves Microcontrollers; Bilibili: Qiqi Loves Microcontrollers; QQ: 1715755109 (For custom microcontroller programming and PCB design, please add me as a friend and indicate your purpose. Paid design services available; serious inquiries only). QQ Group: 499067314 (Welcome all microcontroller enthusiasts to join the group; group files and materials are available for free download).
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-24 06:10:07

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号