racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 9, 2020 17:08:08 GMT -8
Is there a way to change the protocol to allow both 4 byte variables to be sent and received?
I want to move on to the next step of SQL retention and Blynk presentation.
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 9, 2020 16:45:58 GMT -8
I'm running in windows. Here is the fc differences. I am using Notepad++ and the plugin called compare....
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 9, 2020 15:15:08 GMT -8
yes, no problems with original: Attachments:
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 9, 2020 14:40:55 GMT -8
The original and the edited are attached and the following lines are what has changed: 153-154, 167-174, 301-302, 513-514, 770-786
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 9, 2020 12:37:47 GMT -8
I wanted to have a internal temperature/humidity sensor (which is included in the Lead Acid SolarMax setup files) and an external AM2315 temperature/humidity sensor outside the box. github.com/switchdoclabs/SDL_Arduino_SolarMAX_LoRa_TxI have modified lines in the INO sketch file from information in the repository below and included my sketch as an attachment. github.com/switchdoclabs/SDL_Arduino_WXLink_LoRa_TxI am getting the error messages you see in the picture for BAD CRC and incorrect byte length of data transmitted. HELP!!!
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 4, 2020 16:12:08 GMT -8
Yes, it compiled fine with your original source code from github. See the errors below and Arduino IDE is 1.8.10.
I have the "Arduino Pro or Mini Pro" and "ATmega328P (5V,16MHz)" selected.
Arduino: 1.8.10 (Windows 10), Board: "Arduino Pro or Pro Mini, ATmega328P (5V, 16 MHz)"
C:\Users\racam\Documents\Arduino\libraries\SDL_Arduino_SolarMAX_LoRa_Tx-master\Adafruit_AM2315.cpp: In member function 'boolean Adafruit_AM2315::begin()':
C:\Users\racam\Documents\Arduino\libraries\SDL_Arduino_SolarMAX_LoRa_Tx-master\Adafruit_AM2315.cpp:27:18: error: no matching function for call to 'TwoWire::begin(int, int)'
Wire.begin(5, 4);
^
In file included from C:\Users\racam\Documents\Arduino\libraries\SDL_Arduino_SolarMAX_LoRa_Tx-master\Adafruit_AM2315.h:30:0,
from C:\Users\racam\Documents\Arduino\libraries\SDL_Arduino_SolarMAX_LoRa_Tx-master\Adafruit_AM2315.cpp:19:
C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire\src/Wire.h:52:10: note: candidate: void TwoWire::begin()
void begin();
^~~~~
C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire\src/Wire.h:52:10: note: candidate expects 0 arguments, 2 provided
C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire\src/Wire.h:53:10: note: candidate: void TwoWire::begin(uint8_t)
void begin(uint8_t);
^~~~~
C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire\src/Wire.h:53:10: note: candidate expects 1 argument, 2 provided
C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire\src/Wire.h:54:10: note: candidate: void TwoWire::begin(int)
void begin(int);
^~~~~
C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire\src/Wire.h:54:10: note: candidate expects 1 argument, 2 provided
Multiple libraries were found for "JeeLib.h"
Used: C:\Users\racam\Documents\Arduino\libraries\jeelib
Multiple libraries were found for "MemoryFree.h"
Used: C:\Users\racam\Documents\Arduino\libraries\SDL_Arduino_SolarMAX_LoRa_Tx-master
Multiple libraries were found for "SoftwareSerial.h"
Used: C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SoftwareSerial
Multiple libraries were found for "RH_RF95.h"
Used: C:\Users\racam\Documents\Arduino\libraries\Grove_LoRa_433MHz_and_915MHz_RF-master
Multiple libraries were found for "SPI.h"
Used: C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\SPI
Multiple libraries were found for "Wire.h"
Used: C:\Users\racam\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.2\libraries\Wire
Multiple libraries were found for "TimeLib.h"
Used: C:\Users\racam\Documents\Arduino\libraries\Time
exit status 1
Error compiling for board Arduino Pro or Pro Mini.
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Feb 4, 2020 12:34:25 GMT -8
I'm attempting to modify the Lead Acid Arduino code to include readings from your AM2315 Temperature/Humidity sensor but it will not compile for the Mini Pro. Any help would be appreciated. Rick
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 27, 2020 11:35:54 GMT -8
Yes, but I need both inside and outside. There is an available I2C slot and would need to read both and send both.
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 27, 2020 8:14:31 GMT -8
I just need to be able to add the AM2315 as a "outside temperature and humidity" in the LoRa stream, then log the data to Mariadb and report the info in the Blynk app. I guess I misunderstood the Kickstarter and plans for the product.
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 25, 2020 8:01:24 GMT -8
Hey guys, When can we expect a complete solution, including: - Stable github communication of LoRa in SolarMax box
- Complete github SolarMax solution that includes, internal and external environmental sensors
- Includes Mariadb data retention
- Includes Blynk integration
Love these products and all your creativity! Just can't wait to get my SolarMax working so I can produce other Raspberry Pi solutions.
Thanks for everything!
Rick
|
|
racky
New Member
Posts: 28
Raspberry Pi: Yes
Other Device: Odroid C2, XU4 and N2, Banana Pi
|
Post by racky on Jan 17, 2020 19:21:39 GMT -8
Ok, new info....receiving a packet but misformed? Attachments:
|
|
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
|
|
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:
|
|
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:
|
|
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
|
|