Small Arduino Replacement?

Have any of you guys used this: Teensy® 2.0

Is it any good? I think it should be perfect for what I need.... As far as I can tell, it's compatable with the Arduino software, and it says it has "25 I/O, 12 analogue, and 7 PWM" pins. And I need 21 digital I/O, and 1 analogue in. So should be perfect.....

Am I missing anything here? Or is this really exactly what I need.

EDIT:: I'm looking for something to control 6 buttons, and 5 RGB LED's, and a mic. One button controls all 5 LEDS, and the other 5 control 1 LED each. So you can change the colors of all of them at once, or individually. The mic can be turned on or off, to make the LEDS flash in time to the beat of music.

As you don't say what you want it is hard to say if it is what you need.

Something to control 6 buttons, and 5 RGB LED's, and a mic. One button controls all 5 LEDS, and the other 5 control 1 LED each. So you can change the colors of all of them at once, or individually. The mic can be turned on or off, to make the LEDS flash in time to the beat of music.

EDIT:: My bad for not posting that right off the bat, I saw it and got excited. Been fighting with it for AGES trying to build my own little circuit board.....

If you are looking for a very small arduino compatible board, search for: arduCHIP or arduSTAMP in this forum. They are cool if you are familiar with Arduino.

ArduSTAMP and ArduCHIP are more expensive then these Teensys....

Yep, can't compete with mass production.

Hi, Also think about the Nano and the ProMini:

http://arduino-direct.com/sunshop/index.php?l=product_detail&p=84 NANO: Has it's own USB, 328 chip, nice plugged into a mini breadboard...

http://arduino-direct.com/sunshop/index.php?l=product_detail&p=107 Pro-Mini: Separate USB interface, 168 Chip. Even smaller.

DISCLAIMER: Mentioned stuff from my own shop...

My pages link to info on Arduino site, ProMini Users manual...

Re- Teensy: Very cute! But!... while they say it is "breadboard friendly", the pins across the "vertical" edge of the board, and the ones not on the edges would be mild pains.

I'm also nervous when they are so careful to avoid saying "Arduino compatible".

But impressed by the tiny form factor, and that they seem to include the USB hardware in it.

ALTERNATIVELY....

For a small Arduino clone that is a joy to use and inexpensive ($12 for 1, $10 if you buy 5... I'll take three of them, if "as new" and you later decide you don't like it), there's the RBBB from ModernDevice (with whom I have no affiliation)

Lower of the two in the illustrations at...

That's in kit form, but there are no SMT components to deal with. Assembly is easy.

You WILL need a "programming cable" or an ordinary cable plus a "BUB"... but that's "the way to go", anyway. Details at....

I STRONGLY recommend the teensy and teensy++. I've yet to find anything I wrote for it in the Arduino IDE that didn't work on the first go.

It is essentially a TINY arduino Leonardo when it comes to hardware. The software he wrote to upload the boot loader is exceptionally well written, and I buy these things 3-5 at a time with no fear of hitting its limitations.

Enjoy!

I don't need it to be breadboard friendly, I just need it for a final version.

Re...

software he wrote to upload the boot loader

For the innocent... is there an idiot's guide to how we do this somewhere?

Apart from the "coolness" factor of being slightly smaller than the RBBB... Oh! And the built in USB circuits, if you are going to be keeping it connected to a "big" PC (in which case why is being small good?) I don't see how this "beats" the less expensive (if you discount just a LITTLE of your time, for a quick and easy solder-up... which you can offset against the "upload the boot loader" chore) RBBB?

