|
Post by pcoladon on Oct 17, 2019 7:25:15 GMT -8
That everything was working; however, during recent rain my unit was not reporting. Took unit down and ran Test on Weather Rack. Got results for first few minutes as I moved wind speed and rain by hand...then got error message below:
Rain Total= 0.00 in
Wind Speed= 0.00 MPH
max Ever Wind Speed= 0.00 MPH
MPH wind_gust= 0.00 MPH
max Ever Gust wind_gust= 0.00 MPH
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Traceback (most recent call last):
File "testWeatherRack.py", line 125, in <module>
print "Wind Direction=\t\t\t %0.2f Degrees" % weatherStation.current_wind_direction()
File "SDL_Pi_WeatherRack/SDL_Pi_WeatherRack.py", line 243, in current_wind_direction
value = self.ads1015.readADCSingleEnded(1, self.gain, self.sps) # AIN1 wired to wind vane on WeatherPiArduino
File "SDL_Adafruit_ADS1x15/SDL_Adafruit_ADS1x15.py", line 282, in readADCSingleEnded
val = (result[0] << 8) | (result[1])
TypeError: 'int' object has no attribute '__getitem__'
Reports to SkyWeather, Weather Underground, Blynk BUT DOES NOT REPORT RAIN .
Request advise.
|
|
|
Post by SDL on Oct 17, 2019 9:08:23 GMT -8
Hmmm. Is this a SkyWeather kit?
BP
|
|
|
Post by pcoladon on Oct 17, 2019 10:42:54 GMT -8
Yes
|
|
|
Post by SDL on Oct 17, 2019 12:06:10 GMT -8
OK. Let's figure out what is bad. It is either the rain gauge or the PiWeather board. Take a Voltmeter and connect it from Pin 2 on JP3 - Weather Out to Pin 4 - GND on JP3. From the specification: Tilt the rain bucket. You should see the voltage change as it clicks. If it does, then your rain bucket works. There is really nothing in that circuit to go wrong on the board, unless somehow you damaged your Raspberry Pi with Static or something. Report back what you find. BP
|
|
|
Post by pcoladon on Oct 17, 2019 13:11:47 GMT -8
Actually on my Weather Board J6 is output to header on pi. I read voltage change at pin 2-4 while tilting rain gage. Are you thinking my pi is bad?
|
|
|
Post by SDL on Oct 18, 2019 5:50:44 GMT -8
You have wired it up? You aren't using a pi2Grover card?
My guess is you have wired it up incorrectly. How are you powering your WeatherBoard? 5V or 3.3V?
If you are powering it with 5V and have wired it directly to your Pi, you probably have damaged your Pi. The Pi2Grover board has 3.3V to 5V converters built in the board.
BP
|
|
|
Post by SDL on Oct 18, 2019 5:55:17 GMT -8
OK. I think I see what you are doing. Yes, reading it at J6 is fine. Sounds like you might have a bad Pi. Rain has NEVER reported right?
Swap out the Pi and see what you get.
BP
|
|
|
Post by pcoladon on Oct 18, 2019 9:33:34 GMT -8
OK, replaced the pi and ran on the test. Seems to be working. Going to put it back on pole and wait for storm a few hours away …….tropical . Always, best customer service, again thanks for the assist.
|
|
|
Post by SDL on Oct 18, 2019 15:09:07 GMT -8
You are sooo welcome! Glad we got it figured out.
Could have been a static zap thing.
BP
|
|