Search models, users, collections, and posts

WiFi Temperature Sensor

Print Profile(1)

All
A1
H2D
P1S
P1P
X1
P2S
A1 mini
H2D Pro
X1E
H2C
X1 Carbon
H2S
X2D
A2L

Standard
Standard
Designer
1 h
1 plate
5.0(1)

Open in Bambu Studio
Boost
20
48
3
0
20
2
Released 

Description

Content has been automatically translated.
Show original

WiFi Temperature Sensor

To control my heating via Home Assistant, I needed some temperature sensors. These should be powered by mains voltage and not by batteries, so they can reliably deliver temperature readings

 

WARNING

This project is only for people who know what they are doing. It involves the use of 220V mains voltage, which can be fatal if touched. I assume no liability for damages of any kind that may arise from replication

 

Requirements

Required Knowledge

  • Soldering experience
  • ESP Home
  • MQTT

Parts

The links point to AliExpress items that I used

Printing

The number on the lid can be easily changed by coloring the segments with the paint bucket and edge detection feature

Make sure the print bed is clean, otherwise the housing will fall over. If you like, you can use some “mouse ears” (brim)

Electronics

Carefully pry open the plug-in power supply on the plug side with a knife or small screwdriver and pull it apart

 

 

The following pictures show the assembly of the electronics. Due to the simple circuit, I did not include a circuit diagram

Clicking on the photos makes them larger

 

 

 

 

Solder the Dallas Sensor onto a 20x10mm PCB. A 4k7 SMD resistor goes between Vcc and DQSolder 5V and GND cables to the plug-in power supplyConnect ESP32-C3 and sensor as shown (GND, 3.3V and Pin 4 to DQ)Connect 5V from the power supply to ESP32-C3 5V, connect GND to the sensor board GND

 

Final Assembly

First, unplug the power supply and snap it into the printed housing

 

 

 

 

 

Arrange the electronicsInsert the power supply so that it has firm contact with the plugInsert the ESP32-C3 board with the USB port first

 

 

 

Insert it so that the USB port sits in the designated holeCarefully push the ESP32 board up from the back with a screwdriver until it clicks into place. Slide the sensor board into the designated guide. Pay attention to the cables here!Insert the front panel, the temperature sensor should be at the bottom

 

I have attached my ESPHome code, it works with MQTT. Of course, other solutions are also possible. The housing can also accommodate a combined temperature/humidity sensor

 

Programming can be done via the USB port without the device being plugged in

 

Please remember to work cleanly and double-check everything before plugging the device into the socket. And as I said: It's not my fault :-)

 

Have fun tinkering and always a warm home


Documentation (1)

Other Files (1)
TemperaturSensorCode.txt

Comment & Rating (3)

(0/1000)

Print Profile
Standard
thks for sharing
0
Reply
Great project! Thanks for the great description
The designer has replied
Show original
0
Reply
The main thing is that you have fun with it ;-)
Show original
0
Reply
No more

License

This user content is licensed under a Standard Digital File License.

You shall not share, sub-license, sell, rent, host, transfer, or distribute in any way the digital or 3D printed versions of this object, nor any other derivative work of this object in its digital or physical format (including - but not limited to - remixes of this object, and hosting on other digital platforms). The objects may not be used without permission in any way whatsoever in which you charge money, or collect fees.