|
Post by rabmaker on Mar 4, 2020 16:34:12 GMT -8
I was a Kickstarter supporter for the OurWeather DIY Complete Weather Station Base + Expansion kit. Now that i have it up and running I would like to move it outside. I am desiring to use LoRa for the communication side since placement is going to be out of wifi range.... I noticed that SkyWeather is offering LoRa connectivity - can the same be done with OurWeather board? If so, is there existing documentation on how to connect arduino mini pro with LoRa to the OurWeather board? What are my options - if any?Looking for libraries, documentation, etc..... Need to know what i need on the send and receive side - planning on using RPI with LoRa as the receiver/gateway. If can get one to work looking at installing approximately 4 more to cover agricultural fields. Any help will be greatly appreciated. Thanks.
|
|
|
Post by SDL on Mar 7, 2020 14:33:27 GMT -8
|
|
|
Post by rabmaker on Apr 16, 2020 23:34:12 GMT -8
At your recommendation I purchased the OurWeather WXLink Solar LoRa (0212-OWSGWXLink-DSBT) kit. I love the concept and felt it was exactly what I needed. Followed what instructions I could find but I am still out of luck... I have followed through the instructions many times, read through the forum, and beat my head against the table a couple of times. I have never been able to get OurWeather to recognize the SunAirPlus board although the board itself appears to be working (lights are flashing and it will power up other boards, OurWeather has yet to speak to it.... After digging around and going down many rabbit holes I found a statement somewhere that stated an address issue between the ADC used for the Air Quality meter and the SunAirPlus. Followed instructions to place a jumper between ADDR and SCL - got that done - then i cloned SDLESP32OurWeather version 57(56) of the source code make the required change and then recompile - easy peasy you would think....... Getting this error on the verify in Arduino: 'RH_RF95' is not a template error message 'RH_RF95' is not a template was generated by line 45 in WXlink.h rf95.setModemConfig(RH_RF95<HardwareSerial>::ModemConfigChoice(Bw31_25Cr48Sf512)); Any suggestions? Is there any other documentation that I am missing? Keep up the great work!!
|
|
|
Post by SDL on Apr 17, 2020 17:41:40 GMT -8
Connect up the VDD line on the SunAirPlus board. This is an irritating problem with the version 1 of this board. We just got Version 2 of this board in the lab for testing and it works now.
Regarding the compile problem:
Wrong version of the RH_RF95 library I think. Remove your old one and down it from this link. Restart the IDE.
github.com/Seeed-Studio/Grove_LoRa_433MHz_and_915MHz_RF/archive/master.zip
After installing, also go down into
/home/user/Arduino/libraries/Grove_LoRa_433MHz_and_915MHz_RF-master/RadioHead.h
and replace <util/atomic.h> with <RHutil/atomic.h>
BP
|
|
|
Post by rabmaker on Apr 29, 2020 20:01:12 GMT -8
Sorry for such a newbie question but, I never receive any data on Rx side lora (neither on WeatherPlus2 or Raspberry pi). What is the easiest way to ensure/test that Mini Pro LP Tx board is sending data? I get a solid blue LED and a flashing amber LED when power is applied to the board. If I connect by FTDI to Tx board, should I be able to get any output on Serial console in Arduino IDE - connecting VCC to VCC, GND to GND, RXD to TXD on board,and TXD to RXD on board - do I need any other connections? Would also like to connect to the RX side to ensure it is programmed and running correctly. Thanks.
|
|
|
Post by SDL on Apr 30, 2020 15:36:45 GMT -8
Check your serial port on the Raspberry Pi. The flashing amber light says that the data is being sent. You can hook up a serial port (look at setting up the Arduino IDE). And yes, you use a 5V FTI cable. Like this one: shop.switchdoc.com/products/ftdi-cable-5v-3-3v-with-usb-cableHere is the information on how to do the Raspberry Serial port. Note: Can't detect your LoRa transciever on Buster or Raspberry Pi 4? Do this Here is what you to detect it. Don't be surprised if you have to move the LoRa away from the RPI4. We used a 50cm Grove cable. Also, move your units at least 1m apart. BP BP sudo raspi-config go to 5 Interfacing Options go to P6 Serial Answer "No" to "would you like a login shell to be accessible over serial?" Answer "Yes" to "would you like the serial port hardware to be enabled" And rerun your software.
|
|