0% found this document useful (0 votes)
137 views

Arduino Geiger Counter

This instructable describes how to build an Arduino Geiger counter that measures radiation levels and displays the counts per minute on an LCD screen. It uses a Sparkfun Geiger counter board connected to an Arduino which calculates the CPM. Each radiation count triggers an LED and buzzer. Detailed instructions are provided on assembling the components, designing a project box, and programming the Arduino code.

Uploaded by

Adven Tures
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
137 views

Arduino Geiger Counter

This instructable describes how to build an Arduino Geiger counter that measures radiation levels and displays the counts per minute on an LCD screen. It uses a Sparkfun Geiger counter board connected to an Arduino which calculates the CPM. Each radiation count triggers an LED and buzzer. Detailed instructions are provided on assembling the components, designing a project box, and programming the Arduino code.

Uploaded by

Adven Tures
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 10

Food Living Outside Play Technology Workshop

Arduino Geiger Counter


by iBooky on June 10, 2013

Table of Contents

Arduino Geiger Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Intro: Arduino Geiger Counter . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 1: What you will need . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2

Step 2: Prep . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

Step 3: Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 4: Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

Step 5: Designing the Project Box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

Step 6: Assembly . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

Advertisements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10

http://www.instructables.com/id/Arduino-Geiger-Counter/
Intro: Arduino Geiger Counter
Build a Geiger counter out of an Arduino

Image Notes
1. Label ON / OFF
2. Note: You have to turn top switch off first to drain charge from Geiger tube into battery.

Step 1: What you will need


What you'll need:
-Arduino (Can be any type but must have 5V capabilities to work with Geiger counter and LCD)
-Sparkfun Geiger Counter (Other geiger counter boards might work the same but I do not know)
-LCD display
-LED
-Piezo Buzzer
-9V Battery & Battery Clip
-Slider switch
-Project Box ~ (129mm*64mm*45mm)

Image Notes Image Notes


1. Sparkfun Geiger Counter 1. LCD display

http://www.instructables.com/id/Arduino-Geiger-Counter/
Image Notes
1. ON / OFF toggle switch

Image Notes
1. Arduino

Image Notes Image Notes


1. 9 V battery and battery clip 1. Project Box

http://www.instructables.com/id/Arduino-Geiger-Counter/
Image Notes
1. Hardware

Step 2: Prep
Solder wires to the RX, GND, and VDD of the LCD display

Also solder wires to the 5V, TX, and GND of the geiger counter.

Image Notes
1. GND
2. 5V
http://www.instructables.com/id/Arduino-Geiger-Counter/
3. TX

Step 3: Wiring
Here is the circuit diagram for the Geiger counter

Image Notes
1. Yeah, I spelled it wrong...

Step 4: Program
// Copy paste the following code into the Arduino program:
// Note: You need to have the RX and TX unplugged from the Arduino to program it
// To program an Arduino Pro Mini with an Arduino UNO follow this link

// Geiger Counter
// Eric Bookless
//
// Introduction
//
// Uses a Sparkfun Geiger Counter to measure radiation and converts it to counts
// per minute. The calculated counts per minute is displayed on an LCD screen.
// Each count is registered with an audible and visual signal by the use of a
// piezo speaker and an LED.
//
// Setup:
//
// - Connect the LED and piezo speaker to pins 9 and 8 respectively
// - Attach pins RX, GND, and VDD from the LCD display to pins 2, GND, and VCC on
// the Arduino.
// - Attach Geiger counter to power source with pins VCC and GND and connect the
// TX pin to the RX pin on the Arduino
//

#include <SoftwareSerial.h>

int i;
int count;
int old = -1;
int check;
float CPM;
float now;
float time;
int start;
int piezo = 8;
int led = 9;
char OnesString[10];
char DecimalString[10];
char TimerString[10];

SoftwareSerial mySerial(3, 2);

