Blueprint

Home control panel

With the ESP32-C3 you can control your smart home and other things, all wirelessly!

Created by mavory mavory

Tier 4

3 views

0 followers

mavory mavory submitted Home control panel for ship review ago

mavory mavory added to the journal ago

Testing and completion

20260314_193845

After a long time and high cortisol because of everything, I finished my project and went to try everything!! I thought it would be best if I tried everything at once and I started with the printer - it worked perfectly and then I also tried the device controlled via Sinric and everything worked perfectly. Only sometimes I had problems with WiFi, but that was to be expected, because sjem had almost no antenna and everything was still in the box.
Snímek obrazovky 2026-03-14 192722

Website completion

I forgot to finish the website so I could control everything and change settings through it. So I had that done in about a couple of hours and I did it in my favorite black and white theme! I also added the ability to upload new code (I already had all these things in the old one, so I just added it and didn't have to code it from scratch) and it was done.
Snímek obrazovky 2026-03-14 193538

mavory mavory added to the journal ago

Codinggggg

At first I thought it would be fun to code it, but after a while I still didn't know how to make the code work, but to connect to the Bambu printer and other things. So I wrote the basics, which also took me a long time. Sometimes the WiFi simply wouldn't load at all, or for example the buttons weren't recognized when I pressed them 3 times, etc.
20260228_230813
So I already had the basics, and I also added an improvement - monitoring the information from the printer on the OLED display, so I wouldn't have to go to the printer screen all the time.
Everything worked very well, but I had to do a few things that were important for my code, because I was already at the stage where I couldn't solve the bugs, so I asked for help and the code is now working beautifully!!!
20260314_151218

mavory mavory added to the journal ago

Case completion

I told myself that if it works for me, I'll glue it and upload the code online via .bin! I had the quick transfer code ready and I was able to upload it before closing. It went well and I took the glue in my hand and glued the 2 parts together.
It was tedious, because when I glued it somewhere, it came off somewhere again, so it took longer than I expected. I also couldn't avoid sticky fingers... Then I sanded the case to clean it of the glue that came off my 3D case and that was it for now.
1000026703

mavory mavory added to the journal ago

My first test!!!

I was excited, so I quickly ran closer to the WiFi to test if the system would connect! And suddenly I plugged in the cable and everything worked fine. I was happy that the buttons were recognized well and when I plugged the battery into the adapter, it charged (YAYYYY).
The display lit up, but the WiFi didn't connect very well and I said to myself that I'll have to redo the whole code from scratch because it's terrible for now and I'll probably change it overall, if only it would work.
1000026028 (1)
When I put it back, some cables "unexpectedly" broke off again and I had to take out my soldering iron again and solder it carefully... But I had it finished in a few minutes and I could continue!
1000026700

mavory mavory added to the journal ago

Assembling components into a case

FAHHHHH.....

I had everything I needed ready and soldered all the cables to the ESP32. It went quickly, but many times the cables came loose from the holes, so I kept having to put it back together... When something fell off, I soldered it even more tightly, then another cable fell off and I thought it was just a hallucination - but it wasn't, so I took the tin and soldered everything tightly to make it hold.
So I started gluing things into place right after that and it went very well! I accidentally glued my finger in place a few times, but after a while I had it done. The OLED display fit into place very well and I was happy about that!
20260228_232732
Furthermore, I didn't know how to put it all together at all and I thought for a long time how to do it. First, I experimented with putting the battery on top and the ESP32 below it, but as I found out, the small integrated antenna couldn't handle it and the WiFi didn't work. It took me a long time to solve this case because I didn't know it would cause such a problem.
1000025993
So I continued with the idea that I would put the battery on the bottom, spread the cables all over the case and the ESP32 would go on top. Hopefully it will work....
1000026701

mavory mavory added to the journal ago

Soldering!!

After a minor mistake, I came to my senses and started doing something serious! So I took all the buttons and gradually had to fit each one with a cable and then connect all the GND and VCC so that only 1 cable was created from them. The worst thing was when my cables kept falling apart and I couldn't take it anymore...
1000025906
Immediately after that I continued soldering the battery, where I had to be careful about the temperature... I managed it well! When I had it connected to the cables, I wrapped it with tape to prevent a short circuit in the box and the cable from getting caught.
Next, I took the charging module and everything went quite well...
1000025903
Except for one small thing - it seemed that when I wanted to test if it was charging, the charging module kept showing me that the device was drawing power even though I had nothing connected.
So I decided to use my old charging module, which I had for a long time and I must say that it works very well!
1000025927

mavory mavory added to the journal ago

Beginning with an error

After a long time, a package with components arrived and I could start finishing my project!
1000025877 (1)
I said to myself that I would go for it and started working on the 1st part, where I had prepared and unpacked everything first! Then I just prepared a place for soldering and started soldering the first things that were needed.
1000025901
But before I started soldering everything, I wanted to test if the ESP32-C3 was working at all... It was on but not showing up on my PC. So unfortunately I had to scrap my plans and start fixing the ESP.
It took me a long time to find the cause and then I looked for help on the internet forums - I used a program called "Zadig" which rewrote the port so it would show up properly and I could program it via the Arduino IDE!
Snímek obrazovky 2026-02-25 183338

CAN CAN ⚡🚀 approved Home control panel ago

Tier approved: 4

Grant approved: $27.00

I can't wait to see this built

mavory mavory submitted Home control panel for ship review ago

mavory mavory added to the journal ago

Home control panel

With the ESP32-C3 you can control your smart home and other things, all wirelessly!

image

Why did I do this?

I was thinking about what project to do and I came up with this, I mainly wanted to create it because I needed some kind of device to control my smart home.

Features

  • 4 touch buttons
  • OLED display as an indicator of e.g. time
  • Rechargeable battery for carrying
  • Wireless compatibility

Wiring Diagram

image

Scripts

The script is designed for ESP32-C3 and is just a simple script, so just upload it, adjust the names, API,... and you're done!

How it works?

When you charge the battery, you turn on the system by holding down the 1st button (as far away from the OLED as possible) and the system will connect to the network and other peripherals. Then you just need to press the buttons and, for example, your light will turn on/off.

Libraries:

WiFi.h
SinricPro.h
SinricProSwitch.h
Wire.h
Adafruit_GFX.h
Adafruit_SSD1306.h
WiFiUdp.h
NTPClient.h

3D models

Here is a view of the top and bottom of the case:

image

image

Bill of Materials (BOM)

Item Quantity Price Link
ESP32-C3 Super Mini 1 $7.17 Laskakit
OLED display 1 $3.05 AliExpress
Touch buttons (TTP223) 4 $1.21 Laskakit
Wires (10cm, 20pcs) 1 $2.71 Laskakit
Battery Li-ion 18650 1 $7.66 Laskakit
Charger module / Boost converter 1 $1.36 Laskakit
Shipping to CZ - $3.49 -
Total $26.55

mavory mavory added to the journal ago

3D rendering

Lastly, I created a render where you can see how the parts fit into the holes and it fits.
I searched for a touch sensor on the internet for a while and couldn't find it, so I searched under the exact name and finally found it!!
image

mavory mavory added to the journal ago

BOM and GitHub editing

When I had some free time, I started creating BOM and other things for GitHub!
I had to find exactly the things for my project and I did it... I also created a REPO and converted the .STL files to .STEP.
image

mavory mavory added to the journal ago

Codinggggg

I threw myself into writing code but I had one big PROBLEM! I had to figure out how to wirelessly connect Google Home to ESP32...
I did some research and found Sinric.pro, which should work great for my project.
It can turn things on and off, it can also trigger routines, etc. So I started writing and defined my code:

  • 1. = Monitor strip
  • 2. = Plug
  • 3. = BambuLab
  • 4. = BambuLab homing

image

mavory mavory added to the journal ago

Wiring diagram

When I had the 3D models ready, I moved on again! I went to make a wiring diagram so that everything could be seen clearly...
First I looked for all the components, but for example the charging module was missing, so we had to create it, add pins to it,...
It was fast and in about an hour with a few mistakes I had it finished.
circuit_image (2)

mavory mavory added to the journal ago

Continuation and a minor mistake...

Right after finishing the main parts, I started making the holder for the charging module, the hole for the rings, the lid or even the rings themselves (so that I would know where each button was later)!
It went pretty quickly, but I had a small problem... If I wanted to put a battery in there, I made a case that was too small - so I took everything apart again and made smaller walls and enlarged the hole for the components.
Snímek obrazovky 2026-02-02 172511

mavory mavory added to the journal ago

The beginning of 3D modeling

When I had it ready, I prepared all the things and started looking for their sizes etc. It went well at first and then it got even better.
Then I went to TinkerCad where I decided to model the case and I started! I immediately created the walls and then made holes for the buttons, OLED display,...
Snímek obrazovky 2026-02-02 164954

mavory mavory added to the journal ago

The birth of the project

I was thinking about how I could improve my smart home and it occurred to me that I could create a box that I could control e.g. lights, Spotify, Netflix,...
So I thought that if I put together a small ESP32-C3 and other things, I could create a portable box that would have a built-in battery!
I continued and started looking for what I had at home... I only found an OLED display and nothing else, so I had to go to the internet, where I found all the things!
image

mavory mavory started Home control panel ago

2/2/2026 5:51 PM - The birth of the project

I was thinking about how I could improve my smart home and it occurred to me that I could create a box that I could control e.g. lights, Spotify, Netflix,...
So I thought that if I put together a small ESP32-C3 and other things, I could create a portable box that would have a built-in battery!
I continued and started looking for what I had at home... I only found an OLED display and nothing else, so I had to go to the internet, where I found all the things!
image

2/2/2026 5:55 PM - The beginning of 3D modeling

When I had it ready, I prepared all the things and started looking for their sizes etc. It went well at first and then it got even better.
Then I went to TinkerCad where I decided to model the case and I started! I immediately created the walls and then made holes for the buttons, OLED display,...
Snímek obrazovky 2026-02-02 164954

2/2/2026 5:58 PM - Continuation and a minor mistake...

Right after finishing the main parts, I started making the holder for the charging module, the hole for the rings, the lid or even the rings themselves (so that I would know where each button was later)!
It went pretty quickly, but I had a small problem... If I wanted to put a battery in there, I made a case that was too small - so I took everything apart again and made smaller walls and enlarged the hole for the components.
Snímek obrazovky 2026-02-02 172511

2/2/2026 7:02 PM - Wiring diagram

When I had the 3D models ready, I moved on again! I went to make a wiring diagram so that everything could be seen clearly...
First I looked for all the components, but for example the charging module was missing, so we had to create it, add pins to it,...
It was fast and in about an hour with a few mistakes I had it finished.
circuit_image (2)

2/2/2026 7:50 PM - Codinggggg

I threw myself into writing code but I had one big PROBLEM! I had to figure out how to wirelessly connect Google Home to ESP32...
I did some research and found Sinric.pro, which should work great for my project.
It can turn things on and off, it can also trigger routines, etc. So I started writing and defined my code:

  • 1. = Monitor strip
  • 2. = Plug
  • 3. = BambuLab
  • 4. = BambuLab homing

image

2/2/2026 8 PM - BOM and GitHub editing

When I had some free time, I started creating BOM and other things for GitHub!
I had to find exactly the things for my project and I did it... I also created a REPO and converted the .STL files to .STEP.
image

2/2/2026 9:26 PM - 3D rendering

Lastly, I created a render where you can see how the parts fit into the holes and it fits.
I searched for a touch sensor on the internet for a while and couldn't find it, so I searched under the exact name and finally found it!!
image

2/2/2026 9:30 PM - Home control panel

With the ESP32-C3 you can control your smart home and other things, all wirelessly!

image

Why did I do this?

I was thinking about what project to do and I came up with this, I mainly wanted to create it because I needed some kind of device to control my smart home.

Features

  • 4 touch buttons
  • OLED display as an indicator of e.g. time
  • Rechargeable battery for carrying
  • Wireless compatibility

Wiring Diagram

image

Scripts

The script is designed for ESP32-C3 and is just a simple script, so just upload it, adjust the names, API,... and you're done!

How it works?

When you charge the battery, you turn on the system by holding down the 1st button (as far away from the OLED as possible) and the system will connect to the network and other peripherals. Then you just need to press the buttons and, for example, your light will turn on/off.

Libraries:

WiFi.h
SinricPro.h
SinricProSwitch.h
Wire.h
Adafruit_GFX.h
Adafruit_SSD1306.h
WiFiUdp.h
NTPClient.h

3D models

Here is a view of the top and bottom of the case:

image

image

Bill of Materials (BOM)

Item Quantity Price Link
ESP32-C3 Super Mini 1 $7.17 Laskakit
OLED display 1 $3.05 AliExpress
Touch buttons (TTP223) 4 $1.21 Laskakit
Wires (10cm, 20pcs) 1 $2.71 Laskakit
Battery Li-ion 18650 1 $7.66 Laskakit
Charger module / Boost converter 1 $1.36 Laskakit
Shipping to CZ - $3.49 -
Total $26.55

3/14/2026 12:07 AM - Beginning with an error

After a long time, a package with components arrived and I could start finishing my project!
1000025877 (1)
I said to myself that I would go for it and started working on the 1st part, where I had prepared and unpacked everything first! Then I just prepared a place for soldering and started soldering the first things that were needed.
1000025901
But before I started soldering everything, I wanted to test if the ESP32-C3 was working at all... It was on but not showing up on my PC. So unfortunately I had to scrap my plans and start fixing the ESP.
It took me a long time to find the cause and then I looked for help on the internet forums - I used a program called "Zadig" which rewrote the port so it would show up properly and I could program it via the Arduino IDE!
Snímek obrazovky 2026-02-25 183338

3/14/2026 12:24 AM - Soldering!!

After a minor mistake, I came to my senses and started doing something serious! So I took all the buttons and gradually had to fit each one with a cable and then connect all the GND and VCC so that only 1 cable was created from them. The worst thing was when my cables kept falling apart and I couldn't take it anymore...
1000025906
Immediately after that I continued soldering the battery, where I had to be careful about the temperature... I managed it well! When I had it connected to the cables, I wrapped it with tape to prevent a short circuit in the box and the cable from getting caught.
Next, I took the charging module and everything went quite well...
1000025903
Except for one small thing - it seemed that when I wanted to test if it was charging, the charging module kept showing me that the device was drawing power even though I had nothing connected.
So I decided to use my old charging module, which I had for a long time and I must say that it works very well!
1000025927

3/14/2026 3 PM - Assembling components into a case

FAHHHHH.....

I had everything I needed ready and soldered all the cables to the ESP32. It went quickly, but many times the cables came loose from the holes, so I kept having to put it back together... When something fell off, I soldered it even more tightly, then another cable fell off and I thought it was just a hallucination - but it wasn't, so I took the tin and soldered everything tightly to make it hold.
So I started gluing things into place right after that and it went very well! I accidentally glued my finger in place a few times, but after a while I had it done. The OLED display fit into place very well and I was happy about that!
20260228_232732
Furthermore, I didn't know how to put it all together at all and I thought for a long time how to do it. First, I experimented with putting the battery on top and the ESP32 below it, but as I found out, the small integrated antenna couldn't handle it and the WiFi didn't work. It took me a long time to solve this case because I didn't know it would cause such a problem.
1000025993
So I continued with the idea that I would put the battery on the bottom, spread the cables all over the case and the ESP32 would go on top. Hopefully it will work....
1000026701

3/14/2026 4:10 PM - My first test!!!

I was excited, so I quickly ran closer to the WiFi to test if the system would connect! And suddenly I plugged in the cable and everything worked fine. I was happy that the buttons were recognized well and when I plugged the battery into the adapter, it charged (YAYYYY).
The display lit up, but the WiFi didn't connect very well and I said to myself that I'll have to redo the whole code from scratch because it's terrible for now and I'll probably change it overall, if only it would work.
1000026028 (1)
When I put it back, some cables "unexpectedly" broke off again and I had to take out my soldering iron again and solder it carefully... But I had it finished in a few minutes and I could continue!
1000026700

3/14/2026 4:53 PM - Case completion

I told myself that if it works for me, I'll glue it and upload the code online via .bin! I had the quick transfer code ready and I was able to upload it before closing. It went well and I took the glue in my hand and glued the 2 parts together.
It was tedious, because when I glued it somewhere, it came off somewhere again, so it took longer than I expected. I also couldn't avoid sticky fingers... Then I sanded the case to clean it of the glue that came off my 3D case and that was it for now.
1000026703

3/14/2026 7:23 PM - Codinggggg

At first I thought it would be fun to code it, but after a while I still didn't know how to make the code work, but to connect to the Bambu printer and other things. So I wrote the basics, which also took me a long time. Sometimes the WiFi simply wouldn't load at all, or for example the buttons weren't recognized when I pressed them 3 times, etc.
20260228_230813
So I already had the basics, and I also added an improvement - monitoring the information from the printer on the OLED display, so I wouldn't have to go to the printer screen all the time.
Everything worked very well, but I had to do a few things that were important for my code, because I was already at the stage where I couldn't solve the bugs, so I asked for help and the code is now working beautifully!!!
20260314_151218

3/14/2026 7:36 PM - Testing and completion

20260314_193845

After a long time and high cortisol because of everything, I finished my project and went to try everything!! I thought it would be best if I tried everything at once and I started with the printer - it worked perfectly and then I also tried the device controlled via Sinric and everything worked perfectly. Only sometimes I had problems with WiFi, but that was to be expected, because sjem had almost no antenna and everything was still in the box.
Snímek obrazovky 2026-03-14 192722

Website completion

I forgot to finish the website so I could control everything and change settings through it. So I had that done in about a couple of hours and I did it in my favorite black and white theme! I also added the ability to upload new code (I already had all these things in the old one, so I just added it and didn't have to code it from scratch) and it was done.
Snímek obrazovky 2026-03-14 193538