JFET

【Second test in progress】Smart WiFi IoT socket

 
Overview

Ignore the introduction~

The open source license of this project is CC-BY-NC-SA 3.0 (Creative Commons License-Attribution-NonCommercial-ShareAlike). You must give appropriate attribution, provide a link to this license agreement, and indicate whether (for original work) has been modified; if you remix, transform, or create based on this work, you must share and publish your contributed work under the same license agreement as the original license agreement; you may not use this work for commercial purposes.

Recommended project: IoT switch

Due to personal reasons, I mistakenly placed the S8550 transistor at the lower end of the relay and did not discover the problem in time, resulting in the equipment not working properly. I deeply apologize for this and am currently correcting it.

During the initial test, I also encountered the problem of the relay closing but the LED not lighting up. I initially thought the triode was burned out, but the problem was not solved after replacing the triode. When the B pole is at a low level, the voltage of the C pole of the transistor is measured to be about 3.8V, so R3 is changed to a 0Ω resistor, and the LED positive pole is flying to 5V. The function is normal. I mistakenly thought that the test had been successful and released it without realizing the problem. location

A must see! Tutorial on adding devices and burning programs (column at Station B)

Operation demonstration video (Bilibili video)

CSDN link

I feel that the previous version 5.3 WiFi smart switch is not very practical and can only be installed in an 86 junction box. Moreover, for some novices, it is risky to modify the home circuit. So I plan to build a WiFi smart socket, which eliminates the need for wiring and is safer.

Some component Taobao links

Shell Taobao link
220V to 5V power module U2 Taobao link (the store in the original link no longer sells it, the link has been updated, see the picture below for purchase)

Please click me to buy ACDC module

Long press SW1 Taobao link (recommended 5H. If it is too long, you can cut it off)

Complete attachment download (code, package, apk, driver, IDE) Baidu network disk extraction code 8266

At the end of this project you can download attachments other than Arduino IDE (recommended)

Blinker lighting library file download address

Function

  1. Local button, cloud, voice assistant control device
  2. Mobile phone distribution network, network information will not be written down

Instructions

  1. Power on: Plug the device into the socket and wait for the device to connect to the Internet
  2. Switch: Press the "Turn on the lights", "Turn off the lights", "Click me to turn on the lights" button on the cloud, call Xiao Ai to turn on the lights, and short press the button on the top of the device
  3. Pressing the "delay opening and closing" button on the cloud or long pressing the button on the top of the device will allow the device to delay opening and closing the circuit after 12 minutes (obsolete)

QQ picture 20210706183606.jpg

Distribution network tutorial

1.QQ picture 20210809075306.jpg

2.QQ picture 20210809075319.jpg

3.QQ picture 20210809075316.jpg

4.QQ picture 20210809075314.jpg

5.QQ picture 20210809075310.jpg

6.QQ picture 20210809075301.jpg

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-06-22 17:04:41

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号