A simple balenaCloud application to measure and record background radiation in your area. Radiation is detected with a cheaply available board, and connected to a Raspberry Pi to provide InfluxDB for datalogging and Grafana for pretty charts.
- A Raspberry Pi (any model should be good for this, but I’d recommend a 3 or above just for performance reasons)
- An 8GB (or larger) SD card (we recommend SanDisk Extreme Pro SD cards)
- A power supply (PSU)
- A radiation detector Amazon UK or AliExpress
- Some Dupont cables/jumper jerky (you’ll need 3 female-female cables)
There are 3 connections we need to make from the radiation detector board to the Raspberry Pi. They are +5V and Ground (GND) for power, and the output pulse line to detect the count. Note that this is called VIN
which can be a bit confusing as this usually means ‘voltage input’ or something similar, but on this board, it’s the output.
In this configuration you only need to provide 5 volt power to one of the two boards; if you’re powering the Pi with a standard micro-USB power supply, that will power the detector board via the connections we’ve just made, as well.
Running this project is as simple as deploying it to a balenaCloud application, then downloading the OS image from the dashboard and flashing your SD card.
We recommend this button as the de-facto method for deploying new apps on balenaCloud, but as an alternative, you can set this project up with the repo and balenaCLI if you choose. Get the code from this repo, and set up balenaCLI on your computer to push the code to balenaCloud and your devices. Read more.
Once the software has been deployed and downloaded to your device, the dashboard will be accessible on the local IP address of the device, or via the balenaCloud public URL feature.