Real-Time Beta and Gamma Radiation Data in Madrid
Yes, the graph below, barring unexpected problems, has been generated right nowin real time. Note the times.
There is a page on the website where you can see various graphs. You can see it by clicking here.
I will now tell you how the detector works.
After having my detector Geiger finished and working, the next step is to send this radioactivity information to the network. I have not been able to find in the internet a single station in Madrid sending Beta/Gamma radiation data in real time, so this may be the first station in Madrid to send this kind of data (and I am very excited, because it is difficult to be the first in something in the internet nowadays :-)).
The Geiger counter I have built has a serial port through which the detected radiation data is transmitted every 15 seconds. This has made things much easier, as all I have had to do is provide it with "something" that reads the data and sends it to my home automation system and to the network.
As in other occasions, I have used a NodeMCU with the ESPEASY firmware. This time there was no ESPEASY plugin to read the serial output of my Geiger counter, but it was not very difficult to adapt another plugin, already existing, to read them.
The new device reads the serial output of the Geiger counter, processes it to extract the specific Pulses Per Minute data and sends this data via MQTT to my broker.
Send to Radmon with Node-Red
A node in Nore-Red receives the radioactivity data sent by the device and forwards it to the Radmon.org. Radmon.org is a site where hundreds of volunteers from all over the world send, in real time, the data obtained by their detectors to facilitate their visualisation, generation of graphs, etc.
The "Build Radmon url" function is very simple and simply builds a url, following the Radmon API specifications with my username, password and the last measure.
Saving data in InfluxDB
Another Node-Network node inserts the data into an InfluxDB database, which allows me to subsequently create graphs of this data in Grafana.