Sunday, 09 December 2012 13:56

Simplest and Cheapest Arduino

Here we use a ATTiny85 (can be ATTiny45, ATTiny44) to make an Arduino just for US3.00, so we name it as Tiny Arduino.
 
Tiny Arduino have only eight pins as shown in figure above, Pin4 is ground (Gnd), Pin8 is 5V (Vcc), Pin1 is Reset, Pin2 and Pin3 originally used to connecting the Crystal. In order to utilize all the IO, the internal oscillator (RC Oscillator) is used to replace the external clock which require a crystal. Therefore the Tiny Arduino is now come with five IO. Below shows the Arduino IO functions.
  • There are five IO, each IO can be Input or Output
  • Among the five IO, two of the IO can perform as PWM
  • Among the five IO, three of the IO can perform as Analog Input
I2C may require to extend the features of Tiny Arduino.
 
 

 Material

  • 1 x 5V power supply power supply
  • 1 x Breadboard (Project board)
  • 1 x ATtiny85 (This is our Tiny Arduino)
  • 1 x Arduino Duemilanove (use to upload Sketch to ATTiny85)
  • 1 x 10 uF capacitor  (prevent Arduino duemilanove from automatically reset)
  • 5 x LED
  • 5 x Resistors
  • and some Wires
 

Using an Arduino Duemilanove as an ISP

An ISP (in-system programmer) is required to upload sketch to the ATtiny85 since ATtiny85 does not come with serial interface. Here we use an Arduino Duemilanove as an ISP to upload sketch to the ATtiny85.
  • Connect the Arduino Duemilanove to the computer
  • Open the Arduino software , I'm using arduino-0023
  • Select File> Examples> ArduinoISP from menu as shown in figure below
ArduinoISP
 
 
 
  • Select Tools> Board> Arduino Duemilanove or Nano w/ATmega328 or Arduino UNO from menu
Arduino Board
  • Click on the Upload icon to begin upload Sketch to Arduino Duemilanove
  • Now the Arduino Duemilanove is becoming an ISP


Plugin to support ATtiny85

  • Download ATtiny85 Plugin
  • Identify the Arduino sketchbook folder, press File> Preferences from menu, figure below shows my sketchbook location in D:\ My Documents\Arduino
Arduino Peferences
 
 
 
  • Make a Hardware sub folder inside the sketchbook folder if it is not exist.
  • Extract the downloaded ATtiny85 Plugin to the Hardware folder as shown in figure below
ATtiny85 45 Plugin
You will see Tools>Board>ATtiny85 (w / Arduino as ISP) from the menu upon completing of the above procedures.
 
 
Picture below shows the connection between Arduino Duemilanove and ATTiny85
Connecting ATtin85 to Arduino
 
 
 
Here we make a simple running light.
5 channel running light
 
 
 
 

Uploading sektch to ATtiny85

  • File>New from menu
  • Copy the running light source code as below to your Arduino work space.
  • Click on Tools>Board>ATtiny85 (w / Arduino as ISP) as shown in figure below
Arduino as ISP
  • Click the Upload icon to begin upload Sketch to ATtiny85
 
Source code for 5 channel running light, it occupied 804Byte of Flash Memory.
 
This is a more complicated Sketch, occupied 1508Byte of Flash Memory


Arduino Tiny supports the following command

  1. pinMode ()
  2. digitalWrite ()
  3. digitalRead ()
  4. analogRead ()
  5. analogWrite ()
  6. shiftOut ()
  7. pulseIn ()
  8. millis ()
  9. micros ()
  10. delay ()
  11. delayMicroseconds ()
  12. SoftwareSerial (Arduino 1.0 support only)
 
Picture below shows my Tiny Arduino connecting to the Arduino ISP. My Arduino ISP is very simple too.
My Arduino ISP
You may want to read this article for faster clock speed.
 
Read 14388 times Last modified on Sunday, 12 June 2016 11:53

