Espresense Case
thingiverse
This is my take on espresense. Found here: https://espresense.com/ Warning: You will be messing with a device that has mains voltage. I take no responsibility for actions taken from this reference guide. If you aren't knowledgeable about mains voltage, seek out a professional who knows what they are doing. This is a room presence sensor that uses a esp32 to track the bluetooth mac address of the device on you. You can then have multiple around your dwelling to track if someone is in a room or not so you can automate tasks like turning off the lights. Motion sensors are great but over time or if you aren't moving, motion sensors can't see you and think the room is gone. Coupled with espresense and something like home assistant you can make sure where you are relative to your rooms and actually have good presence detection. I used a USB 5V wall outlet, a D1 MINI esp32 edition, some double back tape, 22 gauge wire, a soldering iron, angle cutters, hot glue gun and a micro usb to program. You need to crack them open with the angle cutter on the corners near the usb side. There's a bit of ca glue holding it together. This 3D printed case helps bring it all together. Look up the pinouts to figure out the 5V and DC GND pins and solder your wires to it. Take the soldering iron and burn a slot in one of the case sides where you will feed the wires out. Once cleaned up you will feed the wire through the hole, solder the D1 mini to the other sides of the wire and then test it out to see if it works before using double back sticky tape attach it to the outside of the case. There needs to be 6mm from the edge of the D1 Mini circuit board to the back plug area of the USB charger for the hole on the side for the reset button to line up. The case should slide on and the extrusion inside should go into the usb plug on the end. I used hot glue to seal the end so that when I unplug it from the wall the case doesn't just slide off. You can program it before or after all of this but never program it when it's connected to an outlet. Doing so may break your computer. I designed it this way so you need to unplug it from the outlet to get to the usb port not to mention having the antenna far away from the A/C components. These are the supplies: https://www.amazon.com/Yuxh-Adapter-1000mA-Supply-Listed/dp/B094X64C2M/ref=sr_1_3?crid=98D9YLAC6XIF&keywords=yuxh+5V&qid=1645324148&sprefix=yuxh+5v%2Caps%2C126&sr=8-3 https://www.amazon.com/ACEIRMC-ESP-WROOM-32-Bluetooth-Development-Compatible/dp/B08PNWB81Z/ref=sr_1_4?keywords=d1+mini+esp32&qid=1645324171&sprefix=D1+mini%2Caps%2C120&sr=8-4 https://www.amazon.com/EZlifego-%EF%BC%8CMultipurpose-Removable-Transparent-Household/dp/B07YB1ZXG6/ref=sr_1_1_sspa?keywords=ezlifego+double+sided+tape+heavy+duty&qid=1645324208&sprefix=ezlifego%2Caps%2C130&sr=8-1-spons&psc=1&spLa=ZW5jcnlwdGVkUXVhbGlmaWVyPUEyVlRQQk9EU1dVMVU4JmVuY3J5cHRlZElkPUEwOTg1NTQzTEJZUlhSM0tCR0U5JmVuY3J5cHRlZEFkSWQ9QTA0OTY0MzkxSlU2U0E0TzNXRzM5JndpZGdldE5hbWU9c3BfYXRmJmFjdGlvbj1jbGlja1JlZGlyZWN0JmRvTm90TG9nQ2xpY2s9dHJ1ZQ== any angle cutter, soldering iron, 22 gauge wire and hot glue should be fine.
With this file you will be able to print Espresense Case 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 Espresense Case.