Pages: 1 [2] 3 4 ... 17   Go Down
Author Topic: Leonardo Clone out already!  (Read 20116 times)
0 Members and 1 Guest are viewing this topic.
Málaga, Spain
Offline Offline
Edison Member
*
Karma: 37
Posts: 2172
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi chaps,

I've seen that you are following the PaperDuino Leonardo. We have also created a very low cost easy to solder "Leonardo will be clone" called vinciDuinio, though it doesn't provide a 3.3V output like the original Leonardo. You can find details about the board here:

http://arduino.cc/forum/index.php/topic,78781.0.html
and its wiki page here:
https://bitbucket.org/fmalpartida/vinciduino/wiki/Home

We are currently in the process of ordering beta samples to try out the boards.

@Crossroads, very nice work. Excellent job there!!
« Last Edit: November 14, 2011, 05:49:14 am by fm » Logged

   

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6373
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Putting out 5V on the 3.3V supply pin seems like a bad idea to me :-(

There were murmurings that the Arduino team was going to add another pin (or something) to make it determinable whether a shield wanted 5V or 3V logic.  Have there been any details of THAT posted yet?
Logged

0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 96
Why is it so?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice design!!!
I have been using the ATMEGA32U4 from Adafruit with Arduino 1.0 Bootloader with great success.

And the below seems to be the correct pin mapping from hardware/arduino/variants/leonardo/pins_arduino.h

Code:
// ATMEL ATMEGA32U4 / ARDUINO LEONARDO
//
// D0 PD2 RXD1/INT2
// D1 PD3 TXD1/INT3
// D2 PD1 SDA SDA/INT1
// D3# PD0 PWM8/SCL OC0B/SCL/INT0
// D4 A6 PD4 ADC8
// D5# PC6 ??? OC3A/#OC4A
// D6# A7 PD7 FastPWM #OC4D/ADC10
// D7 PE6 INT6/AIN0
//
// D8 PB4 ADC11/PCINT4
// D9# A8 PB5 PWM16 OC1A/#OC4B/ADC13/PCINT5
// D10# A9 PB6 PWM16 OC1B/0c4B/ADC12/PCINT6
// D11# PB7 PWM8/16 0C0A/OC1C/#RTS/PCINT7
// D12 A10 PD6 T1/#OC4D/ADC9
// D13# PC7 PWM10 CLK0/OC4A
//
// A0 PF7 ADC7
// A1 PF6 ADC6
// A2 PF5 ADC5
// A3 PF4 ADC4
// A4 PF1 ADC1
// A5 PF0 ADC0
//
// New pins D14..D17 to map SPI port to digitial pins
//
// D14 PB0 RXLED,SS/PCINT0
// D15 PB1 SCK,PCINT1
// D16 PB2 MOSI,PCINT2
// D17 PB3 MISO,PCINT3
//
// TXLED PD5
// RXLED     PB0
// HWB PE2 HWB
Logged

Málaga, Spain
Offline Offline
Edison Member
*
Karma: 37
Posts: 2172
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi westfw,

thanks for your kind feedback. The latest version of the board has now a 3.3V on the 3.3V pin.

I haven't seen anything regarding the 3.3V or 5V selectable shield. Am curious.
Logged

   

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23736
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

" the correct pin mapping from hardware/arduino/variants/leonardo/pins_arduino.h"

Hmm, hope I was not far off!
I actually let it autoroute, tweaked placement a little and autoroute again, then moved traces to let missing grounds connect up.
Will see how for off I was  when I get home ...
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23736
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Can someone explain the D# assignment's of the Leonardo to me? Almost seems arbitrary.

I tried to assign them so the same function would be on the same pin, with a jumper field to allow A4/A5 be that or SCL/SDA, and keep the SPI pins the same to avoid the Mega 'issue' of them being somewhere else.


* D number assignment.jpg (80.4 KB, 960x720 - viewed 45 times.)
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23736
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

bump
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 106
Posts: 6373
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

To make PCB layout trivial?  To show off that it IS arbitrary?  To make sure PWM pins stay in the same place? (I think I'm betting on that last one.  For typical usage (shields, code), it's more important that 3,5,6, 9,10,11 stay PWM-capable than that the pin ordering matches the  port bit ordering.)

From the pins_ file, it sounds like they put the SPI port on the ISP connector (D14..17), freeing up other pins to be connected to D11..13.  The official Ethernet Shield establishes the (unfortunate, IMO) precedent of using the ISP connector for SPI peripherals, rather than the digital IO pins (that way it is compatible with both Arduino AND mega.)

Anyone who actually has a Leonardo is probably under non-disclosure, right?  So it's all speculation unless there is official word...

Logged

Málaga, Spain
Offline Offline
Edison Member
*
Karma: 37
Posts: 2172
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It sound funny that: people that have a Leonardo are under non disclosure. I mean, this is an open hardware platform, right? Or is it?
Logged

   

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8443
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
this is an open hardware platform, right?
Yes it does seem a bit of an contradiction, I'm hanging out to see the Due schematic because I'd like to do a clone design.

Maybe they don't want to release stuff until it's right. Otherwise they'll be buggy versions circulating.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

0
Offline Offline
God Member
*****
Karma: 0
Posts: 594
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm hanging out to see the Due schematic because I'd like to do a clone design.

maybe they don't want clones to compete with the big release

Other dev-platforms are not as threatening to Arduino's business in comparison to clones. Arduino is like Apple in the sense that they are dependent on their own branding in order to make sales.
Logged

Freelance engineer, consultant, contractor. Graduated from UW in 2013.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23736
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Having SPI on ICSP is not really helpful - still need a chip/slave select line.

I'll rearrange a little to put more PWMs on the 'standard' pins.
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Playing with these for a about 2 weeks now. Boot loader has been stable as of latest release. LED blink that comes with the boot loader is now "breathing". Adafruit's 32U4 breakout is easiest to try this out, altho I made my own version and works nicely. Nice to walk away from the pricey FT232Rl chip.
Logged

Panucatt Devices

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23736
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What pins_arduino.h data did you use with that?
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Offline Offline
Newbie
*
Karma: 0
Posts: 31
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

What pins_arduino.h data did you use with that?

The one posted by 32teeth (from 1.0rc2)


FM,

The way you have your TX LED wired, wouldnt that just have the LED on all the time?
Logged

Panucatt Devices

Pages: 1 [2] 3 4 ... 17   Go Up
Jump to: