Pro2 Compact Receiver

Overview

The WeatherDuino Pro2 Compact was announced in May 2018 as the latest member of the family of WeatherDuino receivers.
It is supplied as a fully assembled and tested unit. Everything is included: TFT, Atmospheric Pressure sensor, Indoor Temperature / Humidity sensor, etc.
It is compatible will all existing WeatherDuino Transmitter units operating at 433Mhz.
The WeatherDuino Pro2 Compact receiver is not intended to be a replacement for the Pro2 PLUS receiver, with which it shares most of its functions. The main goal was to provide a solution for those who want to build a WeatherDuino weather station, but prefer to concentrate their efforts on constructing the Transmitter unit. The Pro 2 Compact will also be a quick and cheap upgrade option for users of the older Pro2 receiver, which doesn't have some of the capabilities of the newer receivers (Wifi, support for Air Quality data, TFT colour display, among others).

The Pro2 Compact uses a 32-bit Tensilica L106 microcontroller running at 80Mhz, which makes it the fastest of all the WeatherDuino receivers.
Navigation through the several data screens is simply achieved using the touch screen. A touch on the right-hand side advances to the next data screen; a touch on the left-hand side returns to the previous data screen. There is also a menu screen which allows direct and quick navigation to any of the other data screens.
You can see it in action on the short video below. Notice how fast it refreshes the data screens!

Principal characteristics of the Pro2 Compact receiver

  • 2.8“ Touch-sensitive color TFT display
  • Integrated Atmospheric Pressure and Temperature / Humidity sensors (latest Bosch BME280).
  • WiFi capability (amongst other things, this allows direct upload to WU without the need to have a permanent connection to a PC or Raspberry Pi - 'Stand alone' Mode).
  • Four day weather forecast for a user defined location or based on a defined WU weather station (obviously can be your own WU station).
  • Broadcast Data to any number of 4Pro Wireless Display units by WiFi, which is faster than RF and allows better reception of RF data packets from the Transmitter units.
  • Sync system time with NTP servers.
  • Over The Air (OTA) software upgrades. No need to remove or disconnect the USB cable.
  • Mini Web Server - allows monitoring real-time weather data from anywhere on your local network.
  • Davis VP2 emulation including support for the LOOP2 command.
  • Last 12 hours graphics of the most important weather variables (Atmospheric Pressure, Wind gust and speed, Rain, outside Temperature and Humidity).
  • Internationalization - User can chose interface language (Check here the list of currently available languages).
  • Very low power consumption. Can be powered via USB port even on a Raspberry Pi.

For a full comparison between WeatherDuino receivers, please see the (WeatherDuino Receivers - Comparison Chart)

The pictures below illustrate some of the available data screens:

pro2plus_overview_01.jpgpro2plus_overview_04.jpgpro2plus_overview_02.jpg
pro2plus_overview_04.jpg weatherduinopro2plus_rx_v130_revb_assembled_style.jpg pro2plus_overview_03.jpg

Installing and Configuring the software

For testing purposes, all units are supplied already programmed with the latest software version, however, the end user should always reprogram each unit with their own personalized settings, including:

  • ID and password of your WiFi access point
  • location to be used for the four day forecast
  • and many other details, related to your own specific system.

If you are a newcomer to the system you should start by reading some general information about: Programming WeatherDuino devices,
otherwise continue reading.

At this point we are assuming that you already have all the required Arduino libraries installed.
After loading the Pro2 Compact software in the Arduino IDE, the first thing that should always be done is reviewing all user configurable options. Click on the Config_Option.h tab, all user configurable options are here.

pro2_compact_config_options.jpg

Here you will define things like your Station_ID, Time Zone, user interface language, and many other things. Review them all, and edit each one to suit your specific system. Each user configurable option includes comments about their use, and available options.

After having reviewed and editing all the user configurable settings, click on the Credentials.h tab. This is where your credentials to access some services are stored. For example, if you have enabled the direct upload to Wunderground option, you need to provide your access details. You can see an example Credentials.h file below.

//
 --------------------------------------------------------------------------------------
//         WeatherDuino Pro2 Compact RF Receiver
//             Personal Credentials File
// --------------------------------------------------------------------------------------

// --------------------------------------------------------------------------------------
//   WiFi Credentials
// --------------------------------------------------------------------------------------
#define WIFI_SSID        "My_WiFi_Station_ID"
#define WIFI_PASSWORD    "My_WiFi Password"

const char* OTA_DEVICE_ID  = "Pro2C_RX";    // Define a unique ID for each Pro2 Compact RX (used to identify unit for OTA upload)
const uint16_t OTA_port    = 8266;          // This is the port used for OTA. Once set, don't change.

