Mightyohm Geiger Counter & Raspberry Pi
Mightyohm Geiger Counter & Raspberry Pi
BIG thanks to Chankly for doing all the heavy lifting in this forum post.
viewtopic.php?f=15&t=3504
I was able to get my Mightyohm Geiger counter to send serial data to my Raspberry Pi and post history graphs of radiation measurements via a web server. The Raspberry Pi can power the Geiger counter if you remove the batteries. Here are the steps I took:
1. Disable the Raspberry serial port to prevent Linux from using it as a console:
sudo raspi-config
2. Connect the Geiger counter to the Raspberry Pi (Remove Geiger Counter batteries before connecting power)
Mightyohm Geiger counter ----------------Raspberry Pi
Serial---pin 1 black triangle----------------Pin 6 Ground
----------pin 4--------------------------------Pin 8 Transmit Data
----------pin 5--------------------------------Pin 10 Receive Data
Pulse----pin 1 black triangle---------------Pin 14 Ground
----------pin 3--------------------------------Pin 1 3.3v
3. Test that the Raspberry Pi is receiving data from the Geiger Counter:
sudo apt-get install minicom
minicom -b 9600 -o -D /dev/ttyAMA0
4. Read Chankly's entire thread, download the archive and follow the instructions for setting up everything. Remember your Geiger counter is on ttyAMA0
viewtopic.php?f=15&t=3504
viewtopic.php?f=15&t=3504
I was able to get my Mightyohm Geiger counter to send serial data to my Raspberry Pi and post history graphs of radiation measurements via a web server. The Raspberry Pi can power the Geiger counter if you remove the batteries. Here are the steps I took:
1. Disable the Raspberry serial port to prevent Linux from using it as a console:
sudo raspi-config
2. Connect the Geiger counter to the Raspberry Pi (Remove Geiger Counter batteries before connecting power)
Mightyohm Geiger counter ----------------Raspberry Pi
Serial---pin 1 black triangle----------------Pin 6 Ground
----------pin 4--------------------------------Pin 8 Transmit Data
----------pin 5--------------------------------Pin 10 Receive Data
Pulse----pin 1 black triangle---------------Pin 14 Ground
----------pin 3--------------------------------Pin 1 3.3v
3. Test that the Raspberry Pi is receiving data from the Geiger Counter:
sudo apt-get install minicom
minicom -b 9600 -o -D /dev/ttyAMA0
4. Read Chankly's entire thread, download the archive and follow the instructions for setting up everything. Remember your Geiger counter is on ttyAMA0
viewtopic.php?f=15&t=3504
Re: Mightyohm Geiger Counter & Raspberry Pi
Cool, thanks for sharing!
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com
-
- Posts: 3
- Joined: Wed Nov 11, 2015 1:33 am
Re: Mightyohm Geiger Counter & Raspberry Pi
Any tips for how to connect the geiger counter to the raspberry PI to access the raw counts? E.g. not through the serial port.
I would like to use the PI to read in the raw counts and bypass the Tiny chip completely if possible.
I would like to use the PI to read in the raw counts and bypass the Tiny chip completely if possible.
Re: Mightyohm Geiger Counter & Raspberry Pi
I wouldn't recommend bypassing the AVR entirely because it does some signal conditioning on the pulse from the geiger tube.
The kit outputs a 3V pulse on header J6 pin 2 every time there is an impulse detected from the geiger tube. You should be able to connect this pin (and ground) to the pi and use that to collect counts on the pi, bypassing the serial connection entirely.
Schematics for the geiger counter kit are here:
http://mightyohm.com/files/geiger/geige ... edR5R6.png
J6 is drawn to the right of the MCU.
The kit outputs a 3V pulse on header J6 pin 2 every time there is an impulse detected from the geiger tube. You should be able to connect this pin (and ground) to the pi and use that to collect counts on the pi, bypassing the serial connection entirely.
Schematics for the geiger counter kit are here:
http://mightyohm.com/files/geiger/geige ... edR5R6.png
J6 is drawn to the right of the MCU.
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com
-
- Posts: 3
- Joined: Wed Nov 11, 2015 1:33 am
Re: Mightyohm Geiger Counter & Raspberry Pi
Great,
Thanks for the info. I'll give it a go and post the results!
Thanks for the info. I'll give it a go and post the results!
-
- Posts: 3
- Joined: Wed Nov 11, 2015 1:33 am
Re: Mightyohm Geiger Counter & Raspberry Pi
Actually another question for you
Is there a theoretical limit on how many counts per minute the circuit can manage?
E.g. is 200,000 counts per minute possible? We are going to be using this against a caesium 137 source (for measuring the density of the material going through a pipe).
Is there a theoretical limit on how many counts per minute the circuit can manage?
E.g. is 200,000 counts per minute possible? We are going to be using this against a caesium 137 source (for measuring the density of the material going through a pipe).
Re: Mightyohm Geiger Counter & Raspberry Pi
The theoretical maximum is 65535 * 60 or over 3 million CPM. In reality the tube will probably saturate before then. I've seen some pretty high counts when testing radium sources, so I think 200k CPM is possible but may be close to saturation. The symptom of saturation is that the CPM will start dropping above a certain radiation level, so keep an eye out for this.
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com
-
- Posts: 9
- Joined: Fri Dec 23, 2016 1:34 am
Re: Mightyohm Geiger Counter & Raspberry Pi
Hi,
I have connected Raspberry3 to Geiger counter as you described, but when I connect RPi to a power, it doesn't power up.
However, if i disconnect PIN 1 (3.3 V), then it powers up and I can ssh to it. Then of course, I cannot get any reading via minicom..
Please note that I have removed batteries from Geiger counter.
I have connected Raspberry3 to Geiger counter as you described, but when I connect RPi to a power, it doesn't power up.
However, if i disconnect PIN 1 (3.3 V), then it powers up and I can ssh to it. Then of course, I cannot get any reading via minicom..
Please note that I have removed batteries from Geiger counter.
Re: Mightyohm Geiger Counter & Raspberry Pi
Check if pin 1 is shorted to ground, or if you have pin 1 and 3 swapped.
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com
Re: Mightyohm Geiger Counter & Raspberry Pi
The problem is that the connection shown in the first post is wrong.
The pins of the Pulse header are reversed.
In the Mightyohm doku is written:
The PULSE connector (j6) has the following pinout
1:VCC
2:pulse
3.GND
@ MatejKovacic: you connect Pi VCC to Geiger Counter GND. If you disconnect pin 3 short circuit is fixed und Pi start booting. But the Geiger Counter has no power
The pins of the Pulse header are reversed.
In the Mightyohm doku is written:
The PULSE connector (j6) has the following pinout
1:VCC
2:pulse
3.GND
@ MatejKovacic: you connect Pi VCC to Geiger Counter GND. If you disconnect pin 3 short circuit is fixed und Pi start booting. But the Geiger Counter has no power