7 Nov

TimeWaster’s Geiger Counter – A system software for microcontrollers to measure radiation

TimeWaster’s Geiger Counter v1.1

This software is designed to work with the Arduino Uno and the Radiation Sensor Board for Arduino from Cooking Hacks, but should also work with your own hardware design if you adapt either your hardware or the software.
I suggest to take a look at the documentation of the Radiation Sensor Board, it gives a good summary on radiation detection and the hardware used (Especially the geiger-mueller-tube).

TimeWaster's Geiger Counter running on Radiation Sensor Board for Arduino from Cooking Hacks

The software is pretty good commented (this is an excerpt from the introductory remarks):

[...]
 * 
 * The display is divided into 5 measured values:
 * ┌---------------------------------------┐
 * │  "Aver. 2s"  "Aver. 20s"  "Aver. 2m"  │
 * │  "Overall Dosage"     "Time elapsed"  │
 * └---------------------------------------┘
 * The average values reflect the average dosage values in uSv/h 
 * over the last x seconds/minutes.
 * The overall dosage reflects the overall dosage taken in uSv 
 * since activation of the counter.
 * 
[...]
 * 
 * Features:
 *  - 3 different average values with configurable timeframe
 *  - Dosimeter functionality
 *  - Adaptable for different tubes (Attention: mind the conversion 
 *    factors for different tubes, ask the manufacturer of the tube)
 *  - Configurable thresholds for the LED bar in uSv/h
 *  - Configurable which value should be used as threshold
 *  - Configurable overflow value in microseconds
 * 
[...]
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * any later version.
 * 
[...]

 

Download:
TimeWaster’s Geiger Counter v1.1

Older versions:
TimeWaster’s Geiger Counter v1.0

 

Todo’s for future releases:
– You tell me!

 

Version history:

 * v1.1:
 *  - You can set your name
 *  - Replaced main loop time calculation 
 *  - Replaced overflow check loop with interrupt
 *  - More exact measurement
 *  - Minor bugfixes
 * 
 * v1.0:
 *  - Initial release

 

Have fun and stay safe!

10 thoughts on “TimeWaster’s Geiger Counter – A system software for microcontrollers to measure radiation

  1. Thanks TimeWaster! This code is fantastic! Do you know how to get the backlight of the LCD working through your code? So far, I’m just placing a jumper wire between pins 2 & 15 of the LCD screen. It works
    but it might be nice to turn it on or off through the code. Any ideas?

    Robbie

  2. i don’t think there is a way to do so on the software side. the display bundled with the counter kit has no backlight, but it seems the prepared circuits for the backlight are not attached to the microcontroller.
    you could attach the backlight pin from the diplay (pin 15 i believe) to a pin on your arduino, the arduino should be able to handle the power consumption of the led’s (40mA max).
    or you could simply add a good old fashioned switch ^^

  3. Pingback: TimeWasters LCD Framework for HD44780 and Arduino | TimeWaster's Place

  4. Thanks for your soft. I upload it to my geiger counter now. Working good!!
    but would you mind to add upto 10 minuites in valueaveragetimes and arduino monitoring functions.
    I hope your new featured hardware too.

  5. Im trying to find people to give me some info on home made geiger counters. I love your board. I did a review on some for sale on amazon, but I think I need to do some follow up information for home made versions.

    let me know what you guys think! Thanks!

  6. can u describe a chart or a table with dangeruos level of the
    average values reflect the average dosage values in uSv/h
    over the last x seconds/minutes and The overall dosage reflects the overall dosage taken in uSv
    since activation of the counter? Thank u so much!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.