ATTiny powered Arduino Projects

Arduino is a great platform. No question. But what if I told you that you could take your entire board and compact it into tiny package. And I mean really small. The chip in the picture is an ATTiny84, and that is the big version. So if your project only needs a few pins and isn’t very complicated, this little chip and do it in a fraction of the space! Not only that, but each of these ATTiny chips are only $2 a piece.
ATTiny powered Arduino Projects
Just another thing I made at TechShop.

http://www.techshop.ws

Step 1: Materials

You will need:

An arduino uno

One of the following. All of these are 8bit microcontrollers as apposed to the 32bit chips in the standard Arduino platform. Whatever fits your needs. (I’m using an ATTiny84)

ATTiny44 – 4kb flash storage & 14pins
ATTiny45 – 4kb flash storage & 8pins
ATTiny84 – 8kb flash storage & 14pins
ATTiny85 – 8kb flash storage & 8pins

10microFarad capacitor

For the display, see this instructable
http://www.instructables.com/id/Arduino-powered-7-seg-LED-display-using-Shift-Regi/

Step 2: Setting up the ATTiny programmer

There are a couple of important steps to getting the Arduino to talk to the ATTiny. Essentially, we need to turn the arduino into an ISP or In System Programmer.

Make sure that you are using at least Arduino 1.0 IDE. This will not work on older versions.

Next download this file from github:   https://github.com/damellis/attiny/tree/Arduino1

Now locate your arduino sketch folder. If it does not have the folder “hardware” there, create it now.

Put the attiny folder in that directory. It should look like Documents->Arduino->hardware->attiny

Reset the arduino program. Now when you open Tools->Board it should have the ATTiny boards as well.

ATTiny powered Arduino Projects Schematic

Step 3: The Circuit

Now we need to connect the ATTiny to the arduino.

On the Uno the connections are like this

Uno                           ATTiny
Pin13          ->           SCK
Pin12          ->           MISO
Pin11          ->           MOSI
Pin10          ->           RESET

And a 10microFarad cap across the Reset on the Uno to prevent it from just resting the bootloader immediately.

[box color=”#985D00″ bg=”#FFF8CB” font=”verdana” fontsize=”14 ” radius=”20 ” border=”#985D12″ float=”right” head=”Major Components in Project” headbg=”#FFEB70″ headcolor=”#985D00″]An arduino uno
ATTiny84[/box]

For more detail: ATTiny powered Arduino Projects


About The Author

Ibrar Ayyub

I am an experienced technical writer holding a Master's degree in computer science from BZU Multan, Pakistan University. With a background spanning various industries, particularly in home automation and engineering, I have honed my skills in crafting clear and concise content. Proficient in leveraging infographics and diagrams, I strive to simplify complex concepts for readers. My strength lies in thorough research and presenting information in a structured and logical format.

Follow Us:
LinkedinTwitter

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top