Programming with Arduino

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

Programming with Arduino

Postby Joseph P. » Mon Nov 16, 2015 6:04 pm

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: 930
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Programming with Arduino

Postby mightyohm » Sat Nov 21, 2015 10:56 pm

Congrats! glad you got it working!

MatejKovacic
Posts: 9
Joined: Fri Dec 23, 2016 1:34 am

Re: Programming with Arduino

Postby MatejKovacic » Sun Jan 08, 2017 11:26 am

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: 930
Joined: Fri Apr 03, 2009 10:29 pm
Location: Seattle, WA
Contact:

Re: Programming with Arduino

Postby mightyohm » Sun Jan 08, 2017 11:55 pm

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


Return to “Geiger Counter”

Who is online

Users browsing this forum: No registered users and 1 guest