Plastic Scintillator Muon Detector + Arduino Nano + OLED Display = “Cosmic Watch,” a Counter of Cosmic Encounters

A project from both students and professors from MIT & the National Centre for Nuclear Research in Warsaw, Cosmic Watch looks amazing! In short, a desktop muon counter made with Arduino! Check out more about the project and the team behind it here – here’s a FAQ with some answers to obvious head-scratchers – and check out the code here on GitHub.

A photon incident on the SiPM will make a measurable voltage pulse that we can amplify and, using a peak detector circuit, stretch the pulse in time so that the 16 MHz Arduino Nano is able to measure it. The Arduino samples the waveform produced by the peak detector circuit several times and then use those measurements to calculate the original SiPM pulse amplitude.

The desktop muon counter is triggering on muons that are produced when high energy astrophysical particles, called cosmic rays, collide with the Earth’s atmosphere producing particles that decay to muons. In his 1950 Nobel Lecture, C.F. Powell described cosmic rays as a “thin rain of charged particles”. Most cosmic rays are produced in our galaxy and are nuclei expelled in supernova explosions. About 90% of cosmic rays are protons, 9% are helium nuclei, and the remaining 1% are heavier nuclei. When the cosmic rays hit the nuclei of the atmosphere, a shower of particles are produced including pions and kaons. These are the progenitors of the muons.

The muons that are ultimately produced in the shower are fundamental particles that carry electric charge of +1 or −1 and have mass that is about 200 times that of the electron. To briefly learn more about muons and their place within the Standard Model of particle physics, we recommend to visit the Particle Adventure website. Muons are unstable and will decay to an electron, a neutrino and an anti-neutrino. At rest, the lifetime of the muon is approximately 2.2 microseconds. Given that the muons are produced in the shower at more than 10 km above the Earth’s surface, Galilean relativity calculations will show a very small probability of survival to reach the desktop muon counter. However, because the muons are produced at high energies, relativistic time dilation extends their lifetime. As a result, muons can survive to be detected on Earth.

The muon flux at sea level is about one per square centimeter per minute for a horizontal detector. This constant bombardment by muons has pros and cons for a particle physicist. On the plus side, cosmic ray muons are commonly used in surface-based particle physics experiments in order to commission and calibrate detectors before they are exposed to beam produced by accelerators. Often the muons that survive to sea level are accompanied with other particle debris, such a photons and protons. A relatively small amount of shielding material is often used to remove this accompanying debris, leaving only the muon for use in calibration. On the other hand, many particle physics experiments are looking for rare events, and the rare signal can be swamped by the muon signal. These experiments must be located in deep underground laboratories.

Read more here.


When You Want an Amazing Display of Muons #CitizenScience

Adafruit publishes a wide range of writing and video content, including interviews and reporting on the maker market and the wider technology world. Our standards page is intended as a guide to best practices that Adafruit uses, as well as an outline of the ethical standards Adafruit aspires to. While Adafruit is not an independent journalistic institution, Adafruit strives to be a fair, informative, and positive voice within the community – check it out here:

Join Adafruit on Mastodon

Adafruit is on Mastodon, join in!

Stop breadboarding and soldering – start making immediately! Adafruit’s Circuit Playground is jam-packed with LEDs, sensors, buttons, alligator clip pads and more. Build projects with Circuit Playground in a few minutes with the drag-and-drop MakeCode programming site, learn computer science using the CS Discoveries class on, jump into CircuitPython to learn Python and hardware together, TinyGO, or even use the Arduino IDE. Circuit Playground Express is the newest and best Circuit Playground board, with support for CircuitPython, MakeCode, and Arduino. It has a powerful processor, 10 NeoPixels, mini speaker, InfraRed receive and transmit, two buttons, a switch, 14 alligator clip pads, and lots of sensors: capacitive touch, IR proximity, temperature, light, motion and sound. A whole wide world of electronics and coding is waiting for you, and it fits in the palm of your hand.

Have an amazing project to share? The Electronics Show and Tell is every Wednesday at 7pm ET! To join, head over to YouTube and check out the show’s live chat – we’ll post the link there.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Join over 36,000+ makers on Adafruit’s Discord channels and be part of the community!

CircuitPython – The easiest way to program microcontrollers –

Maker Business — “Packaging” chips in the US

Wearables — Enclosures help fight body humidity in costumes

Electronics — Transformers: More than meets the eye!

Python for Microcontrollers — Python on Microcontrollers Newsletter: Silicon Labs introduces CircuitPython support, and more! #CircuitPython #Python #micropython @ThePSF @Raspberry_Pi

Adafruit IoT Monthly — Guardian Robot, Weather-wise Umbrella Stand, and more!

Microsoft MakeCode — MakeCode Thank You!

EYE on NPI — Maxim’s Himalaya uSLIC Step-Down Power Module #EyeOnNPI @maximintegrated @digikey

New Products – Adafruit Industries – Makers, hackers, artists, designers and engineers! — #NewProds 7/19/23 Feat. Adafruit Matrix Portal S3 CircuitPython Powered Internet Display!

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at !


  1. Probably the first kind of these detectors is the Italian project ArduSiPM (2014) developed by INFN (Italian National Institute of Nuclear physics). The ArduSiPM is correctly cited by the authors of this project in their papers. It is commercially available from an Italian company.

  2. Thanks Valerio. Your name links to your email’s domain and microsite for the ArduSiPM project ( – the English blog linked here to is no longer working and redirects to a domain that doesn’t contain search results for ‘ArduSiPM’ – just a heads up if you want people to find English-language references for your project, the links aren’t working. Cheers.

Sorry, the comment form is closed at this time.