|
Post by SDL on Jan 12, 2020 10:17:00 GMT -8
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 12, 2020 11:34:49 GMT -8
Config.py is now fixed but...........
Ok, I have connected the Grove Lora, inside the SolarMax Lead Acid box, to Arduino IDE and I see transmission is working. I have plugged up the Grove Lora receive to my Raspberry Pi 3 B+ using the SDL Grove Hat and plugged into the serial connection on the Hat but when I run the "sudo python testWXLink.py" I get:
WXLink Not Found
|
|
|
Post by SDL on Jan 12, 2020 11:46:03 GMT -8
Racky,
Looks like our posts overlapped.
Would you please copy and paste what the program is displaying? Just that?
Which OS version are you running (Stretch, Buster, etc.) BP
|
|
|
Post by SDL on Jan 12, 2020 11:53:46 GMT -8
Oh, and switch the two LoRa boards from SolarMAX and see if you see anything different. I wonder about the serial port under sudo raspi-config? Maybe the serial shell option is on which "could" screw up communication.
run "sudo raspi-config", go into "Interfacing Options", then "Serial" and answer "No" to the login shell question and "Yes" to the serial port hardware to be enabled question.
This might be your problem!
BP
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 12, 2020 12:06:38 GMT -8
Ok, the config.py issue is resolved but.....
I have the Grove Lora 433 tested inside the SolarMax and it is sending out information correctly by plugging it into the Arduino IDE and monitoring the Serial communication at 115k baud. I connected the receiving Grove Lora to my Raspberry Pi 3 B+ using the SDL Grove Hat and plugged into the Serial port of the Hat. When I run the testWXLink.py it says:
WXLink Not Found
I am running Stretch
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 12, 2020 12:11:19 GMT -8
I have checked the option for serial in Raspberry Pi preferences and it is enabled. I still get the:
WXLink Not Found
I have also switched the two Lora boards and no difference....
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 12, 2020 12:20:07 GMT -8
Working!....I was checking settings in the desktop and not doing everything from prompt....when I ran the raspi-config and answered as you said above then it started working.
Thanks
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 12, 2020 12:27:31 GMT -8
I spoke too soon, all I get is:
Tick! The time is ........................
There is no data
|
|
|
Post by SDL on Jan 12, 2020 13:15:11 GMT -8
Now go look at the other end. Is your yellow LED flashing on your SolarMAX system? About every 30 seconds?? Check your wiring. Post a picture, showing the wiring from the LoRa board to the Mini Pro LP Arduino board.
Make sure you have separated them by about 3 feet to avoid saturating the receivers.
BP
|
|
|
Post by SDL on Jan 12, 2020 16:37:35 GMT -8
V005 And another fix to the SDL_Pi_SolarMAX Library. The SolarMAX Lead Acid Protocol number is 10, not 9.
It's up there now.
BP
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 13, 2020 15:31:15 GMT -8
![]() Ok, Still just getting the: Tick! The time is..... Attachments:

|
|
|
Post by SDL on Jan 15, 2020 9:41:00 GMT -8
Forgive me if I have asked this before.
1) Have you looked at the serial debugging output from the Arduino Mini Pro LP?
2) Is the yellow LED blinking once around every 30 seconds?
3) What is the separation between the two units?
4) Can you disconnect your antenna? It looks like the wire antenna is still connected on the LoRa. Disconnect your antenna and straighten out the wire. You really don't want both but let's debug with the wire at this point. Removes a possibility.
5) I can really trace your Grove cable from the LorA transmitter and your Mini Pro LP. Could you take a better shot at that?
We will get there.
BP
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 15, 2020 14:50:11 GMT -8
Forgive me if I have asked this before. 1) Have you looked at the serial debugging output from the Arduino Mini Pro LP? Yes, on the sending LoRa I get the data going out2) Is the yellow LED blinking once around every 30 seconds? Yes, approximately every 20 seconds3) What is the separation between the two units? Currently about 30 feet4) Can you disconnect your antenna? It looks like the wire antenna is still connected on the LoRa. Disconnect your antenna and straighten out the wire. You really don't want both but let's debug with the wire at this point. Removes a possibility. I disconnected the antenna and straighted both sending and receiving LoRa units5) I can really trace your Grove cable from the LorA transmitter and your Mini Pro LP. Could you take a better shot at that? Look at new photo....I have traced those several times.
We will get there.  BP Attachments:
|
|
|
Post by SDL on Jan 16, 2020 13:45:03 GMT -8
Hmmm. Further debugging.
1) Can you swap the two LoRa transceivers?
2) Move your units to about 10 feet.
I would say that you have a bad LoRa transceiver, but I don't know whether it is one or the other. They both are responding to the computers.
I'll issue an RMA# and send you a new transceiver to test with. Mark your transceivers with a marker pen and don't send either one back yet.
PM me your shipping address. I'll PM you the RMA #.
BP
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 17, 2020 6:28:42 GMT -8
I have connect both the LoRa units to the Mini LP Pro and see the transmission of data out by using the Arduino IDE and looking at the Serial Monitor. I don't think I have a bad LoRa unit. Let me keep trying different options before we go to any additional expense.
Thanks for your continued help.
Rick
|
|