Project tutorial

ATtiny Programmer Board (Arduino UNO as ISP) © CC BY-NC-SA

ATtiny programmer board to use Arduino UNO as ISP.

  • 283 views
  • 0 comments
  • 2 respects

Components and supplies

About this project

ATtiny13/ATtiny13a/ATtiny25/ATtiny45/ATtiny85

I really like the ATtiny and programming it, so I built a simple board to use Arduino UNO as ISP in a faster way.

With the original Arduino UNO, there is a little variation because compatible ones have another 5v VCC over RESET pin, Arduino UNO has IOREF instead.

(In this project you can find the fritzing file with simple examples and schema.)

Schema:

I use a perf board. To switch Voltage (to use 3.3v or 5v) and to enable test LED, I use a smd on/off button instead of a pin with a jumper.

The board is double sided so I can attach pin and components up and down the board.

Board v01:

Board v01 (original Arduino UNO):

Board v02 (power LED):

Board v03 (test LED):

Material

Look at GitHub.

Amount	Part Type	Properties 
1	Arduino Uno (Rev3)	tipo Arduino UNO (Rev3) 
1	Electrolytic Capacitor	capacitance 10µF 
1	Ceramic Capacitor	capacitance 100 nF 
1	IC Holder	        pins 8 
1	Green (570nm) LED	package 3 mm [THT]; colore Green
1	Yellow (595nm) LED	package 3 mm [THT]; colore Yellow
1	10kΩ Resistor	        resistenza 10kΩ; tolerance ±5% 
2	220Ω Resistor	        resistenza 220Ω; pin spacing 400 mil; tolerance ±5% 
*	Generic male header	form ♂ (male); pin spacing 0.1in (2.54mm); 
*	Generic female header	form ♀ (female); pin spacing 0.1in (2.54mm); 

And here is the ATtiny13a I used this for the test.

Screen

Perforated board upside:

Perforated board downside:

Mount on the Arduino:

After upload:

ATtiny13a variant

I buy ATtiny13a at avery low cost IC (less than 0.5€) with 4 analog pins and 2 PWM/TIMER pins.

How to program an ATtiny:

Prepare Arduino UNO to use it as ISP

  • In Arduino IDE, select Arduino UNO board (Tool --> Board --> Arduino UNO / Strumenti --> Scheda --> Arduino UNO );
  • Then open ArduinoISP example file (File --> Examples/Esempi --> 11.ArduinoISP --> ArduinoISP );
  • Upload Arduino (Sketch --> Upload/Carica );
  • Close IDE.

Add support for ATtiny:

ATtiny13/ATtiny13a (GitHub ATtiny13 support):

  • Open the File > Preferences menu item;
  • Open the Tools > Board > Boards Manager... menu item;
  • Open the Arduino IDE;
  • Wait for the platform indexes to finish downloading;
  • Scroll down until you see the MicroCore entry and click on it;
  • Click Install;
  • After installation is complete close the Boards Manager window.

ATtiny25/ATtiny45/ATtiny85 (GitHub other ATtiny support)

  • Open the Arduino IDE;
  • Open the File > Preferences menu item;
  • Open the Tools > Board > Boards Manager... menu item;
  • Wait for the platform indexes to finish downloading;
  • Scroll down until you see the MicroCore entry and click on it;
  • Click Install;
  • After installation is complete close the Boards Manager window.

Upload to ATtiny

  • Select board with correct setting and PORT (Tools --> Board / Strumenti --> Scheda );
  • Select Arduino as ISP (Tools --> Programmer --> Arduino as ISP / Strumenti --> Programmatore --> Arduino as ISP ); note: Arduino as ISP is different from ArduinoISP.
  • Upload program (Sketch --> Upload from programmer / Schetch --> Carica tramite un programmatore ).
  • Attach board to Arduino UNO;
  • Insert ATtinyXX;
  • If the board is v03 than activate test LED otherwise using a breadboard and take VCC from upper right pin of ATtiny and GND to down left pin, than connect 0 pin (down right) to a LED;

Sample sketch

#define PIN 0
void setup()
{
  pinMode(PIN, OUTPUT);
}
void loop()
{
  digitalWrite(PIN, LOW);
  delay(500);
  digitalWrite(PIN, HIGH);
  delay(500);
}

Code

Github
https://github.com/xreef/ATtinyProgrammerBoardArduinoAsISP
Github
https://github.com/MCUdude/MicroCore
Github
https://github.com/damellis/attiny/

Comments

Similar projects you might like

Magic Lamp

by Nekhil ravi

  • 992 views
  • 3 comments
  • 12 respects

PuzzleBox

Project tutorial by Arduino

  • 183 views
  • 0 comments
  • 1 respect

Arduino MKR GSM 1400 and DTMF

by Arduino_Genuino

  • 3,871 views
  • 0 comments
  • 9 respects

Love You Pillow

Project tutorial by Arduino

  • 2,447 views
  • 0 comments
  • 5 respects

Infrared Replicator

Project tutorial by Gustavo Gonnet

  • 3,814 views
  • 6 comments
  • 26 respects

Arduino Yun Controller

Project showcase by TATCO Inc

  • 134 views
  • 0 comments
  • 3 respects
Add projectSign up / Login