Skip to content
A mobile low-cost spectrometer for measuring radioactivity and the energy of ionising radiation like alpha particles and electrons
HTML Python JavaScript CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

Corresponding scientific article: DOI

Repository archive on Zenodo: DOI

DIY Particle Detector

A mobile low-cost spectrometer for measuring ionising radiation like alpha particles and electrons (energy range: 33 keV to 8 MeV). It's an educational tool and citizen science device made for exploring natural and synthetic sources of radioactivity such as stones, airborne radon, potassium-rich salt or food and every-day objects (Uranium glass, old Radium watches etc.).

Working Principle

Tiny amounts of electrical charge are generated in repurposed photodiodes by impinging particles. The charges form currents which are amplified and converted into voltage pulses that are compatible with audio/microphone signal inputs. The size of the pulse is proportional to the energy deposited by the ionising radiation. A reference calibration with sources of known energy spectra is provided.

A superposition of several recorded pulse waveforms from electrons of beta decays (KCl salt sample, more info below):

some pulse rain

Black lines in the upper area represent electronic noise, detected signal pulses from the natural radioactivity of potassium (isotope K-40) are highlighted in red.


The open hardware design files are relased under the CERN OHL licence version 1.2.

Detector Variants

The schematic drawing contains remarks for using the same circuit board with two partially different sets of components (assembly variants):

  • Alpha-spectrometer measuring energies of alpha particles and electrons using one BPX61 diode.

    After the glass window of the diode is carefully broken-up and removed, it can sense alpha particles (see close-up pictures below). The circuit works most precise with only one BPX61 diode (lowest electronic noise) and was specificaly tuned for this scenario.

  • Electron/beta radiation detector measuring mostly electrons (plus few gamma photons) with four very low-cost BPW34F or BPW34FA diodes (<1 EUR each).

    This variant is not able to detect alpha particles but is easier to operate (less sensitive to visible light and electromagnetic interference, see section on general requirements below). It is also more sensitive towards sources of low intensity (low rate of radioactive decays) since it has four times the sensor volume compared to using only one diode as sensor. This version is ideal for beginners, in total only 8 components are different compared to the alpha-spectrometer variant above. This assembly variant is similar to the previous circuit version 1.1.

Both kinds of diodes, the BPW34 series in various plastic cases and the BPX61 with metal casing, have the same sensitive area (~7 mm^2). The physics of these sensors when used for ionizing radiation is explained in detail in the article corresponding to this repository. The section about figure 1 discusses why their general efficiency for detecting gamma photons is quite low.

Mircoscope image of Osram BPX61 diode below on the left, the green scale indicates 2 mm. The sensitive area of the silicon chip is 2.65 x 2.65 mm^2. A bond wire from the anode pin on the right connects the top of the chip (this side is also marked with a notch in the metal case, lower right corner). Care must be taken in order to keep the bond wire in place when the glass window is removed: The right picture shows the mounted BPX61 diode after its glass windows was removed by cutting small dents into the border of the TO metal case with small pliers to crack the glass.

General Requirements

  • An absolutely light-tight and electromagnetically shielding metal case is mandatory. Either a commercial one made of die casted aluminium (thick metal provides better immunity towards vibrations and prevents "microphonic effects") or an upcycled tin box for candies. See pictures above and the schematics for corresponding part numbers of specific aluminium cases that fit.

  • 9 V battery. NIMH-type accumulators with a nominal value of 9.6 V work best (mains-connected power supplies would introduce too much noise, always use batteries)

  • Signal output is in the range of +/- 1 V and compatible with an audio/microphone input such as a headset connector of a mobile phone or laptop (or an oscilloscope if available)

  • For higher precision and better reproducability of measurements, a small USB soundcard (< 10 EUR) is recommended: The ICY-BOX IB-AC527 on the left and the König Electronic CMP-SOUNDUSB12 on the right ("3D Sound Controller 5.1") use both a chip series from C-Media Electronics Inc: CM108. It's well specified with a flat frequency response in the required 1-5 kHz range and good signal to noise ratio. As standard USB Audio Class devices, no dirvers are required and they are recognised as regular audio input device in many operating systems, including Android & iOS.

  • Several reference measurements are provided in data_analysis_and_reference_measurements/diode_detector/data. All have been recorded using the blue CM108 USB soundcard from König, sampling the input signal (yellow connector) @ 48 kHz and 16 bit resolution.

  • The connection cable should use a 3-pin 3.5 mm mini-jack connector since these sound interfaces supply a bias voltage on the ring/center tap of the microphone input which must be circumvented/avoided. For further details please refer to the schematics.

Detector Signals of Radioactivity on an Oscilloscope

