In this video I’m gonna show the second revision of my esp32, battery powered PIR motion sensor. This second revision contains some optimizations to improve deep sleep power consumption as well as to fix some of the errors I had the first revision of the pcb.
Tag: Layout
Voltlog #240 – ESP32 PIR Motion Sensor With Deep Sleep & MQTT
Welcome to a new Voltlog, in this video I’m gonna show you how I designed and built this board which functions as an esp32 based, battery powered PIR motion sensor. So I started by designing the circuit, I used some common building blocks, I added the ESP32 with it’s bypass caps, some test points and the programming circuit with auto-reset, I then added some connection points for the PIR sensor, an RGB LED because why not have a nice way to signal this is one of those very small digital RGB leds, it’s just 20x20mm, it’s connected to 3.3V even though it’s only rated for 5V so I’m hoping this is going to work even on 3.3, it’s also worth having a temperature/humidity sensor to also sense that in whichever room the node will be placed and finally the power supply circuit which is a simple low dropout regulator with an 18650 battery as the input.
I did not include a battery charger circuit on this module, because I wanted to keep things simple, I’ll have a battery socket so I can just remove the 18650 cell and charge it separately plus the whole circuit should run in sleep for extended periods of time giving me a long operating time so i wouldn’t have to charge the battery too often.
Once the schematic was finished I did the board layout in a hurry so it’s not exactly pretty or optimized
but I tried to move the esp32 antenna to the side, to place the PIR sensor in the top side as the module will probably sit vertically, I tried to place the temperature sensor in the bottom side to keep it away from any components that might get hot and also placed some isolation slots for the same reason.
You should check-out revB of this board, I made some improvements present in the video below.
Voltlog #230 – Guidelines For Board Level Temperature Sensor Layout & Placement
Welcome to a new Voltlog, today I’m gonna show you some techniques that you can use when doing temperature measurements. Typically you will want to measure either the ambient temperature or the system or component temperature. Depending on one of these goals you are going to follow different design rules to achieve that. And to better illustrate the problems, I have these 3 pcbs which have exactly the same electrical circuit but with different layouts on the pcb.
The boards consist of an esp8266 and a digital temperature sensor and you might expect that since all 3 boards are placed so close together, they should all indicate the same temperature but that is not the case as we can see on this graph we are getting 3 different temperatures and only one of them is close to the actual ambient temperature measured with another thermometer, so why is that happening? Well the answer lies in the layout of the PCB and that includes component placement, copper planes and various other elements on the PCB.
Voltlog #36 – The Dark Load PCB Layout With EagleCAD
This video is mostly a time-lapse of me doing the PCB layout for the Dark Load project that I am working on. However during the first minutes of the video I am commenting and giving some hints on some design decisions that I make during layout.
This entire design is open source and it will be shared once I have it working but for now it’s still quite beta and I don’t want to release something that is potentially not working or might contain errors.