rad
New Member
Posts: 5
|
Post by rad on May 30, 2017 6:16:41 GMT -8
I have the WeatherPlus (P/N -- 0011-021916-01)
and when I run my own python program(s) to read the sensors or write data to the OLED I get errors due to read/write collisions with the on-board program running.
How do I turn off the on-board script/program so I can just read the data with my programs?
And/or
Where do I obtain the source code for the on-board software (firmware?) and the build/install/upload instructions so I can make my own updates, etc?
Thanks!
|
|
|
Post by SDL on May 30, 2017 9:03:03 GMT -8
Rad, Give us that part number again? Or a picture? We don't have anything that matches this. Do you have a WeatherPlus or a WeatherPiArduino (AKA WeatherBoard)? If you want to modify the ESP8266 program in WeatherPlus, no problem. go to www.switchdoc.com/OurWeather and read the advanced programming manual. All of the source code is up on Github. github.com/switchdoclabs/OurWeatherWeatherPlusBP
|
|
rad
New Member
Posts: 5
|
Post by rad on May 30, 2017 10:30:26 GMT -8
Thanks for the links -- WeatherPlus I have attached a pic of the board -- rad P. S. -- The P/N I am referencing is not your SKU -- The P/N I am referencing is on the upper-left of the board under JP6 and is the same as shown in the picture on your WEATHERPLUS - ALL IN ONE WEATHER STATION CONTROLLER product page. store.switchdoc.com/weatherplus-all-in-one-weather-station-controller/-- rad
|
|
|
Post by SDL on May 30, 2017 12:26:36 GMT -8
Well, phhhttt, you just found a problem in our SKU system. In our SKU system, this board is 0019-WEATHERPLUS-DSBT and the number is clearly 0011 on the board picture you sent and also on our all our stock.
Boy, then things we will have to do to fix tat!
Best regards,
BP
|
|
rad
New Member
Posts: 5
|
Post by rad on May 30, 2017 13:10:35 GMT -8
Glad I could "help" :-)
Back to my original question ---
Is there an easy/built-in way to disable/stop the on-board software (firmware?) on this board?
Or do I need to make my own version and upload that? (e.g.- just a simple NOP loop)
Thanks!
-- rad
|
|
|
Post by SDL on May 31, 2017 3:19:45 GMT -8
Yes, loading a "NOP" program that doesn't check the I2C bus should do that for you. If you want to modify the ESP8266 program in WeatherPlus, no problem. go to www.switchdoc.com/OurWeather and read the advanced programming manual. All of the source code is up on Github. github.com/switchdoclabs/OurWeatherWeatherPlus BP
|
|
rad
New Member
Posts: 5
|
Post by rad on Jun 1, 2017 17:10:35 GMT -8
BP --
I got the 'NOP' sketch "working" but while verifying that I could also re-build the latest SDL version (021) as a start, I ran into a couple of 'gotchas'
I am guessing that the SDL development team runs the Arduino IDE on a windows platform because I was 'bit' (only for a few minutes) by the filename uppercase/lowercase gremlin. I am using Linux to run the IDE :-)
All good now.
Thanks for all the help so far.
-- rad
|
|
|
Post by SDL on Jun 3, 2017 5:18:43 GMT -8
Rad, Glad it is all good. All our Arduino development stations are Mac based. Understand your comment about windows. BP
|
|