Esp32 Desktop Clock/weather Display

Photo of 0miker0

Made by 0miker0 / Displays / Sensors / IoT

About the project

This ESP32 internet of things desktop clock is a project created for my home. Summer is on the way and every morning my kids ask me what they should wear. This project lets me know as soon as I wakeup what the weather will be.

Project info

Difficulty: Difficult

Platforms: ArduinoSilicon LabsEspressif

Estimated time: 2 days

License: GNU General Public License, version 3 or later (GPL3+)

Items used in this project

Hardware components

A1	1	LCSC	C99665	Antenna Chip 2.4Gig	Rainsun	Chip Antenna A1 1 LCSC C99665 Antenna Chip 2.4Gig Rainsun Chip Antenna x 1
BZ1	1	Digi-Key	ST-025BH	BUZZER MAGNETIC 2.7kHz Tone 2-4V SMD	SOBERTON BZ1 1 Digi-Key ST-025BH BUZZER MAGNETIC 2.7kHz Tone 2-4V SMD SOBERTON x 1
C1	1	LCSC		CAP 1uF 0402		1uF C1 1 LCSC CAP 1uF 0402 1uF x 1
C2	1	LCSC		CAP 22nF 0402		22nF C2 1 LCSC CAP 22nF 0402 22nF x 1
C3, C11	2	LCSC	C83063	CAP 1uF 16V 0402	Walsin	1uF C3, C11 2 LCSC C83063 CAP 1uF 16V 0402 Walsin 1uF x 1
C4, C10, C14, C18	4	LCSC		CAP 0.1uF 0402		0.1uF C4, C10, C14, C18 4 LCSC CAP 0.1uF 0402 0.1uF x 1
C5	1	LCSC	C147344	CAP 1.5pF 0402	Dafron	1.5pF C5 1 LCSC C147344 CAP 1.5pF 0402 Dafron 1.5pF x 1
C6, C8, C16, C17	4	LCSC	C344190	CAP 0.1uF 0402	CCTC	0.1uF C6, C8, C16, C17 4 LCSC C344190 CAP 0.1uF 0402 CCTC 0.1uF x 1
C7	1	LCSC	C242018	CAP 150uF, 10V SMT	Suncon	150uF C7 1 LCSC C242018 CAP 150uF, 10V SMT Suncon 150uF x 1
C9, C15	2	LCSC	C307520	CAP 10uF 0805	Samsung	10uF C9, C15 2 LCSC C307520 CAP 10uF 0805 Samsung 10uF x 1
C12, C13	2	LCSC	C162317	CAP 10uF 16V 0805	Murata	10uF C12, C13 2 LCSC C162317 CAP 10uF 16V 0805 Murata 10uF x 1
D1	1	LCSC	C139127	LED,RGB,NEOPIXEL,WS2818	Worldsemi	NeoPixel D1 1 LCSC C139127 LED,RGB,NEOPIXEL,WS2818 Worldsemi NeoPixel x 1
D2	1	LCSC	C74338	LED Green 0402		Green Led D2 1 LCSC C74338 LED Green 0402 Green Led x 1
F1	1	LCSC		PTC FUSE 500mA hold, 1A trip 0805 SMD	TLC	TLC-PSMD050 F1 1 LCSC PTC FUSE 500mA hold, 1A trip 0805 SMD TLC TLC-PSMD050 x 1
H1	1	Digi-Key	SM04B-SRSS-TB(LF)(SN)	CONN HEADER 4POS .100 R/A QWIIC	JST	QWiiC H1 1 Digi-Key SM04B-SRSS-TB(LF)(SN) CONN HEADER 4POS .100 R/A QWIIC JST QWiiC x 1
J1	1	LCSC	C165948	CONN RECPT USB-C	KHE	USB-C J1 1 LCSC C165948 CONN RECPT USB-C KHE USB-C x 1
Q1, Q2	2	LCSC	AO3400A	MOSFET N-CH 30V 35.7A SOT-23	Alpha & Omega Q1, Q2 2 LCSC AO3400A MOSFET N-CH 30V 35.7A SOT-23 Alpha & Omega x 1
Q3	1	LCSC	BC847S	TRANS 2NPN 44V 0.1A SC-70-6	Changjiang	2NPN Q3 1 LCSC BC847S TRANS 2NPN 44V 0.1A SC-70-6 Changjiang 2NPN x 1
Q4, Q5	2	LCSC	C54879	TRANSISTOR NPN GP 40V SC-70	Changjiang	MMST3904 Q4, Q5 2 LCSC C54879 TRANSISTOR NPN GP 40V SC-70 Changjiang MMST3904 x 1
R1, R2, R3, R4	4	LCSC		RES 4.7K 0402		4.7K R1, R2, R3, R4 4 LCSC RES 4.7K 0402 4.7K x 1
R5, R6, R7, R8, R10, R16, R19, R20, R21	9	LCSC	C258091	RES 10K 0402	Guangdong	10K R5, R6, R7, R8, R10, R16, R19, R20, R21 9 LCSC C258091 RES 10K 0402 Guangdong 10K x 1
R9, R18	2	LCSC	C106235	RES 1K 0402	Yageo	1K R9, R18 2 LCSC C106235 RES 1K 0402 Yageo 1K x 1
R11, R14	2	LCSC		RES 5.1K 0402		5.1K R11, R14 2 LCSC RES 5.1K 0402 5.1K x 1
R12	1	LCSC	C100310	RES 22K 0402	LIZ Elec	22K R12 1 LCSC C100310 RES 22K 0402 LIZ Elec 22K x 1
R13	1	LCSC	C106232	RES 100R 0402	Yageo	100R R13 1 LCSC C106232 RES 100R 0402 Yageo 100R x 1
R15	1	LCSC		RES 1K 0402		1K R15 1 LCSC RES 1K 0402 1K x 1
R17	1	LCSC	C25092	RES 22R 0402	Uniroyal	22R R17 1 LCSC C25092 RES 22R 0402 Uniroyal 22R x 1
S1, S2	2	LCSC	C294567	SWITCH TACTILE SPST-NO	Bright	PushButton S1, S2 2 LCSC C294567 SWITCH TACTILE SPST-NO Bright PushButton x 1
U1	1	Digi-Key	RT9193-18GB	IC REG LDO 1.8V 300mA SOT23-5	Richtek USA	1.8V LDO U1 1 Digi-Key RT9193-18GB IC REG LDO 1.8V 300mA SOT23-5 Richtek USA 1.8V LDO x 1
U2	1	LCSC	C47742	IC BRIDGE USB TO UART 24QFN	Silicon Labs	CP2104N U2 1 LCSC C47742 IC BRIDGE USB TO UART 24QFN Silicon Labs CP2104N x 1
U3	1	LCSC	C193707	RF Transceiver ICs QFN-48_7x7x05P RoHS	Espressif	ESP32-PICO-D4 U3 1 LCSC C193707 RF Transceiver ICs QFN-48_7x7x05P RoHS Espressif ESP32-PICO-D4 x 1
U4	1	LCSC	SGP30-2.5K	TVOC/CO2 Sensor	Sensirion AG	SGP30 U4 1 LCSC SGP30-2.5K TVOC/CO2 Sensor Sensirion AG SGP30 x 1
U5	1	LCSC	C91199	LASER SENSOR	ST MICRO	VL53L0CXV0DH/1 U5 1 LCSC C91199 LASER SENSOR ST MICRO VL53L0CXV0DH/1 x 1
U6	1	LCSC	C78960	Optical Sensor Ambient I2C 6-SMD	Rohm	BH1750FVI U6 1 LCSC C78960 Optical Sensor Ambient I2C 6-SMD Rohm BH1750FVI x 1
U7	1	LCSC	NCP1117LPST33T3G	IC REG LDO 3.3V 1A SOT223-3	ON Semi	3.3V 1A LDO U7 1 LCSC NCP1117LPST33T3G IC REG LDO 3.3V 1A SOT223-3 ON Semi 3.3V 1A LDO x 1
U8	1	LCSC	C82227	Humidity/Temperature Sensor	Texas Instruments	HDC1080DMBT U8 1 LCSC C82227 Humidity/Temperature Sensor Texas Instruments HDC1080DMBT x 1
X1	1	BuyDisplay	ER-TFT1.14-1	1.14 INCH TFT GLASS COLOR	BuyDisplay	TFT_1.14" X1 1 BuyDisplay ER-TFT1.14-1 1.14 INCH TFT GLASS COLOR BuyDisplay TFT_1.14" x 1

View all

Story

This ESP32 internet of things desktop clock is a project created for my home. Summer is coming so every morning my kids ask me what they should wear. This project lets me know as soon as I wakeup what the weather will be. By default it is in clock mode and the display is very dim and showing the time, CO2 value, room temperature and humidity in a dark orange color. When you move your hand a foot or so in front, the time fades away to a screen showing the days low temperature, high and what the weather conditions will be. Time is updated every few minutes over wifi from an NTP server, local weather data is updated from Openweather with various sensors on the front. The software contains a few bugs and is poorly written but somehow works doings what it's supposed to do.  Only two have ever been assembled by hand using a regular iron and hot air wand. Hopefully when the component shortage dies down. I can put together a few more.




Schematics, diagrams and documents

Bottom Parts Placement Map

Top Parts Placement Map

Schematic

BOM

CAD, enclosures and custom parts

Enclosure Bottom

Enclosure Top

Code

Arduino sketch

This sketch contains quite a few bugs and is poorly written but basically does what it's supposed to do

Credits

Photo of 0miker0

0miker0

Huge supporter of open source projects and the sharing of ideas and knowledge. Hardware prototype design is my full time job and hobby with software being my weakness. Most projects are Arduino based.

   

Leave your feedback...