Replacing the firmware

Support forum for the Geiger Counter.
Post Reply
Posts: 1
Joined: Mon Dec 14, 2020 7:09 pm

Replacing the firmware

Post by xopxe »

Hi to all.

I assembled a Geiger Counter and successfully log it through the serial.
I was thinking of replacing the stock firmware with a version that would not report once per second as now, but send a message on each click. So no accumulation or computation would be made on the microcontroller, just send something on each led blink. All the accumulation, averaging, etc, would be done on the host. Or the micro could send a timestamp, and then this could be used as a hardware random number generator, for example.

I see there are the sources, and it would be easy to modify from them, but Is there a tutorial on flashing the ATtiny2313? Never flashed one of those, only some old Microchip stuff (PIC16, PIC18) and "powerful" stuff like Cortex-M or ESP32s.

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

Re: Replacing the firmware

Post by mightyohm »

Hi there,

This is a good suggestion - I don't think that I ever wrote a tutorial on how to do this.

You'll need an AVR programmer and a toolchain. The tools have changed a bit since I wrote the code for the kit, but at the time I used Atmel's AVR Studio for development. However, there are open toolchains as well. What operating system are you using?

I've used a few different programmers, but one option is the Adafruit USBtinyISP:

Post Reply