nano_geiger_counter/README.md

13 lines
758 B
Markdown

# nano_geiger_counter
## Introduction
Use WiringPI for NanoPi to monitor a single GPIO which is attached to the output of a cheap geiger counter (RadiationD v1.1 (CAJOE)) - its not very accurate at all measuring between 0 and 10 CPM (concerningly I have seen reference that the background CPM for this device is 12CPM). Data is then sent to an influxdb via curl where it is graphed on grafana.
## Setting up WiringPI
My NanoPi Neo isn't supported by the WiringPI library I found so I had to edit `wiringPi/boardtype_friendlyelec.c` which I've included, you'll then need to recompile the library with the change. For a full repo see here: https://git.solarcene.community/smallsolar/WiringNP
## Compiling
` gcc -o geiger_monitor main.c -lwiringPi -lcurl`