

WeatherPCB
This weather station uses darksky for the forecast with a free account. It displays the current weather temperature, a high and low, and the next two days.
- Size
- 36 × 55 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 19
- Nets
- 18
- Pads
- 69
- Tracks, vias
- 132, 8
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 5 (file 20171130)
- Created
- 22 Jan 2021
- Updated
- 19 Sep 2020
Overview
WeatherPCB is an open-source printed circuit board by Lacybad, from the Lacybad/Weather-Station repository on GitHub, published under the LGPL-2.1 licence. It is a 2-layer board of 36 × 55 mm with 19 parts on 18 nets, routed with 132 tracks and 8 vias.
It is built around the DS1822Z+. Its parts include 6 resistors, 4 ICs, 2 transistors, 2 switches and 1 capacitor.
Main components
1README
README.mdWeather Station
This weather station uses an ESP8266 (WeMos D1 Mini), a TFT KMR-1.8 LCD display, a PIR
motion sensor, BJTs and a photoresistor for the display brightness, and an optional 1-wire
temperature sensor (no code for it right now).
This weather station uses darksky for the forecast with a free account. It displays the current weather temperature, a high and low, and the next two days.
In Settings.h (or MiscSettings.h), add the GPS coordinates, wifi information, and timezone to make the system work.
This project's PCB was made using JLCPCB. Using the cheapest shipping, it took 6 days to LAX, a week in customs, and then 3-5 days to a location in the US.
Icons / Other Code
The icons used for this project are from
erikflowers. Using the makefile command
make imageConvert converts the images in the folder weather-icons/svg to bmps in a data
folder. This folder can then be uploaded to the ESP8266 using the
data-uploader, which uploads the
data in the /data folder to the SPIFFS file system. It is recommended if using the D1 mini
to have at least 1 MB of storage, and the images take up 124.0 KiB of space.
Other code for this project is from Bodmer's TFT_eSPI library example for the BMP_functions.ino, and converted to work as a C++ library. The modified cpp, h and license are in the src directory.
All other libraries (with given versions used) are not really modified from the source (besides the TFT_eSPI v1.4.20 for the pins and display), and include ESP8266 Board v2.5.2 with docs ESP8266Wifi and WiFiClientSecure, ArduinoJson v6.13.0, BearSSL v1.4.0, SPI - ESP8266, Ticker - ESP8266, Timezone v1.2.2 and TimeLib v1.5.0.
Data Source
This project originally used DarkSky as a source but moved to OpenWeatherMap after DarkSky shut down their API. The DarkSky branch in this repo contains the original code that was working with that API.
Schematic
For the PCB, the d1_mini_kicad library was used along with the digikey-kicad-library and a few default libraries KiCad for the transistors. The parts can be found in the DigiKey purchase list, and this csv file can be uploaded to digikey to buy the parts. Extra parts are included as backup for buying parts along with buying a large quantity means cost savings. It is also possible to use a check to save on shipping (could take an extra few days)
Other parts are from Amazon but can be bought on other sites or vendors if it is cheaper. The parts include a Wemos d1 mini, Photoresistors, IR PIR Motion Sensor, LCD Display, Project Boxes.
Parts
19| Qty | Value | Footprint | References |
|---|---|---|---|
| 4 | MountingHole | Mounting_Holes:MountingHole_2.7mm | H1, H2, H3, H4 |
| 2 | 10k | Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R4, R6 |
| 2 | 4.7k | Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R1, R3 |
| 1 | 0.1u | Capacitors_THT:C_Disc_D7.0mm_W2.5mm_P5.00mm | C1 |
| 1 | 220 | Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R2 |
| 1 | 2N4401-ND | TO_SOT_Packages_THT:TO-92_Inline_Wide | Q2 |
| 1 | 2N4403-ND | TO_SOT_Packages_THT:TO-92_Inline_Wide | Q1 |
| 1 | 70-36k | Resistors_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P7.62mm_Horizontal | R5 |
| 1 | DS1822 | TO_SOT_Packages_THT:TO-92_Inline_Wide | U4 |
| 1 | PIR_MTN_SNR | Pin_Headers:Pin_Header_Angled_1x03_Pitch2.54mm | U1 |
| 1 | SW_Push | Buttons_Switches_THT:SW_PUSH_6mm_h5mm | SW1 |
| 1 | SW_SPDT | Pin_Headers:Pin_Header_Straight_1x03_Pitch2.54mm | SW2 |
| 1 | TFTLCD_ST7735R | Pin_Headers:Pin_Header_Straight_1x16_Pitch2.54mm | U3 |
| 1 | WeMos_mini | Modules2:WEMOS_D1_mini_light | U2 |
Similar boards
- 2 layers43.9 × 27.7 mm

- 2 layers50 × 60 mm

Debate Device
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
19 parts915 - 2 layers102.9 × 96.7 mm

ISA adapter
polpo/picogus
Emulation of ISA sound cards and CD-ROM on Raspberry Pi Pico (GUS, SB/Adlib, MPU-401, Tandy, CMS, Panasonic CD-ROM) with USB mouse/joystick support
19 parts805 - 2 layers60 × 39 mm

- 2 layers70.1 × 43.2 mm

Iaq device
nkitanov/iaq_board
IAQ Board is a DIY (Do-It-Yourself) device for measuring internal air quality
19 parts396 - 2 layers80 × 80 mm

- 2 layers25.4 × 25.4 mm

Ina169
Ardumower/ardumower
Develop an open source robotic lawn mower (HW+SW reference platform)
19 parts282 - 2 layers58.4 × 28.6 mm

New rele
zmaker/arduino_cookbook
gli sketch del nuovo progetto Arduino Cookbook e dei video di YouTube
19 parts269
Questions
How big is the WeatherPCB PCB?
It measures 36 × 55 mm and has 2 copper layers, 1.6 mm thick.
What parts does the WeatherPCB use?
19 parts, built around the DS1822Z+. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the WeatherPCB KiCad files?
From the Lacybad/Weather-Station repository on GitHub, at the commit this page was made from: the board is weatherPCB/WeatherPCB.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.
Can I use the WeatherPCB design in my own project?
Its repository publishes it under the LGPL-2.1 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).