Geigercounter: Difference between revisions
(explain software a bit) |
|||
Line 41: | Line 41: | ||
| gori || 5 || | | gori || 5 || | ||
|- | |- | ||
| Walter || 5 || revbank | | Walter || 5 || revbank (Betaald) | ||
|- | |- | ||
| Jos || 5 || revbank (Betaald) | |||
|- | |||
| thomas || 5 || revbank (Betaald) | | thomas || 5 || revbank (Betaald) | ||
|- | |- | ||
| Peetz0r || 5 || revbank | | Peetz0r || 5 || revbank (Betaald) | ||
|- | |- | ||
| merethan || 5 || | | merethan || 5 || revbank (Betaald) | ||
|- | |- | ||
| pepman || 5 || revbank | | pepman || 5 || revbank (Betaald) | ||
|- | |- | ||
| bertrik || Wemos D1 mini || natura | | bertrik || Wemos D1 mini || natura | ||
|} | |} | ||
DONE! thank you all. | DONE! thank you all. |
Revision as of 17:28, 24 November 2017
Project Geiger counter | |
---|---|
A geiger counter for the space | |
Status | In progress |
Contact | gori, thomas |
Last Update | 2017-11-24 |
- We have this one
- Documentation : https://drive.google.com/drive/folders/0B9itH-BnWE5sY2JGRkM4MWhSYkE
- Realtime measurements
Software
See the geiger_esp sub-directory in this github repo
The way the ESP8266 version of the software works, is by means of a single pulse counter. This counter is incremented for every tick coming from the Geiger tube.
Every second we keep track how much the counter has incremented compared to the previous second. This value is stored in a circular buffer of 60 entries, one for each second inside of a minute.
The 'cpm' value (counts per minute) is then simply the sum of all entries in the circular buffer! So we can calculate the cpm at any time, without rounding error, it's always the number of measured ticks in the previous 60 seconds.
The software uses the following libraries:
- WiFiClient for general WiFi
- WifiManager to make it easy to setup the WiFi (presents a captive portal to select a network and enter the passphrase)
- PubSubClient to publish measurements to MQTT
Measurements are published to topic 'revspace/sensors/geiger' on mosquitto.space.revspace.nl (also available on revspace.nl)
Pitch in for a geiger counter:
Naam/Nick | Aantal euro's | Betalingsmethode |
---|---|---|
gori | 5 | |
Walter | 5 | revbank (Betaald) |
Jos | 5 | revbank (Betaald) |
thomas | 5 | revbank (Betaald) |
Peetz0r | 5 | revbank (Betaald) |
merethan | 5 | revbank (Betaald) |
pepman | 5 | revbank (Betaald) |
bertrik | Wemos D1 mini | natura |
DONE! thank you all.