(Apologies if it seems I'm engaging in a "Mac vs PC" flame war... just interested in knowing the pros and cons. Yes, of course, I'm always delighted to learn that there's another alternative out there!)

tkbyd:
For the innocent... is there an idiot's guide to how we do this somewhere?

Yup:
http://www.pjrc.com/teensy/td_download.html

I own MANY of Paul's BBBs and RBBBs. We've talked at reasonable length about how much I use the BBB in particular. It's the board in my best selling personal design, in fact.

That said, I use a Teensy when:

  • Space is a concern, but 5v power is easy to find.
  • I'm making something portable / wearable.
  • I need to update the sketch regularly. The USB transfer is LIGHTNING fast, uploading most sketches before I notice it's started.
  • I'm sending something out in the world that will likely need a firmware update and don't want to sell the FTDI adapter (a hidden cost of any board without USB)
  • I'm writing the code from scratch and can work around the (very few, and soon to be none because of the Leonardo) quirks of writing for the ATMEGA32U4

I use a BBB (or RBBB) when:

  • I want the pins broken out along one edge for easy stripboard prototyping (BBB).
  • I only have 6-36v power handy and need to power my device with that. I use these: http://www.murata-ps.com/data/meters/dms-78xxsr.pdf LOVE THEM.
  • I don't want an LED AT ALL on the board.
  • I am wanting the likely placebo like effect of throwing that 15uH inductor on the board because I'm doing ADC reads and think it might help. (BBB)
  • I think I will want the ability to quickly change out the chip because I'm attempting something that I secretly feel is unwise and will smoke a port.

Paul and Robin (Teensy folks) are ABSURDLY fast at shipping and when you get the Teensy, it comes with a great glossy card with one side showing you the basic AVR pin assignments and the other showing the Teensyduino port assignments.

Final bit is that when it comes to being breadboard friendly, the Teensy is still 98% fantastic because only +5, GND,RST and A11 are on the end of the board. MOST people can make do with 10 ADCs, will be happy to use the reset button on the top of the board while breadboarding, and +5 and GND are also to be found on the sides of the board.

If you're just after standalone small (no USB), there's the Mini-uino PCBs I made up also, see the link in my signature, for a bare minimum arduino clone.
No USB, no regulator, just the '328, crystal, caps, reset pullup resistor, and the IO pins with a ground for each one.

here's a picture of one of Crossroads mini-uino boards compared to a regular uno. You do have to assemble it yourself, but it's only a few components. (click for fullsize)

That's odd, they look so much smaller sitting by themselves on my desk!

it's about 1/3 the size. Seems pretty good to me. Also the mini-uino was sitting at a little bit of an angle, so it does look a little bigger in the photo.

Ummm... so, revealing yet again my capacity to be dim... is the following more or less on target?

If I wanted to become a Teensy-phile, I....

a) "Once and for all", "do some stuff" to improve my basic Arduino development environment, and then, after that....

b) Using a Teensy is pretty much like using a "real" Arduino, an RBBB, etc?

That's not too terrible! <^_^>

I was afraid that the "upload the bootloader" stuff was something I had to do with each new Teensy as it came into use... somewhat along the lines of "formatting a disc".

Oh dear. Now I have to buy a Teensy, and lose a few days playing with ANOTHER "new toy".

Joking aside... always good to have alternatives... thank you for the link to the "how to", and, if you are reading, thank you to whoever wrote it!

(For new people reading this thread... and to check an assumption that doesn't worry me much, but hasn't been covered... And, when "switching" from working with, say, an RBBB to an Teensy, I'd also use "Tools | Board" to tell the development environment, just as I would if, say, switching from an Uno to a Duemilanova?

For small-size and Arduino compatibility, take a look at the Sparkfun ProMini. Programming the ProMini is essentially the same as for the Uno, except that the programming interface can be removed when not needed. They both use the ATmega328 chip.

The Teensy is extremely cool, but I rarely find myself needing the small size and built-in USB.

Here's a rough size comparison between an Uno and a ProMini. The red board is the FTDI USB-to-TTL-serial programming interface:

How much current do RGB leds draw at full brightness? That to me is a real limit and time to think about drivers or not.

a) "Once and for all", "do some stuff" to improve my basic Arduino development environment, and then, after that....
b) Using a Teensy is pretty much like using a "real" Arduino, an RBBB, etc?

Correct, but!

I was afraid that the "upload the bootloader" stuff was something I had to do with each new Teensy as it came into use... somewhat along the lines of "formatting a disc".

This is also TRUE. If I buy 5 Teensys, I need to plug each in and click a button to upload the Arduino bootloader. Once this is done, you don't have to do it again.

I believe the last time I did it, it took ~6 seconds.