Print this Page

Solar Powered Weather Station

The D1M-WX1 D1S-WX1 are wireless, solar powered weather stations connected to Internet of Things (IoT) and APRS-IS services to display and analyze your weather data. The station uses a Wi-Fi link to your access point to send and receive data from the Internet. Each station gets all its energy from a solar panel mounted to the unit. A lithium ion polymer cell, charged with excess energy from the solar panel, keeps the unit operating in darkness.

The unit includes a BME280 environmental sensor and a BH1750 light intensity sensor. Every 10 minutes it transmits barometric pressure, temperature, humidity, LiPo cell voltage, and Wi-Fi signal strength to the ThingSpeak IoT server. The LiPo cell has enough capacity to keep the unit operating for a week in darkness.

You need to have basic soldering skills and be able to download files, install software and drivers, and unzip compressed files. Please review the assembly instructions to be sure you can build this kit. All surface mount devices (SMDs) are preinstalled. Assembly requires soldering only “through hole” components. There are many good tutorials for kit assembly on the Internet. Here is one: Soldering Through Hole Components

I was recently invited to speak on the features of the kits at the Manassas Hamfest. Click here to get a copy of the presentation: Manassas Hamfest presentation

Complete kits that include all parts, a high quality printed circuit board, and the enclosure are available at the  IoT Kits Store.

IoT Kits Store at Square

Project Resources:

Assembly Manual

We recommend that you download and read the assembly manual before starting the work. You may wish to print the entire manual or at least the construction steps for your kit version and check off the steps as you go. The videos follow the same steps so you can pause each step or replay them as needed.

These YouTube videos are a work in progress. Read the manual and watch them before starting construction.

YouTube – Software Installation – coming soon

Weather Station Firmware

You must install and configure the Arduino IDE to program your weather station.

Earlier versions of the Assembly Manual referenced a github repository. Do Not use the github files. Use the ZIP file below for the station firmware.

This zip file contains Arduino sketches in three folders:

  1. D1M-WX1_Calibration – used to test the installation of the Arduino software and calibrate the voltage sensor
  2. D1M-WX1_IoT_Bethany – transmits your weather sensor data to the ThingSpeak IoT server
  3. D1M-WX1_IoT-APRS_Bethany – transmits your weather sensor data to the ThingSpeak IoT server and the Amateur Radio Automatic Packet Reporting System – Internet Service (APRS-IS)

Download the zip file to your PC’s download folder and extract the contents to your Arduino sketch folder. This is usually \Documents\Arduino.

Each folder contains two files: 1) the Arduino file, and 2) the config file. The Arduino file has the same name as the folder with the extension .ino. For example, D1M-WX1_IoT-APRS will contain D1M-WX1_IoT-APRS.ino and config.h.

The config.h file holds specific information about your station. The Assembly Manual tells you where to find this information. Here is the config.h file with highlights on the items you must enter:

Original Firmware

Use the latest version above. This is for record purposes only.D1M-WX1_Weather_Station_Bethany

Tools Needed

If you’ve built kits before you probably have all these tools. Here are some suggested tools for new kit builders. Most are inexpensive tools that you will use again if you build other kits.

  1. Soldering iron or station with good quality rosin-core solder. The X-Tronic Model #3020 is an excellent choice for a temperature controlled iron. Marlin P. Jones & Assoc., mpja.com, has a wide selection of irons in all prices.
  2. Small diagonal cutters such as Harbor Freight #40695.
  3. Phillips screwdriver.
  4. Hot melt glue gun such as the Walmart Low-Temp Mini Glue Gun #557243715.
  5. 1/8-in and 1/4-in (3mm & 6mm) drill bits. Harbor Freight #69470 handle & #61621 drill bits.
  6. Flush cutter to trim excess leads. A good choice is the Hakko CHP-170. Harbor Freight #90708 is also acceptable.
  7. Needle-nose pliers. Useful for picking up parts and bending leads. Harbor Freight #40696.
  8. Optional digital multimeter for voltage calibration. Harbor Freight #90899.
  9. Optional magnifying lens to inspect the soldering.

ThingSpeak Addins

Follow this link to a collection of MATLAB addins for your weather station ThingSpeak channel.

ThingSpeak Addins

Permanent link to this article: http://w4krl.com/solar-powered-weather-station/