Pages: [1]   Go Down
Author Topic: Sorry, but which Arduino should I buy?  (Read 657 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I know it's been asked a lot but I think my question is unique enough to warrant a new topic.

I'm debating on whether to buy an Uno or a Leonardo. I like the USB features of the Leonardo but there is one major fault in it, it doesn't have the IC dip chip design. Now I wanted to, at least at some point, move from the Arduino to a bare PCB with the Atmega328 microprocessor, which I program using the Uno and then replace with a new one. The Leonardo makes that impossible to do.

So what I'm asking is if there is some sort of alternative process for the Leonardo, and if not, could I emulate USB functionality with the Uno? (because as far as I'm aware, that's the only real difference between the two, aside from some extra pins)

Also, first post!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23797
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

You can do what I do - USB/Serial module, and DIP chip, emulating a Duemilanove.

mikroe483 from mouser.com
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.

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 36
Posts: 5519
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

You can do what I do - USB/Serial module, and DIP chip, emulating a Duemilanove.

I can't really speak to what the OP wants - but I think what's being asked is whether there's a way for the Uno to act as a USB HID device like the Leonardo can.

If so - the short answer to that is "yes and no".

I do know that in the past there were people playing around with shields on standard Arduinos, plus code that allowed them to use an Arduino to emulate a keyboard or a mouse; if you google "arduino usb hid" you'll find a myriad of resources and such discussing how to do this.

That said, you'll likely have to do way more programming and such than you would have to when using the Leonardo - but you might gain a better appreciation and understand of the whole process in the long run. Also - more people seem to own, use, and discuss the Uno (and other 328 based boards) than any other Arduino system. In fact, the number of people using these other Arduino systems seem to be of a much lower number - so it may be more difficult to find help and/or example code. I'm not saying impossible - just more difficult. They just don't have the same popularity.

Also keep in mind, though, that since the Uno doesn't have this built in rather "natively" and you would have to code it in yourself, that code might take up such an amount of space as to leave you little room for your own code; I honestly don't know what the truth is on that side of things, though, since I haven't played with USB connectivity, but it is something to keep in mind as you do your research. I would imagine that the Leonardo, with it's more "native" handling of USB HID, might have simpler and smaller code needed to implement it.
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23797
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

Quote
move from the Arduino to a bare PCB with the Atmega328 microprocessor,
That rules out 32U4 chip to me.
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: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
move from the Arduino to a bare PCB with the Atmega328 microprocessor,
That rules out 32U4 chip to me.

That's being to literal...
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23797
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

32U4 is not available in a DIP, so unless you want to mount them on DIP adapters to put into your PCB to make it replaceable, what are your options?
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: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Bummer...

Thanks anyway!
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 439
Posts: 23797
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

Using an FTDI module & DIP microcontroller is pretty straightforward as well.
This Uno-like  board uses a 32 IO processer, Atmega1284P, and a MIKROE483 FTDI module can be mounted on board, or  an offboard FTDI module (or CP2102 equivalent) can be connected.
http://www.crossroadsfencing.com/BobuinoRev17/
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.

Pages: [1]   Go Up
Jump to: