Post by david on Jun 11, 2019 12:49:08 GMT -8
I just recently built the OurWeather project. Has been running well, stable. Now I want to do some modifications to the software.
I have set up the Ardunio IDE and downloaded the software as instructed in the Advance Programming manual. But when I compile the software and upload to the weather board something is not working. The upload appears to complete successfully but after just a few minutes the output is bad. I will outline what I have done and hope someone can point out what I must be doing wrong.
Process
- Setup the Arduino IDE and download the OurWeather/WeatherPlus software: git clone github.com/switchdoclabs/OurWeatherWeatherPlus
- copy all files into sketchbook `SDL_ESP8266_WeatherPlus`
- open IDE and attempt to compile, Verify and get a few errors
- line 158: ```#include <String.h>: No such file or directory.``` a forum post suggest to change to `<string.h>` so I do and try to compile again
- line 237 `#include "elapsedMillis.h" : No such file` . file name is `elapsedmillis.h` so I change M to m and try again
- line 629 change `Crc16.h` to `crc16.h`
- line 13 in `SDL_Weather_80422.cpp` is `#include <Time.h>` and error is again no such file. There is a file `TimeLib.h` so I change to that
- same line so I change from `<TimeLib.h>` to `"TimeLib.h"`
- compile finishes with out fatal error
- disconnect power from weather board
- connect laptop using USB to FTDI which powers up weather board
- do upload procedure, GPIO0 and RESET
- looks like all uploaded ok, status at bottom of IDE says Done uploading. But the info lines are:
- Leaving...
- Hard resetting via RTS pin...
- I disconnect FTDI and reattach power
- Boots ok and runs two or three minutes, then fails, hangs up.
- data on Blynk and OLED has outside temp frozen, outside humidity nan%, dewpoint nanF, inside temp -227.7F
- The only way I can resolve is to do an over-the-air update from the OurWeather Admin page all is normal again. But if I try to upload form laptop it fails again.
I have not changed any code other than outlined above.
I have set up the Ardunio IDE and downloaded the software as instructed in the Advance Programming manual. But when I compile the software and upload to the weather board something is not working. The upload appears to complete successfully but after just a few minutes the output is bad. I will outline what I have done and hope someone can point out what I must be doing wrong.
Process
- Setup the Arduino IDE and download the OurWeather/WeatherPlus software: git clone github.com/switchdoclabs/OurWeatherWeatherPlus
- copy all files into sketchbook `SDL_ESP8266_WeatherPlus`
- open IDE and attempt to compile, Verify and get a few errors
- line 158: ```#include <String.h>: No such file or directory.``` a forum post suggest to change to `<string.h>` so I do and try to compile again
- line 237 `#include "elapsedMillis.h" : No such file` . file name is `elapsedmillis.h` so I change M to m and try again
- line 629 change `Crc16.h` to `crc16.h`
- line 13 in `SDL_Weather_80422.cpp` is `#include <Time.h>` and error is again no such file. There is a file `TimeLib.h` so I change to that
- same line so I change from `<TimeLib.h>` to `"TimeLib.h"`
- compile finishes with out fatal error
- disconnect power from weather board
- connect laptop using USB to FTDI which powers up weather board
- do upload procedure, GPIO0 and RESET
- looks like all uploaded ok, status at bottom of IDE says Done uploading. But the info lines are:
- Leaving...
- Hard resetting via RTS pin...
- I disconnect FTDI and reattach power
- Boots ok and runs two or three minutes, then fails, hangs up.
- data on Blynk and OLED has outside temp frozen, outside humidity nan%, dewpoint nanF, inside temp -227.7F
- The only way I can resolve is to do an over-the-air update from the OurWeather Admin page all is normal again. But if I try to upload form laptop it fails again.
I have not changed any code other than outlined above.