Giter Club home page Giter Club logo

attiny_programmer's Introduction

Programming a ATtiny84 with an Arduino Nano

Fritzing project for programming a ATtiny 84 using an Arduino Nano as a programmer


##HOW TO

You need an Arduino Nano, a 14 DIP socket, a strip of 30 female header connectors, a 5x7cm prototype PCB board, one LED, one 100 Ohm or higher resistor (depending on LED characteristics), a PC with the arduino IDE (version 1.6 or higher, not the one shipped with Ubuntu 16.04).

Build the board following the Fritzing design.

Upload on the Arduino Nano the "ArduinoISP" sketch, as found in the "Examples" bundled with the Arduino IDE.

Follow one of the many guides that teach how to install in the Arduino IDE the support for the ATtiny family.

Now insert the ATtiny84 and the Arduino Nano in the sockets, as indicated in the Figure.

Connect the Arduino to the PC USB socket, configure the IDE to upload to an ATtiny84 using the "Arduino as ISP" mode, and use the upload button on the IDE to flash your ATtiny with your sketch.

There is a led on board: if you use the following sketch and programming was successful it should flash:

int led=10;

void setup() {
  pinMode(led, OUTPUT);
}

void loop() {
  digitalWrite(led, HIGH);
  delay(1000);
  digitalWrite(led, LOW);
  delay(2000);

}

attiny_programmer's People

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

cjsatuforc

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.