Post by rick on Dec 25, 2018 3:58:01 GMT -8
I Just purchased the WeatherBoard with some sensors and the WeatherRack - Anemometer/Wind /Rain. Attached to a Raspberry Pi 3B+ with a GrovePi on top of it. ADS1115 connected to the WeatherBoard. Connected the Anemometer RJ11 to the Wind Vane and attached the Wind Vane RJ11 to the correct RJ11connecter on the WeatherBoard. Likewise for the Rainbucket.
All sensors work. Wind Vane works, But the Anemometer and the Rain Bucket are not working. Running the WeatherBoard.py is stating all good, Wind Vane is working fine and provides me Wind Direction. Manually operating the Anemometer while running the WeatherBoard.py gives me only 0.00 MPH. Likewise manually testing the rain bucket. So I probably doing something wrong.
Can it be something to do with the following in the WeatherBoard.py script. How can I check if these numbers are correct? Don't get the theory behind it either, by the way.
Is the ADS1115 also used for the Anemometer and Rain bucket, or only for the Wind Vane?
I did some reading in the product specification: www.switchdoc.com/wp-content/uploads/2015/01/WeatherRack-011514-V1.0.pdf and www.switchdoc.com/wp-content/uploads/2016/07/WeatherBoard_CurrentSpecification.pdf, but that didn't help me on this topic.
Please help!
(04 is the GrovePi)
Any help is much appreciated!
Regards,
Rick
All sensors work. Wind Vane works, But the Anemometer and the Rain Bucket are not working. Running the WeatherBoard.py is stating all good, Wind Vane is working fine and provides me Wind Direction. Manually operating the Anemometer while running the WeatherBoard.py gives me only 0.00 MPH. Likewise manually testing the rain bucket. So I probably doing something wrong.
Can it be something to do with the following in the WeatherBoard.py script. How can I check if these numbers are correct? Don't get the theory behind it either, by the way.
#WeatherRack Weather Sensors
#
# GPIO Numbering Mode GPIO.BCM
#
anemometerPin = 26
rainPin = 21
Is the ADS1115 also used for the Anemometer and Rain bucket, or only for the Wind Vane?
I did some reading in the product specification: www.switchdoc.com/wp-content/uploads/2015/01/WeatherRack-011514-V1.0.pdf and www.switchdoc.com/wp-content/uploads/2016/07/WeatherBoard_CurrentSpecification.pdf, but that didn't help me on this topic.
Please help!
# i2cdetect -y 1
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- 04 -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- 57 -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- 68 -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- 77
(04 is the GrovePi)
# python WeatherBoard.py
DS3231= 2018-12-25 11:46:48
-----------------
-----------------
AT24C32 EEPROM
-----------------
writing first 4 addresses with random data
address = 0 writing value=72
address = 1 writing value=39
address = 2 writing value=8
address = 3 writing value=99
-----------------
reading first 4 addresses
address = 0 value = 72
address = 1 value = 39
address = 2 value = 8
address = 3 value = 99
-----------------
AM2315 = 0.0
Weather Board Demo / Test Version 1.6 - SwitchDoc Labs
Program Started at:2018-12-25 11:46:49
----------------------
DS3231: Present
BMP280: Present
FRAM: Not Present
HTU21DF: Not Present
AM2315: Not Present
ADS1015: Not Present
ADS1115: Present
AS3935: Not Present
OLED: Not Present
SunAirPlus: Not Present
WXLink: Not Present
----------------------
----------------------------------------
-----------------
DS3231 Real Time Clock
-----------------
Raspberry Pi= 2018-12-25 11:46:49
DS3231= 2018-12-25 11:46:48
DS3231 Temperature= 21.00 C
-----------------
-----------------
WeatherRack Weather Sensors
WeatherRack Local
-----------------
-----------------
AM2315 Temperature/Humidity Sensor Not Present
-----------------
-----------------
-----------------
Rain Total= 0.00 in
Wind Speed= 0.00 MPH
Wind Dir=180.00 Degrees
MPH wind_gust= 0.00 MPH
Wind Direction= 180.00 Degrees
Wind Direction Voltage= 1.406 V
-----------------
-----------------
BMP280 Barometer
-----------------
Temperature = 20.51 C
Pressure = 103.64 KPa
Altitude = -191.14 m
Sealevel Pressure = 103.64 KPa
-----------------
-----------------
HTU21DF Temp/Hum Not Present
-----------------
-----------------
-----------------
AS3935 Lightning Detector Not Present
-----------------
-----------------
-----------------
FRAM Not Present
-----------------
-----------------
-----------------
SunAirPlus Not Present
Any help is much appreciated!
Regards,
Rick