supremeOne

ESP8266, 12v multi-channel Homekit smart socket

 
Overview

 This project is a Homekit directly connected smart socket based on the firmware at https://github.com/RavenSystem/esp-homekit-devices on GitHub

Because there are many devices on my workbench that require 12v power supply, I used a 12v29A MEAN WELL switching power supply as the main power supply.

Then distribute it to devices that need to use 12v through smart sockets

The printed board has been verified and tested correctly and can be used normally.

 

I just learned EDA not long ago, and I got help from many big guys during the learning process.

Part of the DC-DC schematic diagram is used by Mr. Sun from station b.

DCDC_MP2315 - Jialichuang EDA open source hardware platform (oshwhub.com)

The power supply layout uses this guy’s DCDC_MP2315 - Jialichuang EDA open source hardware platform (oshwhub.com)

Thanks for this

 

 

=======================

Instructions

 

After the welding is completed, short-circuit GPIO0 (that is, SW3) and GND (on the leading pin header), plug in the USB-to-serial burning tool, connect the RX TX GND 3V3, power on, and burn in the esp8266 burning tool. firmware

Download the latest firmware here

https://github.com/RavenSystem/haa/releases

Just burn the fullhaaboot firmware

 

 

For the initial configuration network of this firmware, please refer to github. The configuration file is given here.

 

{"c":{"b":[{"g":2,"t":5}]},
"a":[
    {"0":{"r":[{"g":12,"v":0}]},"1":{"r":[{"g":12,"v":1} ]},"t":2,"s":0,"b":[{"g":5}]},
    {"0":{"r":[{"g":13,"v":0}]},"1":{"r":[{"g":13,"v":1} ]},"t":2,"s":0,"b":[{"g":4}]},
    {"0":{"r":[{"g":14,"v":0}]},"1":{"r":[{"g":14,"v":1} ]},"t":2,"s":0,"b":[{"g":0}]},
    {"0":{"r":[{"g":15,"v":0}]},"1":{"r":[{"g":15,"v":1} ]},"t":2,"s":0,"b":[{"g":2}]}
]
}
 
After flashing the firmware and configuring the configuration file
Connect to the 12V power supply. After a while, you can find this device in Apple's home. Just follow the tutorial written on github to add it.
 
Use the 2.54 plug to connect GND and SW1, 2, 3, 4 externally, and you can switch the power supply of each channel through the 4 external buttons.
I use a mechanical keyboard switch...
 
The BOM table is a bit messy, because lceda is still getting familiar with it, and the packaging is a little wrong, but the schematic is completely correct.
I only started DIY production in the past two months, so the schematic diagram is very messy, please forgive me...
 
 

 

 

 

 

 

参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2025-05-21 01:38:26

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号