Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't burn sketch to my M5Paper V1.1 #12

Open
orion14794 opened this issue Dec 18, 2023 · 5 comments
Open

Can't burn sketch to my M5Paper V1.1 #12

orion14794 opened this issue Dec 18, 2023 · 5 comments

Comments

@orion14794
Copy link

orion14794 commented Dec 18, 2023

I have installed all libraries and all required to get my M5Paper detected and loaded on Arduino. I am able to upload other sketches to my device, except this one. Attached to this post is a txt file with the results of Terminal posting error.
M5Weather station error report.txt

@nicolasborn
Copy link

I had the same issue. Just use ArduinoJson version 6.12.0 to compile.

@nicolasborn
Copy link

nicolasborn commented Dec 28, 2023 via email

@meldraknailo
Copy link

I tried using ArduinoJson 6.12.0 to complie and I am still having issues with compiling the sketch. On a side note, you can also set a limit to the calls per day to ensure you dont get charged. I use the 3.0 call service for several different weather apps on M5Paper and M5Stack devices and dont get close to the 1,000 calls per day limit.

Here are my error messages if anyone can provide guidance:
In file included from /Users/X/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayIterator.hpp:8,
from /Users/X/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Array/ArrayRef.hpp:8,
from /Users/X/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.hpp:17,
from /Users/X/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson.h:9,
from /Users/X/Downloads/M5PaperWeather-master/weather/Weather.h:25,
from /Users/X/Downloads/M5PaperWeather-master/weather/Data.h:24,
from /Users/X/Downloads/M5PaperWeather-master/weather/weather.ino:25:
/Users/X/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/Variant/VariantRef.hpp:12:10: fatal error: ArduinoJson/Operators/VariantOperators.hpp: No such file or directory
#include <ArduinoJson/Operators/VariantOperators.hpp>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

exit status 1

Compilation error: exit status 1

@meldraknailo
Copy link

meldraknailo commented Dec 29, 2023

I figured it out. ArduinoJson 6.12.0 and M5EPD 0..1.5 worked and it now runs great!

@GIGObug
Copy link

GIGObug commented Jun 9, 2024

I figured it out. ArduinoJson 6.12.0 and M5EPD 0..1.5 worked and it now runs great!

WOW!!!
Thank you!
It compiled, and uploaded. Now I need to change the data to Imperial.
It appears that the code is not sending the Call to OpenWeather.org.
The code compiles and uploads to the M5Paper without errors. The only data currently updating is the temperature and humidity from the internal SHT30 sensors. I checked on OpenWeather.org, and it appears no calls have been received on my account.
About every 30 seconds the display flashes and refreshes the display. The WiFi signal strength changes depending on how far I am from the router, and the battery indicator displays the current charge %.
Is anyone else seeing this?

UPDATE:
I changed the API OneCall in the weather.h file to read "/data/3.0/onecall“, as mentioned above by"nicolasborn". Thank you!
Now all the fields are updating, and API Calls are showing up on my OpenWeather account. Now I just need to change the data to Imperial units, or use the G37/G39 switch to select metric/imperial.
More to come, I'm sure.....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants