will
New Member
Posts: 10
|
Post by will on Aug 16, 2018 8:55:00 GMT -8
Without messing about with the firmware? I would like to have current observations written to the serial port for collection by either an Arduino or a Raspberry. I know that I can do this via the wireless network but am looking for an option.
|
|
|
Post by SDL on Aug 16, 2018 9:12:40 GMT -8
This shouldn't be a big problem. You may have to comment out some debugging data that is coming from the software, but the serial port is available.
Hook it up to an Arduino IDE and see what I mean.
BP
|
|
will
New Member
Posts: 10
|
Post by will on Aug 16, 2018 20:31:54 GMT -8
Thanks Doc, I will hook up the IDE. I did look for output on the tx pin on the header at the end of the board and I do see output...but I don't seem to have the right port settings? What speed and parity should I be using? In the code it looks like 115200 and default parity (which I think is 8N1)?
Cheers, Will
|
|
will
New Member
Posts: 10
|
Post by will on Aug 16, 2018 22:03:44 GMT -8
Ok, the FTDI interface works fine at 115K, 8N1. Not sure why my Arduino UNO and Software Serial was having issues. It is a bit of a messy stream (debug!) but I can parse it fine (once I figure out why my UNO and your board are tiff-ing)!
Cheers, Will
|
|
|
Post by SDL on Aug 18, 2018 12:39:53 GMT -8
Let us know how your project proceeds!
BP
|
|
will
New Member
Posts: 10
|
Post by will on Sept 4, 2018 7:39:55 GMT -8
Output captured from the serial port is working well and feeding Weewx running on a Raspberry Pi Zero. It then goes from there to Wind Guru and to Weather Underground. Question though...is there a way to have OurWeather NOT connect with a WLAN as it adds a point of failure that I dont need and I dont need the feed?
|
|
|
Post by SDL on Sept 4, 2018 19:25:46 GMT -8
Great! You have succeeded. Want to write it up as blog posting for us so we can tell others? If the WiFi doesn't connect on power up, the system just keeps going, so I don't think it ism a point of failure. Unless I am not understanding something. BP
|
|
will
New Member
Posts: 10
|
Post by will on Sept 11, 2018 21:11:41 GMT -8
Unfortunately when Wi-Fi does not connect it goes into its hotspot mode as opposed to its weather checking mode. This only happens once in a while but once it is more than enough! My solution will be to use the reset pin driven by the Raspberry Pi but I'd rather not have it happen. I have made progress though. Here is a link to a case that supports both your board and a Pi Zero: www.thingiverse.com/thing:3096151I have also written a Python script that integrates the OurWeather with Weewx using either the network or serial options. It's not quite ready for prime time yet but hopefully will be soon. It will be on GitHub. Will
|
|
|
Post by SDL on Sept 12, 2018 8:21:34 GMT -8
Great case.
Interesting project. How about posting a block diagram for us to look at?
BP
|
|
will
New Member
Posts: 10
|
Post by will on Sept 24, 2018 20:31:45 GMT -8
|
|
|
Post by whitenosethunderpant on Oct 3, 2018 7:31:57 GMT -8
Will,
This sounds like exactly what my kids and I are wanting to do. I am not a programmer, but looking to learn with my kids and would love to implement your setup when you are able to post it on github.
|
|