Post by rogers1313 on Apr 18, 2018 18:10:39 GMT -8
I have come to a point where I need some help.
I have the Grove Weather Pi half of the project together. I have not implemented the Solar power side of the project.
I am running into some intermittent problems and some none functioning sensors.
I am using a Raspberry Pi 3B computer running NOOBS version 2.7.0. I have installed all the packages (to the best of my knowledge), I have updated the Kernel, upgraded packages. Everything seems to be up to date. I have installed all the packages in the version 2.99 readme file. I have triple checked all electrical connections to the wiring diagram. I got GroveWeatherPI.py running routinely with the following results:
AM2315 is intermittent from giving values to going to 0 on values. With values I get a crc =1 with zeros I get crc =0.
Below I do not see address 0x05
The OLED display does not light-up or give any values no matter where I plug it into bus 0. I have changed grove cable on this one to see if there is a cable problem. Below I can see address 0x3c.
Thunderboard has a white led light sometimes at others it is off. I am not seeing the Thunderboard on Bus1.
I have also attached the test scan below:
-----------BUS 0-------------------
tca9545 control register B3-B0 = 0x1
ignore Interrupts if INT3' - INT0' not connected
tca
9545 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: -- -- -- -- -- -- -- -- 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 -- -- -- --
On the Grove WeatherPi python program, I see the following I have highlighted some things in Red:
pi@weatherpi:~/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
GroveWeatherPi Solar Powered Weather Station Version 2.99 - SwitchDoc Labs
Program Started at:2018-04-18 19:28:05
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Not Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
UseMySQL: Present
Check WLAN: Present
WeatherUnderground: Not Present
Local WeatherRack Weather Sensors Sampling
-----------------
Rain Total= 0.00 in
Rain Last 60 Minutes= 0.00 in
Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
Wind Direction= 270.00 Degrees
Wind Direction Voltage= 4.511 V
-----------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-04-18 20:07:04
DS3231= 2018-04-18 20:07:04
DS3231 Temperature= 23.50 C
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 22.50 C
Pressure = 85.22 KPa
Altitude = 1436.61 m
Sealevel Pressure = 92.08 KPa
-----------------
-----------------
Sunlight Vi/IR/UV Sensor Not Present
-----------------
-----------------
HDC1080 Temp/Hum Not Present
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 21.1 C
outsideHumidity: 22.3 %
crc: 1
-----------------
-----------------
------Patting The Dog-------
Local WeatherRack Weather Sensors Sampling
-----------------
Rain Total= 0.00 in
Rain Last 60 Minutes= 0.00 in
Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
Wind Direction= 270.00 Degrees
Wind Direction Voltage= 4.515 V
-----------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-04-18 20:07:14
DS3231= 2018-04-18 20:07:14
DS3231 Temperature= 23.50 C
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 22.51 C
Pressure = 85.22 KPa
Altitude = 1436.13 m
Sealevel Pressure = 92.08 KPa
-----------------
-----------------
Sunlight Vi/IR/UV Sensor Not Present
-----------------
-----------------
HDC1080 Temp/Hum Not Present
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 21.1 C
outsideHumidity: 22.3 %
crc: 1
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 21.1 C
outsideHumidity: 22.2 %
crc: 1
-----------------
-----------------
------Patting The Dog-------
Local WeatherRack Weather Sensors Sampling
-----------------
Rain Total= 0.00 in
Rain Last 60 Minutes= 0.00 in
Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
Wind Direction= 270.00 Degrees
Wind Direction Voltage= 4.513 V
-----------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-04-18 20:08:34
DS3231= 2018-04-18 20:08:34
DS3231 Temperature= 23.50 C
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 22.51 C
Pressure = 85.22 KPa
Altitude = 1436.13 m
Sealevel Pressure = 92.08 KPa
-----------------
-----------------
Sunlight Vi/IR/UV Sensor Not Present
-----------------
-----------------
HDC1080 Temp/Hum Not Present
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 0.0 C
outsideHumidity: 0.0 %
crc: -1
I have the Grove Weather Pi half of the project together. I have not implemented the Solar power side of the project.
I am running into some intermittent problems and some none functioning sensors.
I am using a Raspberry Pi 3B computer running NOOBS version 2.7.0. I have installed all the packages (to the best of my knowledge), I have updated the Kernel, upgraded packages. Everything seems to be up to date. I have installed all the packages in the version 2.99 readme file. I have triple checked all electrical connections to the wiring diagram. I got GroveWeatherPI.py running routinely with the following results:
AM2315 is intermittent from giving values to going to 0 on values. With values I get a crc =1 with zeros I get crc =0.
Below I do not see address 0x05
The OLED display does not light-up or give any values no matter where I plug it into bus 0. I have changed grove cable on this one to see if there is a cable problem. Below I can see address 0x3c.
Thunderboard has a white led light sometimes at others it is off. I am not seeing the Thunderboard on Bus1.
I have also attached the test scan below:
-----------BUS 0-------------------
tca9545 control register B3-B0 = 0x1
ignore Interrupts if INT3' - INT0' not connected
tca
9545 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: -- -- -- -- -- -- -- -- 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 -- -- -- --
On the Grove WeatherPi python program, I see the following I have highlighted some things in Red:
pi@weatherpi:~/SDL_Pi_GroveWeatherPi $ sudo python GroveWeatherPi.py
GroveWeatherPi Solar Powered Weather Station Version 2.99 - SwitchDoc Labs
Program Started at:2018-04-18 19:28:05
----------------------
I2C Mux - TCA9545: Present
BMP280: Present
DS3231: Present
HDC1080: Not Present
HTU21DF: Not Present
AM2315: Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus: Not Present
Sunlight Sensor: Not Present
WXLink: Not Present
UseMySQL: Present
Check WLAN: Present
WeatherUnderground: Not Present
Local WeatherRack Weather Sensors Sampling
-----------------
Rain Total= 0.00 in
Rain Last 60 Minutes= 0.00 in
Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
Wind Direction= 270.00 Degrees
Wind Direction Voltage= 4.511 V
-----------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-04-18 20:07:04
DS3231= 2018-04-18 20:07:04
DS3231 Temperature= 23.50 C
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 22.50 C
Pressure = 85.22 KPa
Altitude = 1436.61 m
Sealevel Pressure = 92.08 KPa
-----------------
-----------------
Sunlight Vi/IR/UV Sensor Not Present
-----------------
-----------------
HDC1080 Temp/Hum Not Present
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 21.1 C
outsideHumidity: 22.3 %
crc: 1
-----------------
-----------------
------Patting The Dog-------
Local WeatherRack Weather Sensors Sampling
-----------------
Rain Total= 0.00 in
Rain Last 60 Minutes= 0.00 in
Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
Wind Direction= 270.00 Degrees
Wind Direction Voltage= 4.515 V
-----------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-04-18 20:07:14
DS3231= 2018-04-18 20:07:14
DS3231 Temperature= 23.50 C
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 22.51 C
Pressure = 85.22 KPa
Altitude = 1436.13 m
Sealevel Pressure = 92.08 KPa
-----------------
-----------------
Sunlight Vi/IR/UV Sensor Not Present
-----------------
-----------------
HDC1080 Temp/Hum Not Present
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 21.1 C
outsideHumidity: 22.3 %
crc: 1
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 21.1 C
outsideHumidity: 22.2 %
crc: 1
-----------------
-----------------
------Patting The Dog-------
Local WeatherRack Weather Sensors Sampling
-----------------
Rain Total= 0.00 in
Rain Last 60 Minutes= 0.00 in
Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
Wind Direction= 270.00 Degrees
Wind Direction Voltage= 4.513 V
-----------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-04-18 20:08:34
DS3231= 2018-04-18 20:08:34
DS3231 Temperature= 23.50 C
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 22.51 C
Pressure = 85.22 KPa
Altitude = 1436.13 m
Sealevel Pressure = 92.08 KPa
-----------------
-----------------
Sunlight Vi/IR/UV Sensor Not Present
-----------------
-----------------
HDC1080 Temp/Hum Not Present
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-----------------
AM2315 Temperature/Humidity Sensor
-----------------
outsideTemperature: 0.0 C
outsideHumidity: 0.0 %
crc: -1