Attiny40 - why so popular?

Go To Last Post
9 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Just wondering but has Atmel just had a sale on tiny40's or something? It seems like every second thread here is now about this chip. I just wonder what motivates people to use it?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

maybe people think that "tiny" means "more easy" lol.
You know when you are a rookie you try to start with the with the easiest thing, but in this case is a wrong idea if "tiny" means "old". I would rather the MEGAAVR

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

a sale on tiny40's

It is indeed inexpensive, at $0.66/qty. 100.

Let's compare to Tiny1634, at $0.96/qty. 100 ... Both are 20-pin

Tiny40:
-- Brain-dead; 16 GP registers
-- TPI programming
-- CLKI but no crystal
-- 4K flash
-- 256B SRAM
-- No EEPROM
-- 8-bit and "8/16-bit" timers
-- 12 ADC channels
-- TWI slave

Tiny1634:
-- 32 GP registers
-- "Normal" ISP programming
-- Can use a crystal
-- 16KB flash
-- 1024B SRAM
-- 256B EEPROM
-- 8-bit timer and "full" 16-bit timer
-- 12 ADC channels
-- Full TWI; USI; >>two<< full USARTS

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

It is indeed inexpensive

AFAICS that is the only advantage. That's great for high volume apps but the questions being asked don't seem to suggest professional developers shaving the cost of that 1m/annum wonder gadget?

I just wondered if Avnet/Mouser/Digikey/RS/Farnell or whoever had splashed it on their front page or something and everyone suddenly thought it was the "must have" micro. There seems little to recommend it in particular. (it doesn't even have that advantage of the other brain-dead models in coming in 6 pins)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

As far as I know, the only reason Atmel even makes the brain dead chips is because when they acquired the QTouch technology they wanted to make drop in replacements for devices already on the market (that were formerly based on PICs).

Regards,
Steve A.

The Board helps those that help themselves.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

yes and that is a very good reason.

It used to be that if every cent counts buy a PIC if you don't need eeprom, and avr if you do.(I only compare PIC and AVR here :) )
And that is where the new chips come in handy.
And I don't know why you are so angry on only 16 registers when the new chips can get to RAM in 1 clk.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'd be willing to bet that many newbies completely miss the distinctions between Tiny40 and TIny1634 listed above.

After all, we get many questions that almost shout that the distinction between RAM, flash, and EEPROM is just not understood (until explained). We sometimes get postings that suggest that the poster does not really understand what a UART is.

So, lacking knowledge at such a basic level (of course, some newcomers are better versed in such things), it is hardly surprising that price becomes the selection criterion when you don't understand the differences.

Jim

Jim Wagner Oregon Research Electronics, Consulting Div. Tangent, OR, USA http://www.orelectronics.net

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:

As far as I know, the only reason Atmel even makes the brain dead chips is because when they acquired the QTouch technology they wanted to make drop in replacements for devices already on the market (that were formerly based on PICs).

Quote:
18. Touch Sensing
ATtiny40 is optimized for QTouch® Library.
QTouch® Library is a royalty free software library for developing touch applications on standard Atmel AVR® Microcontrollers.

QTouch gurus will need to give me a list of Tiny40 features that make it better in any way for QTouch than any other AVR8 model.

And don't get me started on the "royalty free software library" -- available ONLY for selected toolchains, and no source version to port. (But Atmel sez they have no preferred compiler brand(s) for AVR8...)

You can put lipstick on a pig, but it is still a pig.

I've never met a pig I didn't like, as long as you have some salt and pepper.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Quote:
Let's compare to Tiny1634

Those kinetinies are about the same (at least w.r.t. size and price) so it must be something else that attracts..

No RSTDISBL, no fun!