15 comments

  • Comment Link Stevambums Thursday, 13 February 2020 18:40 posted by Stevambums

    Buy Zithromax Single Dose Packets http://buyciallisonline.com/# - Buy Cialis Can I Purchase Elocon Cialis Cialis Receta Medica

  • Comment Link Stevambums Wednesday, 12 February 2020 13:33 posted by Stevambums

    Cialis Alkohol Erfahrung http://viacialisns.com/# - Buy Cialis For sale secure isotretinoin tablets website free shipping Cialis Generic Stenda

  • Comment Link Stevambums Tuesday, 11 February 2020 10:59 posted by Stevambums

    Achat Viagra Pour Homme http://buycialisuss.com - cheap cialis online Amoxil Trimox Generic Amoxicillin Buy Cialis Comprar Cialis En Mendoza

  • Comment Link Stevambums Wednesday, 22 January 2020 07:46 posted by Stevambums

    Buy Tamoxifen [url=http://cialibuy.com]Cialis[/url] Viagra rique En Ligne where to buy cialis online safely Propecia A 10 Dias

  • Comment Link Stevambums Wednesday, 22 January 2020 06:16 posted by Stevambums

    Comprare Il Viagra Su Internet http://cialibuy.com - Cialis Miglior Prezzo Cialis Generico online cialis Amoxicillin And Clavulanate Potassium Augmentin

  • Comment Link MatWeetle Wednesday, 22 January 2020 00:29 posted by MatWeetle

    Acheter Cialis Paypal http://cialibuy.com - Cialis Remove Pink Amoxicillin Stain From Clothes Cialis Discount Levitra

  • Comment Link Stevambums Tuesday, 21 January 2020 16:09 posted by Stevambums

    Generic Worldwide Progesterone Tablet http://cialibuy.com - cialis tablets for sale Zithromax Identification buy generic cialis online Viagra Overnight Express Usa

  • Comment Link Stevambums Monday, 20 January 2020 09:15 posted by Stevambums

    Cephalexin For Upper Respiratory Infection Vendo Kamagra Bilbao Buy Cialis Viagra Tiene Vencimiento Xenical Vente Libre France

  • Comment Link Stevambums Monday, 20 January 2020 09:14 posted by Stevambums

    Cialis E Emicrania Levitra Long Term Effects generic cialis overnight delivery Como Comprar Cytotec Sin Receta Medica Costo Finasteride Comprar Propecia

  • Comment Link Stevambums Monday, 20 January 2020 00:26 posted by Stevambums

    Viagra Ebay Levitra Generika 20mg Rezeptfrei Free Shipping Cod Levaquin Gatigol Over Night Buy Cialis Cialis Efectos Secundarios Mujeres

  • Comment Link Stevambums Sunday, 19 January 2020 23:23 posted by Stevambums

    Buying Macrobid 100mg Free Shipping In Internet Doxycycline Order No Perscription Wellbutrin Buy Cialis Viagra Para Mujeres Xenical Prix Discount Au Priligy

  • Comment Link MatWeetle Sunday, 19 January 2020 18:56 posted by MatWeetle

    Farmacie On Line Italia Albuterol By Mail Buy Cialis Direct Levaquin No Prescription Needed In Internet Visa Opiates And Keflex Le Viagra Fatigue

  • Comment Link MatWeetle Sunday, 19 January 2020 17:09 posted by MatWeetle

    Comprar Cytotec Online cheap cialis Cialis Canadian Pharmacy How Often Amoxicillin Should I Take

  • Comment Link Stevambums Sunday, 19 January 2020 15:19 posted by Stevambums

    Cialis Montreal Kijiji Bluepharma Kamagra Was Bedeutet Levitra [url=http://cialibuy.com]Buy Cialis[/url] Precio Cialis Espana Where Is Priligy Sold

  • Comment Link Stevambums Sunday, 19 January 2020 09:27 posted by Stevambums

    Como Tomar Cialis Cialis Precio En Farmacias De Espana Buy Viagra Caverta Buy Cialis Cephalexin Yeast

Leave a comment

Back to Top