scott216 / weather_station_data Goto Github PK
View Code? Open in Web Editor NEWGets wireless data from Davis weather station and sends to Weather Underground PWS
Gets wireless data from Davis weather station and sends to Weather Underground PWS
Rain accumulation jumps by 1.29 inches. There's a bug somewhere in the rain calculation
Hi Scott,
I got your code up and running with an rfm69hcw breakout board and a redboard (UNO clone).. both from sparkfun. I commented out the ethernet and sensor related stuff and I can receive data from my Davis station and print it out to the terminal console just fine.
I'd like to add a small (micro_OLED breakout, also sparkfun) also on the SPI bus to the mix and have it display some of the weather data, but I've had no luck doing this and can't figure out why.
All of my connections seem correct and I can 1) upload code which talks to the rfm69 fine, 2) upload code which talks to the OLED fine and 3) talks to both (I think), but then it hangs / doesn't connect to the weather station. I am not changing any wiring in order to test these 3 scenarios, simply the uploaded code.
In scenario 3 the display inits and outputs a test image and then the terminal/console prints out the debug text:
Weather Station v0.51
Using regular Moteino
Reboots = 48
Free mem: 1023
And then nothing, no "No new data from ISS...." messages, no hopCount increase messages (which I put in to try to track where things are hanging), nothing. The radio normally takes around 2 minutes to connect with the weather station for the first time but if I init the OLED along with the radio it's sat around for 20 minutes without getting past the initial debug text.
Any ideas? I'm using the default SS of 10 for the radio and pins
#define OLED_PIN_RESET 9
#define OLED_PIN_DC 8
#define OLED_PIN_CS 5
for the OLED.
Sincerely,
Hawley
Sketch only works if Ethernet client is started with a dynamic IP; static IP doesn't work. I think this is an issue with the modified Ethernet library.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.