Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Xyver on November 16, 2011, 01:10:06 AM

Title: Small microcontroller to run Arduino software
Post by: Xyver on November 16, 2011, 01:10:06 AM
Have any of you guys used this: http://pjrc.com/store/teensy.html (http://pjrc.com/store/teensy.html)

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 as great as it sounds.

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.
Title: Re: Small microcontroller to run Arduino software
Post by: joe61 on November 16, 2011, 06:17:50 AM
I have one of these (http://www.adafruit.com/products/296) which is the same chip with a bit more support stuff on the board. It is pretty nice.

Joe
Title: Re: Small microcontroller to run Arduino software
Post by: Xyver on November 17, 2011, 01:00:53 AM
I dont need any extras, just the pins I said and maybe 10k of storage (my arduino has 30k ish.... Dont remember if its bytes or kilobytes or what xD But my arduino (running a atmega 328) has ~30k ish, my sketch is at about 6k, and im going to add a bit more to it.)
Title: Re: Small microcontroller to run Arduino software
Post by: Admin on November 17, 2011, 01:43:57 AM
It uses the ATMEGA32U4, so it won't be directly compatible with Arduino.

That said, it's an AVR just like the Arduino, so there are still plenty of easy to use libraries out there.

(shameless plug: my Axon products are also AVR ::))
Title: Re: Small microcontroller to run Arduino software
Post by: eTag on November 17, 2011, 01:55:39 AM
arduino (running a atmega 328) has ~30k ish

the atmega 328 has 32kb... 0.5kb are used for it's bootloader on the aruinos...having worked with arduino...it should work with what your needs are...
Title: Re: Small microcontroller to run Arduino software
Post by: Xyver on November 18, 2011, 01:04:39 PM
It uses the ATMEGA32U4, so it won't be directly compatible with Arduino.

That said, it's an AVR just like the Arduino, so there are still plenty of easy to use libraries out there.

(shameless plug: my Axon products are also AVR ::))

Axon is too big!  I'll use it one day for when I make my robot that takes over the world.