Subscribe to Design News
RSS
Email
Average Rating:
  • (10)
    Rate this:
  • What Can You Do With a 6-Pin MCU?

    November 24, 2009

    Atmel announced its 6-pin ATtiny10 MCUs in April 2009 and in late November 2009, the company introduced the ATtiny4, ATtiny5, and ATtiny9, which provide the same pin-out and functions as the ATtiny10 device. All of these MCUs include the standard AVR central processing unit (CPU). The processors all operate between 1.8 and 5.5V and they vary slightly, as noted below:

    • ATtiny4: 512 bytes of Flash, 32 bytes of SRAM, one 16-bit counter/timer with a PWM channels, analog comparator.
    • ATtiny5: Same as ATtiny4, but includes an ADC.
    • ATtiny9: Same as ATtiny4, but with 1 kbyte of Flash.
    • ATtiny10: Same as ATtiny4, but with 1 kbyte of Flash and ADC.

    As you can imagine, the I/O pins get crowded. One pin carries the following designation:

    PCINT1/TPICLK/CLKI/ICP0/OC0B/ADC1/AIN1

    That translates to a choice of:

    • PCINT1:Pin Change Interrupt 0, Source 1
    • TPICLK: Serial Programming Clock
    • CLKI: External Clock Timer/Counter0 Input-Capture Input
    • OC0B: Timer/Counter0 Compare Match B Output
    • ADC1: ADC Input, Channel 1
    • AIN1: Analog Comparator, Negative Input

    But, what can you do with such a small MCU? Atmel noted prices for 5,000 devices start at 0.34 each, so the low cost should make the chip attractive in many consumer devices. An article on the Atmel Web site describes a home thermostat. I could design a smart doorbell: Press it quickly and it gives a normal ring. Press it for two seconds and it created a different ring to announce someone as a friend. Press it twice quickly and it produces a “family” ring. Even with only four I/O pins, the chip could still serve as a servo- or stepper-motor controller with a serial input.

    For the 168-page manual for the ATtiny family, visit: www.atmel.com/dyn/resources/prod_documents/doc8127.pdf.

    All tinyAVR microcontrollers use the standard AVR microcontroller development tools. Atmel provides its AVR Studio integrated development environment at no charge via the company Web site at: www.atmel.com/AVRStudio.

    If you want to investigate the ATtiny family, Atmel offers the STK600-ATTINY10 package that contains adapter boards for the ATtiny4/5/9/10 devices. These boards plug into the STK600 starter kit and development system for the AVR and AVR32 Flash microcontrollers. –Jon Titus

    Posted by Jon Titus on November 24, 2009 | Comments (6)
    Industries: Electronics/Test
    Average Rating:
  • (10)
    Rate this:

  • December 8, 2009
    In response to: What Can You Do With a 6-Pin MCU?
    Obrad commented:

    We have used such devices to initialise difital frequency synthetizing with PLL and DDS at startup. We usualy need only 2 or 3 pins (I2C or SPI) for communiations with controlled components.


    December 7, 2009
    In response to: What Can You Do With a 6-Pin MCU?
    MarkS commented:

    I have used this device for monitoring the state of a mems accelerometer in a simple tilt sensor.


    December 7, 2009
    In response to: What Can You Do With a 6-Pin MCU?
    SW Owl commented:

    We have used such devices for a simple input debouncing in system and still a cost effective solution.


    December 7, 2009
    In response to: What Can You Do With a 6-Pin MCU?
    SW Owl commented:

    We have used such devices for a simple input debouncing in system and still a cost effective solution.


    November 28, 2009
    In response to: What Can You Do With a 6-Pin MCU?
    JimE commented:

    ChipGal: You could do some bit bit bashing with one of the timers as a timebase to create a one-wire interface. The timing is pretty straightforward. Check Wikipedia for general info. Maxim Integrated Circuits at maxim-ic.com has a lot of 1-Wire products. Lots of good links at the Wikipedia site.


    November 27, 2009
    In response to: What Can You Do With a 6-Pin MCU?
    ChipGal commented:

    Interesting that a microcontroller with so few I/O pins has such a sophisticated processor core. I suppose someone could use it as an intelligent device on a serial bus, maybe for remote control or monitoring of a couple of sensors. Too bad it doesn't have a 1-Wire port, although you could do that with software.

    POST A COMMENT
    Display Name
    captcha

    Before submitting this form, please type the characters displayed above. Note the letters are case sensitive:

    Advertisement
    Sept '10 LED event - House ad
    Advertisement
    2010 DN Salary Survey Download Promo
    About Design News   |   Advertise with Design News   |   Site Map   |   Contact Us   |   Subscription   |   RSS
    © 2010 Canon Communications LLC. All rights reserved.
    Use of this Web site is subject to its Terms of Use | Privacy Policy