Incompatible with Leonardo (fixed)

General discussion and support for Iambino and the Iambic Keyer Shield.

Incompatible with Leonardo (fixed)

Postby kb0g » Sun Oct 27, 2013 9:33 pm

I just learned the hard way that this shield is not compatible with the Arduino Leonardo. Not only are the digital pin definitions associated with the analog pins mapped differently, but the SPI port is only available on the ICSP header, not on digital pins 11, 12, and 13 as before.

It would certainly be possible to redesign this shield to be compatible with all Arduino variants by including a female 2x3 that mates with the ISCP header to pick up the SPI port there, and by conditionalizing the pin definitions for all digital uses of the "analog" shield header pins to handle the re-mapping... but in the short term, you might just want to boldly let folks know this shield won't work with a Leondardo.

I guess I get to go order another Arduino before I can play further :( .. at least they're cheap!
73 - Bdale, KB0G
kb0g
 
Posts: 3
Joined: Sun Oct 27, 2013 6:28 pm

Re: Incompatible with Leonardo

Postby AE9RB » Fri Nov 01, 2013 9:00 pm

Thanks for the report. I ordered a Leonardo for testing. I'm not using the SPI hardware so whatever is wrong can probably be fixed in software.
73 David AE9RB
AE9RB
Site Admin
 
Posts: 511
Joined: Thu Nov 15, 2012 5:27 am
Location: Portland, Oregon, USA (CN85ql)

Re: Incompatible with Leonardo

Postby kb0g » Fri Nov 01, 2013 10:21 pm

Oh! The schematic implied you were using SPI to talk to the DAC, but a quick look at dac.ino makes it appear you're actually big-banging it? Ok, then yes, I agree it's probably possible to fix this entirely in software.
73 - Bdale, KB0G
kb0g
 
Posts: 3
Joined: Sun Oct 27, 2013 6:28 pm

Re: Incompatible with Leonardo

Postby AE9RB » Sat Nov 09, 2013 10:51 am

I fixed the Leonardo problem. It was a simple header file change for some pin location definitions.
73 David AE9RB
AE9RB
Site Admin
 
Posts: 511
Joined: Thu Nov 15, 2012 5:27 am
Location: Portland, Oregon, USA (CN85ql)

Re: Incompatible with Leonardo (fixed)

Postby w6sdm » Fri May 02, 2014 6:51 am

I got the kit working great with my Uno. Today I tried my Leonardo and I get an error:

Binary sketch size: 17,662 bytes (of a 32,256 byte maximum)
avrdude: stk500_getsync(): not in sync: resp=0x00

Is there something I need to do in the code?

Steve
steve@w6sdm.net
w6sdm
 
Posts: 3
Joined: Thu Apr 24, 2014 6:37 pm

Re: Incompatible with Leonardo (fixed)

Postby AE9RB » Fri May 02, 2014 7:57 pm

Nothing special. That error is something wrong with the Arduino tools or drivers...
https://www.google.com/search?q=leonard ... esp%3D0x00
73 David AE9RB
AE9RB
Site Admin
 
Posts: 511
Joined: Thu Nov 15, 2012 5:27 am
Location: Portland, Oregon, USA (CN85ql)

Re: Incompatible with Leonardo (fixed)

Postby w6sdm » Sat May 03, 2014 6:28 am

You're right. In this case, it was a matter of identifying the controller as a Leonardo to the software. I had been using an Uno before.
w6sdm
 
Posts: 3
Joined: Thu Apr 24, 2014 6:37 pm


Return to Iambino

Who is online

Users browsing this forum: No registered users and 0 guests

cron