void setup(){
pinMode(piezo, OUTPUT);
pinMode(led, OUTPUT);
Serial.begin(9600);
mySerial.begin(9600);
delay(500);

mySerial.write(254); // move cursor to beginning of first line


mySerial.write(128);
mySerial.write(" "); // clear display
http://www.instructables.com/id/Arduino-Geiger-Counter/
mySerial.write(" ");
}

void loop(){
i = 0;
count = 0;
start = millis();
while (i < 30){
digitalWrite(led, LOW);
digitalWrite(piezo, LOW);
if (Serial.available() > 0) { // If information available
check = Serial.read(); // Read serial input
if (check > 0){
count++; // If it is a hit, increment counter
digitalWrite(piezo, HIGH); // Makes audible sount when there is a hit
digitalWrite(led, HIGH); // Blinks LED when there is a hit
}
}
i = millis();
i = i - start;
i = i/1000;

sprintf(TimerString, "%2d", 30-i);

mySerial.write(254); // cursor to 7th position on second line


mySerial.write(192);

mySerial.write(TimerString);

CPM = count*2;
old = count; // Resets 'if' statement
int cpm = CPM;
int temp = CPM*1000;
int decimal = temp % (cpm*1000);

sprintf(OnesString, "%3d", cpm);

mySerial.write(254); // Displays CPM


mySerial.write(128);
mySerial.write("CPM: ");
mySerial.write(OnesString);
}

Step 5: Designing the Project Box


1. With the project box I was using there was extra plastic around the edges preventing the Geiger counter from going all of the way to
the edge of the box. I fixed this by simply chiseling away at it.

2. Next I cut the holes for the switch and drill a hole for the tube.

3. Then drill screw holes for the standoffs on the geiger counter.

4. Cut a hole for the master power switch.

5. To cut the slot for the lcd screen I drilled several holes about the same size as the screen and carefully removed the remaining
material with a sharp chisel. I positioned the screen so that the top left screw hole of the project box would go through the top left
mounting hole of the screen.

6. You may need to trim some parts of the project box to insure a good fit.

7. Once you have the LCD screen where you want it you can drill holes for the LED and Piezo speaker.

http://www.instructables.com/id/Arduino-Geiger-Counter/
Image Notes
1. Master Power Switch
2. Geiger Counter Power Switch
3. Geiger Tube Hole

Image Notes Image Notes


1. Piezo Speaker Hole 1. LED mounted in hole

http://www.instructables.com/id/Arduino-Geiger-Counter/
Step 6: Assembly
1. Glue the LED and Piezo speaker into the top of the project box. (Hot glue works particularly well)

2. Mount the main power switch first (Since it will be below the geiger tube board). I added hot glue to protect the solder joints.

3. Attach the LCD screen to the top of the project box Fit Geiger tube in the box ( I found the mini fit well if I put the exposed pins below
the geiger tube)

4. Close 'er up and your done!!

5. Test to make sure it works!!!

Image Notes Image Notes


1. Electrical tape to cover bare wires 1. Piezo Buzzer

http://www.instructables.com/id/Arduino-Geiger-Counter/
Image Notes Image Notes
1. Hot glue to protect solder joint 1. Uses project box screw to secure

Image Notes
1. Bottom half of the Arduino underneath the Geiger Counter

Image Notes Image Notes


1. Label ON / OFF 1. To connect all of the grounds and 5v of all of the components I used a piece
2. Note: You have to turn top switch off first to drain charge from Geiger tube of PCB board
into battery.

http://www.instructables.com/id/Arduino-Geiger-Counter/
Related Instructables

Online real-time
Arduino True Geiger counter Build a Pocket Geiger counter Nixie Tube
Random to monitor Ionizing triggered LED Geiger Counter
Number radioactivity in Radiation How To Make A decorations by by
Generator by air. With Detector (PIRD) Fake Geiger nikkipugh moustachenator
coolsciencetech Arduino and by Counter by Jeff
Linux PC. TheHomebrewGuru Haas
(Photos) by
janisalnis

Advertisements

http://www.instructables.com/id/Arduino-Geiger-Counter/

You might also like