The screenshots below show typical output signals from both detector variants with arrows highlighting the signal and noise properties. The blue lines represent signals from individual particles, the grey lines are superpositions of earlier particle signals which triggered the oscilloscope as well. For better comparison, a beta & gamma radiation source (potassium salt, KCL) was used in both cases which does not emit alpha particles. The negative pulse with its steep downward edge is the main signal and is larger than the electronic noise. The trigger level must be set well below the noise range, which depends on the intensity of surrounding electromagnetic interference (EMI) radiation and stray light reaching into the shielding case of the detector. The short negative main signal pulse is followed by a wider positive overshoot which is proportional in size to the amplitude of the main signal. The overshoot is an effect of the amplifier circuit and also depends on the impedance matching from the detector output to the input of the measurement device. The employed oscilloscope features a default input impedance of 1 megaohm. Microphone and line-in inputs of sound cards (as described above) have considerably lower input impedances and pulse measurements will therefore show a larger signal overshoot. The alpha-spectrometer circuit was intentionally designed to produce this kind of a bi-polar signal with a lot of overshoot in order to mimic actual audio waves.

  • Electron-Detector Main signal amplitudes can be typically well distinguished from electronic noise at about -50 mV (and lower) if the detector is well shielded against light and with low EMI (e.g. no cell phone or electro motor close by). The negative pulses are about 50 to 75 us wide with this circuit.

  • Alpha-Spectrometer Typical signal amplitudes of particles from the same beta/gamma radiation source are much lower compared to the electron-detector varaint. The electronic noise is much smaller as well and the width of pulses is between 1 and 2 ms. This circuit is optimised for large pulses from alpha particles which is heavy-ionizing radiation and therefore produces a lot more free charges in the sensor. The amplitude threshold which allows to distinguish between electrons (=smaller signal amplitude) and alpha particles (=larger signal amplitude) is at -8 mV in case of a typical oscilloscope with an input impedance of 1 megaohm. This threshold is lower in case of a sound card due to their lower input impedances. Please refer to the scientific article for detailed information about the energy calibration in this case.

If a hardware oscilloscope is not at hand, a simple software oscilloscope with good trigger funtionallity for sound cards and audio inputs of computers can be found here: To run this program written in Processing, download Version 3 from and install the missing ‘Minim’ library via the ‘Sketch’ menu / ‘Import Library...’ / ‘Add Library...’. Download my version of the WaveWatch Processing sketch from, unzip and open the file WaveWatch-master/WaveWatch/WaveWatch.pde in Processing. For more sophisticated processing of the particle signals from radioactive objects like recording their energy spectrum please refer to the software section below.

DIY Detector Building Workshops

These particle detectors have been built by high school students (age 16 - 18) and citizen science enthusiasts (age ~20 - 60) during several workshops. After a little introduction into the soldering of electronic components, the whole device can be built in less than two hours - including the modification of a candy tin box as its case.


The software in this repository is provided under the open source BSD Licence.

It consists of two parts:

  • Measurement recording, real-time display and counting of particle pulses
  • Data analysis of recorded measurements, providing calibrated energy spectra and time series histograms

Recording Software

Two kinds of software for recording the voltage pulses are developed:

  • A web browser application based on the Web Audio API of modern browsers (recent Chrome and Firefox versions work best), compatible with mobile/smartphone and desktop operating systems. For further notes on its implementation and usage please refer to pulse_recorder.js. A single pulse recorded by the web browser GUI.

  • A python script. Ideal for longer measurements, e.g. over night. The reference measurements listed below have been taken with this software.

Data Analysis

The recorded pulse data is saved in files (using Python's Pickle or the MessagePack format) by the software listed above and opened for further analysis by This python script converts the measurement data into time series histograms and calibrated energy spectra.

Reference measurements and plots

Several reference measurements have been taken and stored in data_analysis_and_reference_measurements/diode_detector/data. If this whole respository is cloned using git, the git LFS extension must be used to get as well the large data files (~ 1 GB). The data files can be downloaded alternatively from this Zenodo data archive.

Overview on reference measurements:

  • A mixed alpha source featuring Gd-148, Pu-239, Am-241 & Cm-244 with a combined alpha energy spectrum of 3 to 6 MeV
  • 10 g of KCl (potassium chlorid) salt (an alternative to NaCl table salt) as an example for detection of electrons from beta-decays (from naturally occuring K-40)
  • a small columbite stone (containing trace amounts of uranium ore), a combined source of electrons and alphas (and gamma photons which do not interact enough within the thin diode detector to be relevant)
  • a watch hand from an old watch that was painted with luminescent radium paint. Featuring Ra-226 and all it's radioactive progeny isotopes

Pixel Detector

For comparsion, two measurements have been made with the iPadPix mobile device that is based on the 1.4 x 1.4 cm^2 hybrid pixel detector Timepix. It's silicon sensor chip area is 28 times larger and the sensitive volume is about 6 times bigger (300 um vs. 50 um) than a single BPW34 or BPX61 diode. Due to it's larger area, it is well suited for measuring less concentrated sources of radioactivity such as airborne radon progeny collected with an electrostatically charged party balloon. The diode-based detector can be regarded as a functional model for one pixel of pixel detectors. The physics behind signal formation and subsequent signal processing methods which amplify, characterise and digitise the pulses are the same. For further details please consult the scripts provided in data_analysis_and_reference_measurements/pixel_detector and refer to the corresponding article.

Diode Characterisation

C-V curves of several diodes of the BPW34 series and BXP61 type have been taken to characterise the thickness of the sensitive layer under reverse bias conditions. With about 8 V on the cathode, the typical sensitive layer thickness is about 50 um which corresponds well with the recorded energy spectra. Based on the C-V curves, the following doping profiles are derived:

The effective charge carrier concentration 'Neff' is on average about half of the value reported in 2008 by Ravotti et al. which can be explained by manufacturing process variations. The similarity of the curve shapes confirms that the investigated diodes use either the same or at least very similar silicon chips. The regular micropattern visible in the doping profile curves is a measurement artefact which is caused by internal rounding errors of the C-V measurement device. The thin double lines indicate the error range of the instrument as stated by its manufacturer (Keysight B1500A with the MFCMU module).

Further discussion of the CV measurements can be found in corresponding article. The folder data_analysis_and_reference_measurements/diode_detector/diode_characterisation_and_simulation_plots provides the scripts to reproduce the corresponding plots. The raw C-V measurement data is available in data_analysis_and_reference_measurements/diode_detector/data/high_resolution_CV.

You can’t perform that action at this time.