Go to file
smallsolar f1932dc4a3 Added link to adapted WiringPI Library 2024-04-25 16:51:19 +00:00
WiringPI Add WiringPI/boardtype_friendlyelec.c 2024-04-25 13:53:14 +00:00
LICENSE Initial commit 2024-04-25 13:45:20 +00:00
README.md Added link to adapted WiringPI Library 2024-04-25 16:51:19 +00:00
main.c Add main.c 2024-04-25 13:46:12 +00:00

README.md

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