Go Down

Topic: *I'm New* What are the Applications of an ATtiny controller? (Read 1 time) previous topic - next topic

jwatte

The USBtinyISP AVR programmer is, in itself, based on an ATTiny (the 2313.)

From 6 pins to 20 pins, you can get a wide variety of peripherals and memory amounts (from 2kB of flash and up; from 128 bytes of RAM and up, IIRC.)

For example, I'm going to build a switching power supply where the actual PWM controller is an ATTiny, rather than a dedicated chip. It may end up being both cheaper and more flexible than the custom solutions... (A/D is built in, PWM is built in, UI can be drive from the same chip, ... only the MOSFET switch needs to be added.)

Wherever you want a bit of logic more than just "button pressed, light on," you could use one of these guys. They tolerate various voltages, but if you need 12V or whatever, you can use cheap regulators to supply the 30 mA or whatever they need. To switch higher voltages, you can use simple low-driver N-channel MOSFETs.

kf2qd

Here's a thread on some work I did using an ATtiny2313 as a stepper controller - takes Step and Direction inputs and drives the 4 MOSFETs for a unipolar type stepper motor. Idea was first developed on my Arduino and then work was done on the 2313 -
http://arduino.cc/forum/index.php/topic,84809.0.html

Depending on what I/O is needed, you then decide which device will have the resources you require. May have a few spare pins, but that just gives you space to enhance your design.

Go Up