Smarthome Multisensor V1

Smarthome Multisensor V1

thingiverse

I designed this enclosure for an esp8266 powered all-in-one smarthome device. Here is the list of parts I used in this project: Wemos D1 Mini: https://www.amazon.com/gp/product/B081PX9YFV/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1 SSD1306 64x128 OLED display: https://www.amazon.com/PEMENOL-Display-0-96inch-Raspberry-Microcontroller/dp/B07F3KY8NF/ref=sr_1_3?crid=3QXQAY17JCDZC&dchild=1&keywords=ssd1306+oled&qid=1585187363&sprefix=ssd13%2Caps%2C197&sr=8-3 12mm 5V buzzer (add a small NPN transistor or fet to drive it at 5V): https://www.amazon.com/gp/product/B01N7NHSY6/ref=ppx_yo_dt_b_asin_title_o01_s00?ie=UTF8&psc=1 AMS1117 3v3 supply: https://www.amazon.com/gp/product/B07WF76VHT/ref=ppx_yo_dt_b_asin_title_o06_s00?ie=UTF8&psc=1 Momentary N/O button: https://www.amazon.com/Momentary-Tactile-Through-Breadboard-Friendly/dp/B07WF76VHT/ref=sr_1_5?dchild=1&keywords=6mm+button&qid=1585596563&sr=8-5 I program these devices using esphome for homeassistant. I use the OLED display to show date, time, inside/outside temp/humidity, etc, the sensors and button just report states to home assistant, and the dfplayer/speaker provide mp3 voice and beeper prompts/feedback for various automations I use. The square hole on the left side is sized to fit the largest micro USB end I had on hand; it should fit most cords you might use. Wires for the rcwl & dallas sensors may pass through the 4mm holes located on the left, right, back, and/or bottom sides (note these 2 devices are best mounted away from the heat and interference emitted from the main enclosure). A side note on wiring... There are many ways to wire the power to all the devices. To maximize efficiency and reduce noise, connect the 5V pins from the wemos to the step up converter, 3v3 regulator, beeper, and dfplayer (dfplayer always has 3v3 on the tx/rx pins, and it sounds better+louder at 5V input vs 3v3). Connect the 3v3 regulator to the button, OLED screen, and lum, dallas, and dht sensors. I uploaded an example of the esphome yaml configuration I use for my multisensor. I was in the process of fine tuning the code when I posted this. So there is one version without a beeper and with dallas temp, and another without dallas temp and with beeper. This is related to a problem with my beeper circuit pulling down D4 too much during bootup. I plan to test swapping the soft tx with the beeper to make it possible to use all available features at once. The OLED screen, button mount (button simply presses into mount), speaker, and bh1750 go in the lid, the rest of the stuff goes in the main box. Except for the DHT and the beeper, all of the devices are secured with melt down pins and PCB rails. Press the part onto the pins/rails, heat a bolt or screwdriver and melt the pins/rails down against the board to fix them permanently. Note that it is always easier to solder all wires to the boards first, before permanently mounting the boards in the box.

Download Model from thingiverse

With this file you will be able to print Smarthome Multisensor V1 with your 3D printer. Click on the button and save the file on your computer to work, edit or customize your design. You can also find more 3D designs for printers on Smarthome Multisensor V1.