|
Post by triggerfish on Sept 27, 2018 12:22:38 GMT -8
I received the sensor recently and wish to use it in my GroveWeatherPi setup. But where do I plug it? Is it part of the weastherboard nus and dhould I plug it into the HUB, or can I plug it in the free J5 grove on the mux?
|
|
|
Post by SDL on Sept 27, 2018 18:06:30 GMT -8
Read the section in the tutorial about adding the SI1145 to the GroveWeatherPi chip. It's in the instructable too. There is also a blog article about the 1145 on www.switchdoc.comBP
|
|
|
Post by triggerfish on Sept 27, 2018 21:55:20 GMT -8
Read the section in the tutorial about adding the SI1145 to the GroveWeatherPi chip. It's in the instructable too. There is also a blog article about the 1145 on www.switchdoc.comBP OK, found something. Will work on that later. Have to solder the HDC1080 also.
|
|
|
Post by triggerfish on Sept 28, 2018 1:50:08 GMT -8
Peek-a-boo...
When I plug it in Bus3 of the mux, that is not recognized anymore, but that is the next challenge
|
|
|
Post by triggerfish on Sept 28, 2018 8:04:30 GMT -8
When the Vi/UV/IR is plugged in the mux Bus3, the mux can not be found anymore...
>>>>>>>>>>>>>>>>>>><<<<<<<<<<< TCA9545 I2C Mux Not Present >>>>>>>>>>>>>>>>>>><<<<<<<<<<< Error accessing 0x48: Check your I2C address Error accessing 0x48: Check your I2C address Type Error
GroveWeatherPi Solar Powered Weather Station Version 3.02 - SwitchDoc Labs
Program Started at:2018-09-28 18:01:30
---------------------- I2C Mux - TCA9545: Not Present BMP280: Not Present DS3231: Not Present HDC1080: Not Present HTU21DF: Not Present AM2315: Not Present ADS1015: Not Present ADS1115: Not Present AS3935: Not Present OLED: Not Present SunAirPlus: Not Present Sunlight Sensor: Not Present WXLink: Not Present
UseMySQL: Present Check WLAN: Present WeatherUnderground: Present ----------------------
And in the documentation I seem to find that address 0x48is the temperature sensor, which has nothing to do with the Light sensor? Where seems to be the problem?
|
|
|
Post by triggerfish on Sept 28, 2018 8:13:19 GMT -8
The mux test shows no addresses, just this error:
pi@IBADHOEV14:~/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545 $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73 Program Started at:2018-09-28 18:12:05
Traceback (most recent call last): File "testSDL_Pi_TCA9545.py", line 51, in <module> tca9545 = SDL_Pi_TCA9545.SDL_Pi_TCA9545(addr=TCA9545_ADDRESS, bus_enable = TCA9545_CONFIG_BUS0) File "/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 47, in __init__ self._write(TCA9545_REG_CONFIG, config) File "/home/pi/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 52, in _write self._bus.write_byte_data(self._addr, register, data) IOError: [Errno 121] Remote I/O error
|
|
|
Post by SDL on Sept 28, 2018 9:12:23 GMT -8
Unplug the SI1145 and rerun the test. It looks like you blew something up!
BP
|
|
|
Post by triggerfish on Sept 28, 2018 9:57:23 GMT -8
Unplug the SI1145 and rerun the test. It looks like you blew something up! BP Without the SI145 plugged, the tests work like they did before.
pi@IBADHOEV14:~/SDL_Pi_GroveWeatherPi/SDL_Pi_TCA9545 $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73 Program Started at:2018-09-28 19:50:21
-----------BUS 0------------------- tca9545 control register B3-B0 = 0x1 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- 3c -- -- -- 40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- 77
-----------------------------------
-----------BUS 1------------------- tca9545 control register B3-B0 = 0x2 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
-----------BUS 2------------------- tca9545 control register B3-B0 = 0x4 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: 40 -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
-----------BUS 3------------------- tca9545 control register B3-B0 = 0x8 ignore Interrupts if INT3' - INT0' not connected tca9545 control register Interrupts = 0x0 0 1 2 3 4 5 6 7 8 9 a b c d e f 00: -- -- -- -- -- -- -- -- -- -- -- -- -- 10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
|
|
|
Post by triggerfish on Sept 28, 2018 11:35:20 GMT -8
I did not get this one btw shop.switchdoc.com/products/grove-sunlight-ir-uv-i2c-sensor But one with the grove plug and the sensor on the same side of the board. Also the pcb seems blueish in stead if this one blackish? Does that make any difference? Also the provided cable does not have the typical grove connector, it lacks the locking part.
|
|
|
Post by triggerfish on Oct 3, 2018 13:01:41 GMT -8
Any suggestions on this? I did unplug the Si1145 and things returned to normal. Also the test returned about what I expected
|
|
|
Post by SDL on Oct 6, 2018 9:03:59 GMT -8
Where did you get the SI1145 and when? Sounds like you have a bad board.
BP
|
|
|
Post by triggerfish on Oct 6, 2018 10:17:59 GMT -8
Where did you get the SI1145 and when? Sounds like you have a bad board. BP Switchdoc labs order #2305  september 3rd.
|
|
|
Post by SDL on Oct 6, 2018 11:48:47 GMT -8
Peter,
PM Me your shipping address. I'll give more directions inside.
Here's an RMA #:
RMA#100618-01
BP
|
|
|
Post by triggerfish on Oct 19, 2018 5:50:28 GMT -8
Got the new sensor and installed it today. The system booted without the previous errors  I probebly need some more tweaking, because I only get 0 as values, but we are getting there...
----------------- Sunlight Vi/IR/UV Sensor ----------------- Sunlight Visible(Lux): 0.00 Sunlight IR(Lux): 0.00 Sunlight UV Index: 0.00
|
|
|
Post by triggerfish on Oct 20, 2018 7:51:41 GMT -8
Is the software ready for the UV sensor? I seem to find different variables used... UV IR but also sunlightUV. I wonder because in the logging all related values stay 0...
|
|