|
Post by riffelrw on Mar 21, 2020 19:08:49 GMT -8
Hi, I'm just getting to assemble the Lead Acid version - I dont have skyweather in it yet, I just wanted to get it running for other projects first. I see testing with a raspberry pi on what looks to be a remote link, but see the micro-usb connector on the board itself. is there any docs / support on "talking" to the processor directly? I see reference to using an FTDI to USB to connect it, but wasn't sure where on the headers to connect it. Or, is there a spec or schematic/interface dwg for the board showing header definitions and potential upgrading of the code from the Arduino IDE?
Thanks
|
|
|
Post by SDL on Mar 22, 2020 16:18:38 GMT -8
|
|
|
Post by riffelrw on Mar 22, 2020 18:15:10 GMT -8
Thanks! I discovered the issue - i had skipped a step on the grove connection and wasn't getting power to the board. it powers up ok and is running.... Unfortunately I have a new problem - on the raspberry pi "test" side. I'm not using Sky Weather and ran testWXLink.py but get a message "WXLink Not Found" after about 2 seconds. I double-checked the connection to the pi grover runs from the LORA to the Serial Interface connector. I also verified via an FTDI that the Mini is running and the yellow LED is blinking. Attached is the output from the console. It appears the statement "if state.ll.setOpModeSleep(True,True):" is throwing the except Any thoughts on what I should be checking? I have the serial communications enabled on the Pi. I verified 4.9V across the VCC and GND on the Lora board so I know it's powered up.. .. Are there other pins on the Lora I can check or any kind of debug in the testWXLink or libraries I can enable? Thanks Attachments:
|
|
|
Post by SDL on Mar 22, 2020 19:04:59 GMT -8
Your unit on the Lead acid seems to be working perfectly. I don't see an exception!
How are you connecting the WXLink? Are you using a Pi2Grover? Looks like you are. Did you try both WXLink modules? Swap them (turn power off).
Did you turn off the Serial Console using raspi-config? You need to do that too.
Show me the terminal window output from the Pi.
BP
|
|
|
Post by riffelrw on Mar 24, 2020 15:21:59 GMT -8
I've connected the Lora via a PiGrover per the attached picture. I've also copied the configuration showing no serial port enabled, and the console. I also tried some troubleshooting today: 1) I changed the Grove cable to another - no change 2) I removed the PiGrover and went with headers right to the RPI - no change 3) I moved the SD Card to a Pi Zero from my Pi 3B - no change 4) I swapped the Lora cards - no change (and the Mini still transmitted with the "old" one 5) I have a LiPoly version and it came with WXLink so I tried another Lora card (different from the other 2) - no change. 6) I downloaded SkyWeather just to be sure there weren't any drivers missing, rebooted, tried again - no change. This must be something in the SW configuration somewhere?  But I'm running out of things to try. I also attached a listing of the devices found on the Pi. This was the Pi 3. Thanks
|
|
|
Post by SDL on Mar 26, 2020 16:55:51 GMT -8
Thank you for the pictures. It helps a great deal.
I think you have misconfigured the serial port. In your first picture, your serial port should be enabled (although the console should be disabled as it is).
BP
|
|
|
Post by riffelrw on Mar 26, 2020 18:47:15 GMT -8
Thanks, that makes sense. I re-enabled the console and tried again, but still no luck. I did swap the Lora's back to the original configuration (put the remote one back on the mini, and vice versa). Attached are the two images, it looks like the it should be working - i can't figure out what could be wrong. I also swapped out the 3B and put the PiGrover and SD Card into a Pi Zero but same answer. The only thing I haven't swapped out is the pi grover, but I dont think there is any logic on the card, just straight pin to pin connection, correct? I ordered a spare Grover just to be sure, but it's not here yet. Is there any standalone commands you can think of for me to talk to the Lora itself, from the remote station, and verify it's actually there? I couldn't find anything on the SEEED site beyond standard arduino code with the radiohead library. I'm guessing it's not a serial connection to the lora radio itself that i could poke at via a terminal to see its alive? My other thought is just do a loopback TX to RX and console program so that i can verify the serial port on the RPI is functional. I'm guessing it's not even though it's enabled, although its strange I get the same behavior on both platforms... Probably something right in front of my face I cant see..... Thanks for your thoughts... Rich Attachments:

|
|
|
Post by riffelrw on Mar 30, 2020 6:13:26 GMT -8
OK, I was able to figure this out with help from your FB feed on the SD site - it was suggested to disable the serial console access while leaving the serial port enabled and it worked. I'm assuming the serial console enabled over-rode and locked the port (maybe because I'm headless?) so when I disabled the console it worked.  Might be helpful in a future rev of the documentation to point out the configuration, at least in the "test this with a raspberry pi" option. Thanks for your help. Rich
|
|
|
Post by SDL on Mar 30, 2020 13:48:28 GMT -8
That is a great idea and we will add it into the documentation.
BP
|
|
|
Post by riffelrw on Apr 5, 2020 8:35:22 GMT -8
It looks like it's already in the LiPoly or Skyweather document - just not the Lead Acid test configuration guide.
Also, the pix above came from the FB chat on your homepage, so don't want to take credit for it... lol
Rich
|
|
|
Post by SDL on Apr 6, 2020 15:15:27 GMT -8
All good here. It's in the lead acid manual now too.
BP
|
|