Programming with Arduino

Support forum for the mightyohm.com Geiger Counter.
http://mightyohm.com/geiger
Post Reply
Joseph P.
Posts: 2
Joined: Mon Nov 16, 2015 5:33 pm

Programming with Arduino

Post by Joseph P. »

I was able to program a attiny2313 by using a arduino as serial programmer and AVRdude. I struggled with getting the right command. I needed to add -b19200 for the baud serial communication. It was not clear to me in all the tutorials I read. I now have a working Geiger counter!
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Programming with Arduino

Post by mightyohm »

Congrats! glad you got it working!
MatejKovacic
Posts: 9
Joined: Fri Dec 23, 2016 1:34 am

Re: Programming with Arduino

Post by MatejKovacic »

Are there any instructions how to do this?

I have followed this instructions, and compiled the Geiger counter software with Arduino:
http://www.ernstc.dk/arduino/2313.htm

However, it seems something is not working right.
User avatar
mightyohm
Site Admin
Posts: 1064
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Programming with Arduino

Post by mightyohm »

Make sure you set the configuration fuses as specified in Makefile.

Code: Select all

# Fuse configuration:
# For a really nice guide to AVR fuses, see http://www.engbedded.com/fusecalc/
# LFUSE: SUT0, CKSEL0 (Ext Xtal 8+Mhz, 0ms startup time)
LFUSE		= 0xEE
# HFUSE: SPIEN, BODLEVEL0 (Serial programming enabled, Brownout = 1.8V
HFUSE		= 0xDD
# EFUSE: no fuses programmed
EFUSE		= 0xFF
Post Reply