Update README.md

This commit is contained in:
smallsolar 2024-04-25 13:52:40 +00:00
parent 3adcbff6ba
commit 99e1a68922
1 changed files with 11 additions and 0 deletions

View File

@ -1,2 +1,13 @@
# 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.
## Compiling
` gcc -o geiger_monitor main.c -lwiringPi -lcurl`