Minimalist ESP-8266 temperature, humidity sensor, programmer.
Minimalist ESP-8266 temperature/humidity sensor/programmer.
This is a Kicad design which uses a PCB USB connector and integrates an ESP-12 (or 07), CH330N USB controller, a small voltage regulator (HT7233), and a AHT-10 temperature/humidity sensor. Flash and reset buttons are also included.
My prototype was done on a PCB mill (0.3mm 30 degree V-bit), so things like trace sizes and clearances reflect that.
If you don't want to roll your own PCB's, Oshpark does a nice job on these at a great price.
Assembly
This PCB is designed for reflow soldering of the SMD components. I'm sure someone can hand solder it, but it wouldn't be me.
R3 should be left out if the ESP modules being used have an internal pullup between RST and 3V3 (which most newer ones seem to have). Otherwise, you end up with a combined pullup resistance near 5k, and GPIO16 though a 1k resistor seems to struggle to pulse that long enough to perform a proper wake. I really need a scope to dig into this further.
I prefer to mount my ESP modules on 2mm pin headers. It's not really necessary unless you screw up designs as often as I do. However, doing so technically makes all the USB stuff optional for some boards since I can just remove the module for programming.
Usage
The temperature sensor is mounted to the backside of the board from the ESP-8266. Practically speaking, this means that unless you want to monitor the temperature of the MCU, you need the device to spend as much time in deep sleep as needed to bring the temperature down to ambient. When waking up, it's best to take the temperature reading ASAP during startup, prior to doing something like a DHCP connect, during which the ESP starts to ramp up the temperatures. Testing shows that this sort of delay can spike the temperature reading by 0.5C or more. I expect that a combination of deep sleep and ESP-NOW would be ideal.
Design Notes
The CH330N is running off the 5V rail, which technically means it's driving the ESP UART at (allowing for a 0.3v drop from D1) approx 4.2V, which is clearly above the 3.6V rated max for the ESP. In practice, the ESP-8266 is quite 5V tolerant on GPIO's, and the CH330N only drives at something like 4mA, so this probably isn't worth worrying about.
Bill of Materials
Most parts are purchased from LCSC. Some of these choices aren't ideal, but I had them on hand and they work. The only things I plan on doing differently is replacing the fuse with a 300mA and changing the HT-7233 out for a SOT-23-3 version. A design based around one of the more common DFN-6 sensors like the Si70xx series might happen down the road.
- ESP-12 (I mount mine on 2mm pin headers)
- Aosong AHT-10
- CH330N USB Controller
- Holtek HT-7233 SOT-23-5
- STMicroelectronics USBLC6-2SC6 SOT-23-6
- 100nF 0805 capacitors
- 10uF 0805 capacitors
- 10k 0805 resistors
- 1k 0805 resistor
- 330R 0805 resistor (should really be a 470)
- B5817W SOD-123F Schottky barrier diode
- 200mA (hold) 0805 fuse (should probably be more like 300mA)
- SPST Tactile Switches
Strictly speaking, most of the USB protection components aren't necessary for a simple sensor device and definitely complicated the build.
Minimalist ESP-8266 temperature, humidity sensor, programmer.
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(1)
- Christopher Nord Sep 04,2020
- 0 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
More by YAROSLAV
- Programmer Board: ESP8266 ESP-12 ESP32 for ESP32-WROOM ESP32-WROVER Плата Программатора: ESP8266 ESP-12 ESP32 для ESP32-WROOM ESP32-WROVERПрограмматор: ESP8266/ESP32/ES...
- SDR TRX - Super Puper (synthesizer) Трансивер от US5NCJ SDR TRX "Super Puper"https://ut3mk.at.ua/forum/2-146-1
- SDR TRX - Super Puper (main board) Трансивер от US5NCJ SDR TRX "Super Puper"https://ut3mk.at.ua/forum/2-146-1https://ut3mk.at.ua/forum/...
- Turmlabor nixie clock v2.0, IN-14, ИН-14 Schematics and PCB files for the Turmlabor nixie clock kit.Feel free to build your own nixie clock f...
- IceTube Clock Design Ver. 2.2, IV-18, ИВ-18 (Main PCB) This updated design is based on jarchie’s (John Archie) xmas-icetube clock revision D board. He had ...
- IceTube Clock Design Ver. 2.2, IV-18, ИВ-18 (Side PCB) This updated design is based on jarchie’s (John Archie) xmas-icetube clock revision D board. He had ...
- RGB-LED Raspberry Pi Hat (Version 5) RGB-LED Raspberry Pi Hat (Version 5)Raspberry Pi shield that has support for both SPI-driven DotStar...
- SirMixALot V1.2.1 Flight Controller Fully featured flight controller. Users Betaflight firmware 4.1.2 or higher.BOM filehttps://www.digi...
- Minimalist ESP-8266 temperature, humidity sensor, programmer. Minimalist ESP-8266 temperature/humidity sensor/programmer.This is a Kicad design which uses a PCB U...
- Миниатюрные часы на вакуумно-люминесцентном индикаторе ИВ-21, vacuum indicator IV-21 (part 4 of 4) Миниатюрные часы на вакуумно-люминисцентном индикаторе ИВ-21Автор: *Trigger*Опубликовано 05.04.2016С...
- Миниатюрные часы на вакуумно-люминесцентном индикаторе ИВ-21, vacuum indicator IV-21 (part 3 of 4) Миниатюрные часы на вакуумно-люминисцентном индикаторе ИВ-21Автор: *Trigger*Опубликовано 05.04.2016С...
- Миниатюрные часы на вакуумно-люминесцентном индикаторе ИВ-21, vacuum indicator IV-21 (part 2 of 4) Миниатюрные часы на вакуумно-люминисцентном индикаторе ИВ-21Автор: *Trigger*Опубликовано 05.04.2016С...
- Миниатюрные часы на вакуумно-люминесцентном индикаторе ИВ-21, vacuum indicator IV-21 (part 1 of 4) Миниатюрные часы на вакуумно-люминисцентном индикаторе ИВ-21Автор: *Trigger*Опубликовано 05.04.2016С...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
128 0 0 -
DIY Laser Power Meter with Arduino
190 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
171 0 2 -