updated software, add-on display

Support forum for the mightyohm.com Geiger Counter.
Posts: 2
Joined: Wed Jun 05, 2019 12:21 pm

updated software, add-on display

Postby flipflip » Wed Jun 05, 2019 12:43 pm

Hi Mighty Ohm, all,

I've got my kit a few days ago. The build went smooth and the counter worked right away. The kit and the instructions are very well made!

Of course, building it wasn't enough and I went on and studied the source code.

That lead to a new version of the code with a few more features. The visible one is a beep and flash on power on. My place doesn't seem to be very radioactive and it can take a few seconds for the first event to occur. So I wanted an instant confirmation that the software is running. My other changes to the code are not really visible and mostly include cosmetics (I just prefer spaces over tabs and similar things of personal preference), but might be interesting for others.

I've put the source code online in case anyone is interested: https://github.com/phkehl/geiger-counter

Of course that still wasn't enough. I wanted a display. So I've added a display. It's a very nice Siemens DL2416 16-segment four character display. Unfortunately, there isn't enough resources left on the ATTiny for driving that (you need at least 11 GPIOs). So I've used a small ATMega328 board I had. It uses the same (FTDI style) serial header pinout and so it can connect to the serial out of the Geiger counter board and is powered by it (I had to connect the VCC pin to VCC and routed the GC serial tx to the Atmega serial rx). The software reads and parses the serial output and displays the CPS resp. the CPM value on the display. This software is online, too: https://github.com/phkehl/arduino-uno-s ... igerdisp.c

Power consumption went from ca. 10mA without the add-on display to ca. 20mA with the display. I'm not sure about the capacity of AAA batteries. So I don't know how long they will last. But I definitively need to go hunt for some interesting radiation sources.. :-)

Here's some pictures:



Happy hacking!

Last edited by flipflip on Tue Jun 11, 2019 6:50 am, edited 1 time in total.

User avatar
Site Admin
Posts: 1000
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA

Re: updated software, add-on display

Postby mightyohm » Mon Jun 10, 2019 3:40 pm

flipflip -

Wow, that display is really cool! Thanks for sharing.

I'll see if I can fix the attachment settings, sorry about that!

Posts: 2
Joined: Wed Jun 05, 2019 12:21 pm

Re: updated software, add-on display

Postby flipflip » Tue Jun 11, 2019 6:49 am

I didn't attach the pictures (I didn't notice the "Attachments" tab before). I Used the "img" special markup to link an external image and have it displayed instead of the link. It then said "too big" (> 500px wide, I think). I'll try again attaching them.
No big problem anyway.

Edit: Attaching and inlining the images did work. Referencing big external images doesn't. That's probably okay.