Sei sulla pagina 1di 4

ATtiny and Tiny AVR set up instructions

Go to https://www.arduino.cc/en/Main/Software and download the Arduino IDE for your operating


system.

Unzip once it is loaded, sending it to a folder in My Documents.

Open Arduino by double clicking the Application file

Arduino will open.

Go to File>Preferences
Copy and Paste this address: https://raw.githubusercontent.com/damellis/attiny/ide-1.6.x-boards-
manager/package_damellis_attiny_index.json into the Additional Boards Manager URL and then OK

Go to Tools>Board, and then select Board Manager. Find attiny (you may have to scroll down) and
click on it, and Install. (Install will appear once you have clicked on attiny).

Select Tools again, and then Select Board: ATtiny; Processor: ATtiny85 (or your version)

And make sure you have Clock: 8MHz (internal).


Plug in the ATtiny 85 (see later for ATtiny 84)

You have an AVR Programmer. It looks like this:

You have an ATtiny85 microcontroller. It looks like this:

Notice the little dot in the corner of the black section? This marks the top.

The top will align with the little dent in the white marker on the Programmer.

To get the IC into the socket, you may need to bend the legs on each side inwards a tad.

Tiny AVR Programmer


You will need to download and save where you can find it, the driver for the AVR
programmer.

Download the Driver


The driver for my Windows PC (64 bit) is usbtinyisp_libusb-win32.1.2.1.0 found at Windows
(64-bit) drivers: http://www.ladyada.net/make/usbtinyisp/usbtinyisp_libusb-
win32_1.2.1.0.zip

https://learn.adafruit.com/usbtinyisp/download

If your operating system asks you for a signed version, go to the link below:

http://www.adafruit.com/downloads/usbtiny_signed_8.zip

For a 32 bit driver go to:

Windows (32-bit) drivers: usbtinyisp w32 driver v1.12.zip

Plug in your AVR Programmer


When you plug in your AVR programmer you will be prompted for a driver, and you should
know where you have saved the unzipped folder. Note: Mine did NOT load automatically. I
went to Hardware and sound > Devices and printers, and found FabISP which I assumed was
(phew!!!) my little device. I right clicked and selected Update Driver. I manually searched for
the location of the unzipped folder. I selected the folder, and.. I installed the driver and
voila!!! YAYYYYYY

Windows 10 will take you from Settings>Devices and you will have to scroll down to find
Device Manager.

Now open Arduino and start programming!

Note your controller pin-outs for the AT tiny 85 are:

Using an AT Tiny

Select ATtiny from the Tools > Board menu and the particular ATtiny youre using from the
Tools > Processor menu.

Select the appropriate item from the Tools > Programmer menu (USBtinyISP).You should see
your AT Tiny 85, 8MHz (internal) on COM1 at the bottom of the screen.

Upload, paste or enter your program (sketch). See Using Arduino to Program ATtiny85 for
details.

You can verify your code. Then Upload and it will upload to your ATtiny 85. If successful, the
on-board amber LED should start blinking.

Potrebbero piacerti anche