Skip to content

cptpiepmatz/rg-15-flipper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rg-15-flipper

Flipper Zero app (FAP) for the RG-15 rain gauge.


Version API Version License

About

rg-15-flipper is a custom FAP for interacting with the RG-15 rain gauge by Hydreon. Built in Rust, it uses the flipperzero-rs/flipperzero Rust bindings. Many thanks for that 🦀❤️🐬.

The app reads sensor data via TTL serial (though the manual refers to it as RS-232 at 3.3V) and sends commands to control the sensor's behavior.

Screenshot

Usage

For further instructions, check the manual in the docs directory.

Installation

  1. Install the Rust toolchain.

  2. Add the thumbv7em-none-eabihf target:

    rustup target add thumbv7em-none-eabihf
  3. Build the FAP:

    cargo build --release

The built binary will be located at ./target/thumbv7em-none-eabihf/release/rg-15-flipper.fap. Use the qFlipper app to copy it to your Flipper's SD card.

Connect the sensor to the Flipper, ensuring GND is connected first.

wiring

The RG-15

rg-15

For FAQs, refer to Hydreon's FAQ page.

An interesting feature of the RG-15 is it's non-volatile memory, which stores settings like:

  • Baud rate
  • Precision
  • Continous vs polling mode
  • Metric vs imperial units
  • Total rain accumulation

These settings persist after reboot. The J2 port has a memory clear (MCLR) pin, though I don't know whether you need to pull it high or low to clear the memory.

License

Licensed under the MIT License. See LICENSE for details.

Forking

This FAP was primarily developed to test the sensor and as a learning exercise. I don’t plan to continue development, so feel free to fork the repo and make changes as needed.