ddodge
Junior Member
Posts: 75
|
Post by ddodge on Apr 6, 2019 6:30:35 GMT -8
Also tried switching SDA/SDL on the 4 channel mux board with Si1145 connected to the mux. Nada. Going back to review other advice you have given....
{"variables": {"Visible Light": 65535.00, "Infra Red Light": 65535.00, "UV Light": 655.00, "OurWeatherTime": "2019-04-06 10:28:50", "FullDataString": "17.10,99.90,21.44,102429.00,35.21,0.70,1.71,0.00,0.00,0.41,1.20,1.38,2.57,0.00,45.00,0,2019-04-06 10:28:50,DodgeWS,528,4,3.95,-85.20,4.67,87.60,4.98,1.20,0.00,0.00,0.00,0.00,0.00,0.00,V:1,WXLMB ,0,,,0,,,0", "FirmwareVersion": "035", "IndoorTemperature": 21.44, "BarometricPressure": 102429.00, "Altitude": 35.21, "OutdoorTemperature": 17.10, "OutdoorHumidity": 99.90, "CurrentWindSpeed": 0.70, "CurrentWindGust": 1.71, "CurrentWindDirection": 0.00, "EnglishOrMetric": 0, "RainTotal": 0.00, "WindSpeedMin": 0.41, "WindSpeedMax": 1.20, "WindGustMin": 1.38, "WindGustMax": 2.57, "WindDirectionMin": 0.00, "WindDirectionMax": 45.00, "AirQualitySensor": 528, "ThunderBoardLast": ",,0,,,0", "ThunderBoardParams": "2,1,7,0,3,3", "ESP8266HeapSize": 29360}, "id": "1", "name": "OurWeather", "hardware": "esp8266", "connected": true}
|
|
|
Post by SDL on Apr 6, 2019 11:05:45 GMT -8
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Apr 6, 2019 12:30:58 GMT -8
No - not something stupid (that's my territory.....) I did add code to OurWeather v35 as follows below. I also tried to duplicate the I2C bus scan code from the TCA9545 example. I "have" been trying to understand if there is something else I need to do other than define and initialize the board.... So...if you have a bone to throw (or a beer), I am ready to receive! ;<)
// TCA9545 4-Channel Mux #include <SDL_Arduino_TCA9545.h> // DD V1.2 drivers for 4-channel MUX SDL_Arduino_TCA9545 TCA9545;
// DD V1.5 TCA9545 (in the VOID (SETUP()) area TCA9545.TCA9545SetConfig();
|
|
|
Post by SDL on Apr 6, 2019 12:57:53 GMT -8
Dan,
If you want to use a device on say, segment Bus2, you need to set the TCA to connect to Bus2.
Like
// Bus 2 TCA9545.write_control_register(TCA9545_CONFIG_BUS2); BP
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Apr 24, 2019 16:46:51 GMT -8
Thanks for that info. I will work on that. In the meantime, since I had a deadline on getting this thing installed on my roof, I put it up without using the MUX. But, I will use it in my next revision.
|
|
ddodge
Junior Member
Posts: 75
|
Post by ddodge on Apr 24, 2019 16:49:40 GMT -8
It's alive! My OurWeather PWS went up on the roof today and it functioning just fine. See WeatherUnderground link: www.wunderground.com/weather/us/nc/winnabow/KNCWINNA12Here is a link to a photo:https://photos.app.goo.gl/oMGtUFuhfcfbzbY18 (I can't see to figure out how to post pics in these forum messages...)
|
|
|
Post by SDL on Apr 25, 2019 12:28:47 GMT -8
Magnificent! I posted your picture for all to enjoy! You attach and insert. BP
|
|