Skip to content

vinymeuh/radiogagad

Repository files navigation

radiogagad - the daemon inside my RaspDAC

License: MIT Release Build Status codecov Go Report Card

Build and install

First you need a Go distribution. Then on the build host, targeting a Raspberry Pi 3

make buildarm7

Install by simply copy the binary under /usr/local/bin and setup the service for the service manager used by the distribution

Configuration

Configuration is loaded from /etc/radiogagad.yml if file exists. See radiogagad.yml.template for configuration variables names and their default values.

Inspirations, links and references

RaspDAC pinout

RaspDAC pinout

RaspDAC pinout schema

Power Button

  1. BOOT OK pin must be set to high to stop power button flashes
  2. Soft Shutdown pin must be set to low
  3. Wait for rising edge on Shutdown pin
  4. When button fired, set Soft Shutdown pin to high for 1 second then low to trigger the power off

Examples: