nano_geiger_counter/README.md

13 lines
758 B
Markdown
Raw Permalink Normal View History

2024-04-25 13:45:20 +00:00
# nano_geiger_counter
2024-04-25 13:52:40 +00:00
## 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
2024-04-25 16:51:19 +00:00
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
2024-04-25 13:52:40 +00:00
## Compiling
` gcc -o geiger_monitor main.c -lwiringPi -lcurl`