Come to see! A new DIY from Chocho~
Yes! What you have seen is a smart plugboard that converted by ESP32 master board and controlled by BLE of ESP32. As a fan of Arduino, I am worried about that ESP32 has been supporting Wi-Fi and Bluetooth but without libraries files for Arduino. However, the smart plugboard can control many slave equipment at the same time. Trust me, I have made two and tested them.
Am I the first one to DIY with BLE of ESP32?
The video is a little bit long; please see the following steps to the details of working process.
Hardware in need:
*Click here to download the program and the source code for 3D printing.
1. Take a power adaptor and used plugboard apart.
You would better use tweezers or nippers to break the power adaptor. Mine power adaptor used glues not screws to compound and it is very hard to take it apart.
Talking about how to take the used plugboard apart, you can refer to the video. Anyway, different factories produce different plugboards.
2. Make power cables.
You need to find a length of household wire, no requirement of types and demolish the outer enameled wires that are about 10cm.
(1)Solder the AC power line wire.
Solder one segment wire to the entry of AC.
Caution: To avoid leaking, no too many solders.
(2) After the soldering, you should use a diagonal nipper to remove the USB power-supply interface.
(3) Then, you should solder a power cable to supply the FireBeetle board.
3. Connect the board.
The Circuit Diagram is as below:
D2 controls a relay, D3 controls RGB.
In this step, you should fix the relay, Beetle BLE board, plugboard.
You can refer to the radio for details.
4. Complete machine assembly.
Fix the plug with solders and put it into the crust.
Moreover, this is the end.