D1M-WX1 Solar Powered Weather Station

The D1M-WX1 is a solar powered weather station that connects with Internet of Things (IoT) services to display and analyze your weather data. The station connects to the Internet through a Wi-Fi link to your access point. It 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

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 from page 8 to 17 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.

—> D1M-WX1 Assembly Manual v1.2 (pdf)

These YouTube videos are a work in progress.

—>YouTube – PCB Assembly

YouTube – Software Installation – coming soon

—>YouTube – ESP8266 Core – this was prepared by someone else. It is pretty good. Use it as a guide while following our instructions in the Assembly Manual.

YouTube – Software Check and Calibration – coming soon

—>YouTube Video – Box Assembly

Weather Station Firmware

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

The Assembly Manual references 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 – transmits your weather sensor data to the ThingSpeak IoT server
  3. D1M-WX1_IoT-APRS – transmits your weather sensor data to the ThingSpeak IoT server and the Amateur Radio Automatic Packet Reporting System – Internet Service (APRS-IS)

—>D1M-WX1_IoT-APRS (zip) D1M-WX1_IoT.ino was updated 3/30/2017

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. Page 11 of the Assembly Manual tells you where to find this information. Here is the config.h file with highlights on the items you must enter.

—>config.h highlighted

One of the peculiarities of APRS is the way locations are represented as a mixture of degrees and decimal degrees. The Assembly Manual has instructions for converting fully decimal latitude and longitude to the APRS format. This Excel spreadsheet can make the conversion a bit easier:

—>APRS Location Converter.xls

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. Optional flush cutter to trim excess leads. A good choice is the Hakko CHP-170. Harbor Freight #90708 is also acceptable.
  7. Optional 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.

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