// --------------------------------------------------------------------------------------
//   WU Credentials
// --------------------------------------------------------------------------------------
#define WUNDERGROUND_STATION_ID "xxxxxxxxxx"         // WU Station ID
#define WUNDERGROUND_PWD        "xxxxxxxxxx"         // WU Station Key (It's more secure use Station Key than your WU account passw)

const String  WUNDERGROUND_API_KEY    = "xxxxxxxxxxxxxxxxxx";    // Required for the 4 Days forecast function. Getting an WU API key is free.

Check if the WeMos D1 R2 & mini is available in your list of boards (Arduino IDE Tools > Boards). If it isn't, then follow these instructions: WeMos D1 R2 & mini isn't listed in my list of available boards. How do I add it?
Having the WeMos D1 R2 & mini in the list of boards, select it and choose the COM port. Compile the code and upload, that's all.

A note for those accustomed to using other WeatherDuino receivers:
Unlike all other WeatherDuino Pro2 receivers, the Pro2 Compact receiver doesn't have the PROGRAM / RUN switch.
Programming / upgrading is normally done via OTA, and in most cases it can be done without having to stop the Weather Software (tested with CumulusMX running on a RaspBerry Pi).

Settings for the 4 Day Forecast

In order to use the 4 Day Forecast, you need to have a valid Wunderground API key.

Once you have your WU API key, insert it in the Credentials.h file:

// --------------------------------------------------------------------------------------
//   WU Credentials
// --------------------------------------------------------------------------------------
const String  WUNDERGROUND_API_KEY    = "xxxxxxxxxxxxxxxxxxx";

Now, on the Config_Options.h tab, define some settings as the location for the 4 Day Forecast, language and units used. See example below:

// --------------------------------------------------------------------------------------
//   WU Forecast Settings
// --------------------------------------------------------------------------------------
#define FORECAST_MODE        1                           // 0= Get from a defined location, 1= Get from a defined WU Personal Weather Station (PWS)

// Used by Forecast Method 0
const String  WUNDERGROUND_COUNTRY    = "PO";
const String  WUNDERGROUND_CITY       = "ALCOENTRE";

// Used by Forecast Method 1
const String  WUNDERGROUND_PWS        = "ICERCALC2";

const String  WUNDERGROUND_LANGUAGE   = "PT";            // Language used on the 4 Days Forecast, default is English language. Check WU language codes here: https://www.wunderground.com/weather/api/d/docs?d=language-support
const boolean IS_METRIC               = true;            // Metric or Imperial units in Forecast
const boolean USE_PM                  = false;           // Keep this value at "false"

Over The Air Programing

The WeatherDuino Pro2 Compact receiver can be upgraded / programmed by OTA.
For checking the requirements for this to work, please refer to this article: OTA programming

When upgrading software by OTA, instead of choosing a COM port, choose the IP address of the device you want to upgrade / program.

Initialization Sequence

The first time a new receiver runs, it needs to perform a special initialization sequence, which will make the receiver reboot by itself. This is normal (and desirable) behaviour.
This initialization sequence ends only after the receiver has received at least one data packet from each of the three main sensors (Temperature / Humidity, Wind and Rain).
In the middle of the initialization, screen, you will see three letters (T-W-R) that will change from Red to Green once the corresponding data packet has been received.

From the above, it is evident that if you don't have a Transmitter unit already working and transmitting data, the receiver will stay forever in the initialization sequence. This is why we recommend to anyone that is starting to build a WeatherDuino weather station, to always start by assembling the Transmitter unit first.

On subsequent restarts, the receiver also will remain in the initialization screen, until it receives data from the three main sensors referred above.
Once the initialization sequence completes, the system is ready to communicate with your preferred weather software.

User Interface - List of available languages

Currently, the user interface can be set to any of the following languages:

  • Czech - Translation by Zdenek
  • Dutch - Translation by Pierrelux
  • English - Base Language
  • French - Translation by Laulau
  • German - Translation by engolling
  • Italian - Translation by kraken1881
  • Polish - Translation by jarekh3
  • Portuguese - Translation by Werk_AG
  • Spanish - Translation by Ardummy

Is your language not on the list?
If so, maybe you could contribute to the project with a translation. It will not take more than an hour of your time, and a whole country will thank you.

Where I can get the WeatherDuino Pro2 Compact?

All information about prices, availability and how to order can be found here: WeatherDuino Pro2 Compact, prices and availability.


Print/export
QR Code
QR Code pro2_compact_receiver (generated for current page)