Giter Club home page Giter Club logo

open-geiger-counter's Introduction

Open Geiger Counter

Open hardware for a simple all-in-one geiger counter design using a GMT like the popular SGM-20.

Hardware design has been done in EasyEDA and all the needed files for you to import the project as well as a schematic can be found in the hardware folder. There is also a gerber file available for direct pcb manufacturing.

Software aims to be as simple as possible to understand and maintain; to achieve this the two ATTiny84s can be programmed using the ArduinoIDE and a popular AVR ICSP programmer like the USBasp. opengc_psu is the sketch for the geiger power supply, that's the MCU near the inductor. And opengc_counter is the main detector which is just the other ATTiny chip on board.

In order for the code to work you will need following two libraries:

To compile and program sketches for any ATTiny microcontrollers you will also need SpenceKonde/ATTinyCore.

Before you push this to your MCU be sure to select the right chip (ATTiny84a without bootloader), optionally choose a BOD level and use following clock speeds:

  • PSU: 1 MHz (I found this to be the best speed for psu stability)
  • Counter: 8 MHz, just the fastest without an external crystal

Also don't forget to check the pin orientation of your programmer! Select your programmer and if you've done everything right and plugged in a geiger tube the counter is ready to go.

The display will show the battery voltage and counts per minute (evaluated over a span of 3 seconds default). You can reset the counter with one button and mute/unmute the buzzer with the other (saved on reboot).

Additionally, you can alter REFRESH_INT in the counter sketch to change the cpm refresh interval, and the TARGET_V in the psu sketch if you need a different voltage for your specific geiger tube.

Please note that this is not a professional geiger counter by any means. It will never be as sensitive to radiation as if you put the same tube in a commercial device. The hardware, most importantly, the transistor pull down is pretty crude in conjunction with the ATTiny84 - some pulses are just way to fast to create a nice logic low for the MCU to register. Suggestions are highly appreciated of course.

Oh and obviously don't touch the board if it's powered on, the PSU can deliver 500+ Volts DC (@some uA)!

open-geiger-counter's People

Contributors

nuclearphoenixx avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.