|
Post by SDL on Sept 18, 2019 6:25:27 GMT -8
When you have the transmitter powered up, do you see the yellowish LED blink about every 30 seconds? It flashes when it transmits. Unplug the DS32321 Clock from the WXLink Arduino board too. Not needed any more.
BP
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 18, 2019 9:37:39 GMT -8
Hi BP,
First, as far as I know I don't have a DS3231 Clock on my system.
Second, I have been looking at the powered up transmitter for at least 10 minutes but I don't see an LED blink on any of the 3 remote boards. Are you referring to the LED13 on the Arduino board that I indicate in the following photo? This green LED is normally off but it blinks once when I power on or when I press the reset button, but after that it doesn't blink anymore.
Or is there an LED on the LoRa board? If so, please show me where to look on the LoRa board photo I am attaching.
In any case, the only LEDs that I can see are:
- 2 red and one green LEDs on the SunAirPlus that are normally ON and don't blink.
- One blue power LED and one green LED13 on the Arduino, the blue LED is always on and the green is off and doesn't blink.
- No visible LED on the LoRa board.
Please give me a quick way to fix this problem, I really need to have this station working.
Thanks
|
|
|
Post by SDL on Sept 18, 2019 18:41:47 GMT -8
LED13 on the Arduino board. Since it doesn't blink, I think the board is NOT programmed. Since you don't have an FTDI cable we will send you a new Arduino board programmed for SolarMAX. I just verified the programming on my unit and the yellow LED does blink, so I think we have it diagnosed.
Here is your RMA#
SwitchDoc Labs RMA#091819-01 909 S Shelley Lake Lane Spokane Valley, WA 99037
Please PM us your address and we will cross ship.
BP
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 19, 2019 6:58:45 GMT -8
What a relief!!! I was getting desperate about this. Thanks for your reply.
I have sent you my address by PM.
Now, how do we fix the SkyWeather.py program that starts and then hangs after printing: "after SHT30" and when I try to stop the program with Control+C, it continues running as you can see in the attached image.
I have waited for over half an hour but it doesn't continue.
Or is this because there is no data transmission from the remote LoRa board?
In my Conflocal.py file these are my device present global variables:
# device present global variables
Camera_Present = True TCA9545_I2CMux_Present = True SunAirPlus_Present = True AS3935_Present = True DS3231_Present = False BMP280_Present = True BME680_Present = False HDC1080_Present = True SHT30_Present = False AM2315_Present = True ADS1015_Present = False ADS1115_Present = False OLED_Present = False OLED_Originally_Present = False WXLink_Present = True Sunlight_Present = True TSL2591_Present = True DustSensor_Present = True
Is this listing OK? I am not sure of how this list is supposed to work.
What can I do now?
|
|
|
Post by SDL on Sept 19, 2019 11:37:49 GMT -8
OK, let's get on that problem. First thing, let's check your wiring.
do this:
sudo python testSDL_Pi_TCA9545.py And copy and past the results here.
BP
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 19, 2019 20:35:15 GMT -8
Ok, here is the result of the testSDL_Pi_TCA9545.py:
Since I was testing, I went on and also tested the AS3935 ThunderBoard, the Grove AQI Dust sensor, the TSL2591 Sunlight sensor and finally the SkyWeather Software.
I am pasting the results in the following posts:
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 19, 2019 20:58:56 GMT -8
Here are the Thunderboard and Dust tests:
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 19, 2019 21:04:12 GMT -8
The Sunlight sensor test:
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 19, 2019 21:35:30 GMT -8
The results of running SkyWeather.py:
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 19, 2019 21:48:50 GMT -8
|
|
|
Post by SDL on Sept 23, 2019 12:07:07 GMT -8
OK, I think you have wiring problems.
do
sudo python testSDL_Pi_TCA9545.py
and post the results. In a code block (C in a box) like this:
This is the C Block at work!
BP
|
|
juanb
New Member
Posts: 2
|
Post by juanb on Sept 25, 2019 12:06:05 GMT -8
This is the result from $ sudo python testSDL_Pi_TCA9545.py:
pi@swtchdoclabs:~/SDL_Pi_SkyWeather $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73 Program Started at:2019-09-25 15:59:32
-----------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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- 48 -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 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: -- -- -- -- -- -- -- -- -- 29 -- -- -- -- -- -- 30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- 70: -- -- -- 73 -- -- -- --
-----------------------------------
|
|
|
Post by SDL on Sept 27, 2019 7:05:55 GMT -8
OK. First of all, do you have an SHT30 temp/humidity sensor or an AM2315 temp sensor?
Have you compared the above test information to the i2c bus results in the manual? Do that and report back.
BP
|
|
juanc
Junior Member
Posts: 50
|
Post by juanc on Sept 27, 2019 9:44:38 GMT -8
OK. First of all, do you have an SHT30 temp/humidity sensor or an AM2315 temp sensor? Have you compared the above test information to the i2c bus results in the manual? Do that and report back. BP 1.- I have an AM2315 temp sensor. 2.- The I2C bus results are IDENTICAL to those in the manual.
|
|
|
Post by SDL on Sept 28, 2019 14:16:32 GMT -8
Hmm.
I think I asked you this before, but have you run the testAM2315.py script?
BP
|
|