Desktop Weather Module
Hardware- 5 Devlogs
- 29 Total hours
A desktop weather module to show the current weather outside, future forecasts, and the temperature inside.
A desktop weather module to show the current weather outside, future forecasts, and the temperature inside.
Desktop weather (and room temperature) module that plugs into your computer!
Enclosure! 📦
I hit flow state working on this thing for the last couple of days. It was fun looking at different locking mechanisms that could be used to keep the components secure and also easily accessible. Ultimately, I decided on using screws to hold the buttons and TFT display down and then a rail with a protrusion on the end, which should hold the case together. Maybe in the future I could get rid of the buttons and make it entirely touchscreen (as the screen has a resistive touchscreen). All that’s left for the enclosure is making the PCB and adding mounting holes for it.
Something that made the process a little difficult was figuring out clearances and the tolerance of 3d printers. I’ve yet to print out the enclosure, so I’m not entirely sure it’ll work, but the snap-clicking mechanism is based on this. The display should come around Thursday this week, so until then I’ll just be working on the code and trying to use Wokwi to simulate it.
Feedback or ideas would be appreciated!
Components:
Desktop weather (and room temperature) module that plugs into your computer!
PCB!👨💻
Learning PCB design has been extremely interesting. There’s a lot of nuance in laying the components and traces. Honestly, I thought the hardest part would be the schematic, but that was by far the easiest (to make and to learn). However, the components and traces were really the most difficult part of design, as traces must have enough space to avoid crosstalk, and for that to happen, you should have an efficient layout of components.
In addition, with the display, I’ve spent some time learning the different types of serial communication like UART, I2C, and SPI (which is what the TFT display uses). Overall, probably spent over 20 hours the last couple of days just learning.
Still a lot to be done, but I feel like we’re getting closer!
Desktop weather station that plugs into your
ESP321602 LCD Display
DHT11 Temperature and Humidity Sensor
2kΩ Resistor
2x 330Ω Resistors
2x Buttons
9V Battery
Desktop weather station that plugs into your computer.
The bugs took the longest as there was a “Guru Meditation error” which i got around with some conditional checks and making sure that the pointers were initialized.
Also, I want to use a 0.96” oled screen as it would probably be more visually appealing and can also display more weather. Lmk if you guys know of anything better.
I’m working on making a weather display I could put on my desk. This is my first project after learning a bit about ESP32s and Arduino IDE. I want the module to be able to display the indoor climate and the current weather data.
What I’ve got so far:
Ideally, I’d use an OLED display as it has colours and higher definition for more information, but I only have the LCD, so that’s what we’re working with.
Also, I need to figure out how to power this, as I don’t want to have to use a battery pack.
Plans:
Lmk if you guys have some advice or recommendations