How-To: Shrinkify Your Arduino Projects
Why Electrical Engineering Stack Exchange recommends it
Electronics Stack Exchange users link it when asking how to program ATtiny85 and ATtiny84 chips from an Arduino, and as the standard starting point for swapping a full Arduino for a small chip.
Recommended by 1 people across 1 different months, 2012 to 2018.
What it is
A short Make: how-to in which Matt Richardson shows how to move a simple Arduino project onto a single 8-pin ATtiny chip. It is based on an MIT Media Lab High-Low Tech Group tutorial and lets you keep using the usual Arduino code and IDE.
What people said
Recommends Toast · 2012-08 · Electrical Engineering Stack Exchange · on “Programming an ATtiny 85 with Arduino”
I followed this tutorial [this video] and got the following error when trying to compile upload the attiny85 sketch: avrdude: usbdev_open(): did not find any USB device "usb" The attiny is already soldered on a circuit (with two leds, a buzzer, button and a brightness sensor). Can this cause the error? Also, the attiny already has a program on it (that I want to overwrite) so I assume I don't need to install the bootloader? I found two files with the attiny hardware files, one that adds ATtiny85 (w/ Arduino as ISP) and one that adds ATtiny 85 (internal 1Mhz clock) to the Board menu. When using the first one (Arduino as ISP) i can only compile the blink sketch when I add #include <Arduino.h> #incl
Cites Fred · 2012-02 · Electrical Engineering Stack Exchange · on “basic arduino question - do I need a 555 timer?”
Depending on what else you plan to do with the microcontroller, one alternative might be to replace the Arduino with multiple ATTiny85 chips. They cost about $2.50 each and can be programmed via the Arduino using its IDE. See the following URLs for instructions. [LINK] [this video]
Cites hpekristiansen · 2012-09 · Electrical Engineering Stack Exchange · on “Programming ATtiny84 using Arduino (Leonardo)”
I am trying to program the ATtiny84 using an Arduino (Leonardo). I have seen this Shrinkify video [this video] . -and I have been following this Programming tutorial [LINK] . I have connected everything and am using Arduino 1.0.1 software. I uploaded ArduinoISP to the Arduino, selected "board" ATtiny84 (Internal 1 MHz clock) , and selected "programmer" Arduino as ISP . When I try to upload the blink example, I get this error: Binary sketch size: 880 bytes (of a 8,192 byte maximum) avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny84 avrdude: Yikes! Invalid device signature. Double check connections and try again, or use -F to override this check. What am I doin
Cites DudeOnRock · 2013-08 · Electrical Engineering Stack Exchange · on “What can't the ATtiny do that the Arduino can?”
Inspired by this Make Magazine youtube video [this video] , I would like to use the ATtiny chips instead of the Arduino for most of my projects. The video author warns that some Arduino functions won't work on the ATtinys. Is there a complete list of what is and is not supported?
Cites mastermind braveson · 2018-06 · Electrical Engineering Stack Exchange · on “Why use a capacitor instead of just a wire?”
[this video] In this video an arduino is used as a programmer. So its reset and ground should be connected. However, the guy prefers to use a capacitor instead of just using a piece of wire. I am wondering what is the purpose of the cap here. [LINK]