Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| pro2_compact_receiver [2020/01/14 14:08] – [Overview] tedem | pro2_compact_receiver [2020/05/03 04:08] (current) – [Settings for the 4 Day Forecast] werk_ag | ||
|---|---|---|---|
| Line 7: | Line 7: | ||
| 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 except the RF antenna is included: TFT, Atmospheric Pressure sensor, Indoor Temperature / Humidity sensor, Real Time clock, SMA antenna connector. It is compatible with all existing WeatherDuino Transmitter units operating at 433Mhz. | 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 except the RF antenna is included: TFT, Atmospheric Pressure sensor, Indoor Temperature / Humidity sensor, Real Time clock, SMA antenna connector. It is compatible with 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' | + | 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' |
| + | |||
| + | The Pro2 Compact uses a 32-bit Tensilica L106 microcontroller running at 80Mhz, making 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. | ||
| - | The Pro2 Compact uses a 32-bit Tensilica L106 microcontroller running at 80Mhz, making 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! | You can see it in action on the short video below. Notice how fast it refreshes the data screens! | ||
| {{https:// | {{https:// | ||
| - | \\ | + | |
| NOTE: The current software uses smooth fonts and new icons giving improved clarity and better visual appearance. | NOTE: The current software uses smooth fonts and new icons giving improved clarity and better visual appearance. | ||
| - | ===== Principal | + | ===== Main characteristics of the Pro2 Compact receiver ===== |
| * 2.8" Touch-sensitive color TFT display | * 2.8" Touch-sensitive color TFT display | ||
| * Integrated Atmospheric Pressure and Temperature / Humidity sensors (latest Bosch BME280). | * 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). | + | * Wi-Fi 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). |
| - | * Weather forecast for the next four days. | + | * Weather forecast for the next twelve hours. |
| - | * 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. | + | * Broadcast data to any number of 4Pro Wireless Display units by Wi-Fi, which is faster than RF, and allows better reception of RF data packets from the Transmitter units. |
| * Sync system time with NTP servers. | * Sync system time with NTP servers. | ||
| * Over The Air (OTA) software upgrades. No need to remove or disconnect the USB cable. | * Over The Air (OTA) software upgrades. No need to remove or disconnect the USB cable. | ||
| Line 49: | Line 51: | ||
| ===== Installing and Configuring the software ===== | ===== Installing and Configuring the software ===== | ||
| - | For testing | + | As part of pre-delivery |
| - | * ID and password of your WiFi access point | + | * SSID and password of your Wi-Fi access point |
| - | * location to be used for the four day forecast | + | * location to be used for the OpenWeather |
| - | * and many other details, related to your own specific system. | + | * other configurable options (see below) |
| <WRAP round tip 75%> If you are a newcomer to the system you should start by reading some general information about: [[: | <WRAP round tip 75%> If you are a newcomer to the system you should start by reading some general information about: [[: | ||
| Line 82: | Line 84: | ||
| const char* OTA_DEVICE_ID | const char* OTA_DEVICE_ID | ||
| const uint16_t OTA_port | const uint16_t OTA_port | ||
| + | |||
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | // Dark Sky API used for 4 Days Forecast | + | // OpenWeather |
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | // Sign up for an account at Dark Sky, change x' | + | // Sign up for an account at Open Weather |
| - | const String api_key | + | const char* OpenWeather_api_key |
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | // WU Credentials | + | // WU Credentials |
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | #define WUNDERGROUND_STATION_ID | + | const char* WU_STATION_ID = "XXXXXXXXX"; // WU Station ID |
| - | #define WUNDERGROUND_PWD | + | const char* WU_PWD |
| - | //#define WUNDERGROUND_PWD | + | |
| </ | </ | ||
| - | Check if the LOLIN (WeMos) D1 R2 & mini is available in your list of boards (Arduino IDE Tools > Boards). If it isn't, then follow these instructions: | + | Check if the LOLIN (WeMos) D1 R2 & mini is available in your list of boards (Arduino IDE Tools > Boards). If it isn't, then follow these instructions: |
| Having the LOLIN (WeMos) D1 R2 & mini in the list of boards, select it and choose the COM port. Compile the code and upload, that's all. | Having the LOLIN (WeMos) D1 R2 & mini in the list of boards, select it and choose the COM port. Compile the code and upload, that's all. | ||
| Line 103: | Line 107: | ||
| - | ===== Settings for the 4 Day Forecast ===== | + | ===== Settings for the 12 Hours Forecast ===== |
| - | In order to use the 4 Day Forecast, you need to have a Dark Sky API key. If you don't have one, get it for free here: https://darksky.net/dev | + | In order to use the 12 Hours Forecast, you need to have a OpenWeather |
| - | \\ | + | Choose the free 5 day / 3 hour Forecast.\\ |
| Once you have your API key, insert it in the Credentials.h file: | Once you have your API key, insert it in the Credentials.h file: | ||
| < | < | ||
| + | |||
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | // Dark Sky API used for 4 Days Forecast | + | // OpenWeather |
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | // Sign up for an account at Dark Sky, change x' | + | // Sign up for an account at Open Weather |
| - | const String api_key | + | const char* OpenWeather_api_key |
| </ | </ | ||
| - | There is no need to set anything else to get the correct | + | There is no need to set anything else to get the correct |
| Just make sure you have correctly placed your location on the Config_Option.h\\ | Just make sure you have correctly placed your location on the Config_Option.h\\ | ||
| Line 131: | Line 137: | ||
| // | // | ||
| // -------------------------------------------------------------------------------------- | // -------------------------------------------------------------------------------------- | ||
| - | #define LATITUDE | + | #define LATITUDE |
| - | #define LONGITUDE | + | #define LONGITUDE |
| #define ELEVATION | #define ELEVATION | ||
| </ | </ | ||
| Line 140: | Line 146: | ||
| ===== USB Programing ===== | ===== USB Programing ===== | ||
| - | When you are to program a new unit, or when the software upgrade | + | To program a new unit or perform a software upgrade |
| - | For more info about how to upload files to the SPIFFS memory see here: [[: | + | |
| ===== Over The Air (OTA) Programing ===== | ===== Over The Air (OTA) Programing ===== | ||
| - | On first use, the WeatherDuino Pro2 Compact | + | On first use, the WeatherDuino Pro2 Compact |
| For checking the requirements for OTA to work, please refer to this article: [[: | For checking the requirements for OTA to work, please refer to this article: [[: | ||
| Line 152: | Line 158: | ||
| ===== Initialization Sequence ===== | ===== Initialization Sequence ===== | ||
| - | The first time a new receiver runs, it needs to perform a special initialization sequence.\\ | + | The first time a new receiver runs, it needs to perform a special initialization sequence. This initialization sequence ends after the receiver has received at least one data packet from each of the three main sensors (Temperature / Humidity, Wind and Rain). |
| - | 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, | + | |
| - | 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.\\ | + | 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. |
| - | 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.\\ | + | 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.\\ | + | |
| + | Once the initialization sequence completes, the system is ready to communicate with your preferred weather software. | ||
| Line 166: | Line 170: | ||
| If the webserver is enabled in Config_Options, | If the webserver is enabled in Config_Options, | ||
| - | Example: IP_Address/ | + | Example: IP_Address/ |
| ===== Navigating between data screens ===== | ===== Navigating between data screens ===== | ||
| - | All Weatherduino devices equipped with a 2.8" | + | All Weatherduino devices equipped with a 2.8" |
| - | The order of each of the data screen can be defined by the user on the Config_Options\\ | + | The order of each of the data screen can be defined by the user in the Config_Options\\ |
| \\ | \\ | ||
| {{: | {{: | ||
| Line 194: | Line 198: | ||
| ===== Custom Box for the WeatherDuino Pro2 Compact receiver ===== | ===== Custom Box for the WeatherDuino Pro2 Compact receiver ===== | ||
| - | {{:wiki: | + | {{https://wiki.weatherduino.com// |
| A member of the WeatherDuino Team (Jarek from Poland) has designed a custom case for the WeatherDuino Pro2 Compact receiver.\\ | A member of the WeatherDuino Team (Jarek from Poland) has designed a custom case for the WeatherDuino Pro2 Compact receiver.\\ | ||
| - | Anyone with access to a 3D printer can print it, or alternatively order it through any of the several 3D print services available online\\ | + | Anyone with access to a 3D printer can print it, or alternatively order it through any of the several 3D print services available online. |
| - | The required files are freely available | + | |
| + | The required files are freely available | ||
| + | |||
| + | New Version: [[https:// | ||
| + | |||
| + | Old Version: [[https:// | ||
| If you don't have a 3D printer, you can order your case directly from online 3D printing services like [[https:// | If you don't have a 3D printer, you can order your case directly from online 3D printing services like [[https:// | ||