Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
programming_weatherduino_devices [2018/05/26 23:53] – [WeMos D1 R2 & mini isn't listed in my list of available boards. How to add it?] werk_ag | programming_weatherduino_devices [2019/03/18 02:12] (current) – [LOLIN (WeMos) D1 R2 & mini. How to upload files to the SPIFFS memory?] werk_ag | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Where do I find the WeatherDuino Software? ===== | ===== Where do I find the WeatherDuino Software? ===== | ||
- | All system builders can download the WeatherDuino software from the [[http:// | + | All system builders can download the WeatherDuino software from the [[http:// |
- | Weatherduino | + | The WeatherDuino |
- | ===== What I need to program the Receiver, Transmitter or any other WeatherDuino device? ===== | + | ===== What do I need in order to program the Receiver, Transmitter or any other WeatherDuino device? ===== |
- | The Arduino IDE is used to compile and upload the WeatherDuino software to the microcontroller used in each unit. | + | The Arduino |
===== Do I need to have Arduino programming skills? ===== | ===== Do I need to have Arduino programming skills? ===== | ||
- | No, there is no need to have programming skills. However its assumed the user have a minimal knowledge of the Arduino IDE environment. Knowing | + | No, there is no need to have programming skills. However its assumed |
- | Edition of the code is required | + | Editing |
\\ | \\ | ||
- | Bellow | + | Below is an example of the code editing |
- | Basically its only changing the value of pre-defined variables. | + | |
< | < | ||
Line 31: | Line 30: | ||
===== Install Arduino libraries ===== | ===== Install Arduino libraries ===== | ||
- | The WeatherDuino software, makes use of several Arduino libraries, which always | + | The WeatherDuino software makes use of several Arduino libraries, which are always included in every software package.\\ |
- | Those libraries must be installed (copied) to the Arduino libraries folder. On Windows systems, generally this folder is located at: | + | These libraries must be installed (copied) to the Arduino libraries folder. On Windows systems, generally this folder is located at: |
< | < | ||
Line 41: | Line 40: | ||
Most compile errors are due to not following this recommendation. </ | Most compile errors are due to not following this recommendation. </ | ||
- | From time to time we may change or upgrade the libraries used by the software. When this happen, always | + | From time to time we may change or upgrade the libraries used by the software. When this happens, there is always |
===== Configuring the Software - User Configurable Options ===== | ===== Configuring the Software - User Configurable Options ===== | ||
- | On WeatherDuino software, all user configurable options are just in one place.\\ | + | On WeatherDuino software, all user configurable options are stored |
- | After loading the Weatherduino | + | After loading the WeatherDuino |
- | Before compiling and upload | + | Before compiling and uploading |
- | The software for some units, | + | The software for some devices |
{{: | {{: | ||
- | ===== WeMos D1 R2 & mini isn't listed in my list of available boards. How to add it? ===== | + | ===== LOLIN (WeMos) D1 R2 & mini isn't listed in my list of available boards. How do I add it? ===== |
In your Arduino IDE: | In your Arduino IDE: | ||
* Open Preferences window. | * Open Preferences window. | ||
- | * Into Additional Board Manager URLs field, copy and past this URL: | + | * Paste this URL into the Additional Board Manager URLs field: |
< | < | ||
Line 64: | Line 62: | ||
</ | </ | ||
- | * After installation, | + | * After installation, |
+ | ===== LOLIN (WeMos) D1 R2 & mini. How to upload files to the SPIFFS memory? ===== | ||
+ | |||
+ | To upload the fonts and icons to SPIFFS use the " | ||
+ | If you don't see this option, to add it follow instructions here: https:// | ||
+ | or (the easy way) just copy to your Sketchbook location (on Windows, usually C: | ||
+ | the " | ||
+ | \\ | ||
+ | Close the IDE and open again to see the new menu option.\\ | ||
===== OTA programming ===== | ===== OTA programming ===== | ||
- | Some WeatherDuino devices can be upgraded / programmed by Over The Air (OTA), using your WiFi network.\\ | + | |
- | For this to work Python | + | Some WeatherDuino devices can be upgraded / programmed by Over The Air (OTA), using your WiFi network. \\ For this to work you need to have Python |
- | Do not install Python 3.5 that is not supported. \\ | + | Do not install Python 3.5 as that is not supported. \\ |
- | During | + | During |
{{: | {{: | ||