Skip to content

aqua-scope/lorain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lora Rain Sensor

Lorain is an affordable LoraWAN rain sensor utilizing the RAK 3172 Lora Module that can be programmed using Arduino environment.

Hardware

There are multiple ways to acquire the hardware for the LoRain. The Aqua-Scope Webshop at shop.aqua-scope.com offers different options depending on your willingness to spent own effort in exchange for money:

  • Complete product tested and ready to use
  • Kit with all needed components and need to solder some of the components and flash the firmware. The kit includes a PCBA almost fully populated
  • The plain enclosure of the device. You need to order the PCB / PCBA, purchase and solder all components and flash the firmware. The 'How-To' below assumes this option.

The folder /hardware contains the gerber data and Bill of material of the PCBs. You can order the PCB from one of the usual suspects for fast and cheap PCB manufacturing like jlcpcb or pcbway. Ordering own PCB and soldering all components requires a certain level of hardware knowledge and soldering skills. Hence, we don’t provide additional guidance beside offering the files for the PCB.

How to complete the LoRain Kit

The LoRain Kit consists of the following components (see image):

  • enclosure including screws for mounting the enclosure to a flat surface, PCBA compartment and battery compartment
  • one screw to hold the battery compartment
  • 2 * AA Batteries
  • CBA SMD complete
  • 1 * 8.6 mm whip antenna
  • 2 * wires to connect PCBA with battery compartment
  • Button
  • Reed contact

The PCBA needs some soldering as shown in this (image). Please note that all soldering are done on the B-Sie that does not have any components. No soldering needed on A side with the components.

  • Connect the Battery + contact if the PCBA to the battery + contact of the battery compartment using the red wires
  • Connect the Battery - contact if the PCBA to the battery contact of the battery compartment using the black wires (image)
  • Insert the button into the hole of the PCB and solder it on the four pins
  • Solder the reed contact on the B-side as shown on the silk screen (image)
  • Solder the whip antenna to the antenna tru-hole

Firmware

The firmware is written as Arduino Sketch using the RAK Wireless Arduino Environment. You need to install the Arduino IDE and follow the instructions of RAK wireless to install the RAK board support package.

To flash a new firmware you need a simple USB-TTL-UART connector ( e.g. this ). The firmware update mode on the RAK module is enabled using the AT command 'AT+BOOT' on the serial console of the Arduino IDE.

About

Lorawan Rain Level Sensor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published