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.
Replacing the firmware
Re: Replacing the firmware
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: https://www.adafruit.com/product/46
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: https://www.adafruit.com/product/46
Jeff Keyzer
http://mightyohm.com
http://mightyohm.com