SHRINK YOUR ARDUINO PROJECTS

COVER

Hello world in this post i will be showing how to shrink your arduino projects. Whenever I make a project using arduino it will probably contains lots of jumper connections on breadboard and the project will not be a permanent one, If you want to make any other project using arduino then you need to remove all the connections made on it and if you want to rebuild the same project then you need to start from level 0 ūüė¶ Shrinking your project will make your project small in size,beautiful and permanent one ūüôā

THINGS YOU NEED

  1. Atmega8 or 16
  2. Arduino uno Or compatible one
  3. 16Mhz crystal
  4. Resistor 10K , 100K
  5. 22pf capacitor
  6. 10uf capacitor
  7. Jumper and connectors
  8. Breadboard

STEP BY STEP INSTRUCTION

To use your Arduino board to burn a bootloader onto an AVR, you need to follow a few simple steps.

  1. Open the Arduino IDE
  2. Open the ISP  sketch (from Examples) and upload the sketch to your board by selecting the  correct Board and Serial port
    ARDUINO isp
    ISP done uplaoding
  3. After successful uploading of the sketch(ISP), Wire your Arduino board to the target board(atmega8/16) as shown in the diagram below. (Note for the Arduino Uno: you’ll need to add a 10 uF capacitor between reset and ground.After uploading the ISP sketch)
    atmgea ISP_bb
    Breadboard
    ARDUINO PIN
                                   ATMEGA8/16PIN
    SS     (Pin 10)                                   RESET (Pin 1)
    MISO (Pin 11)                                MISO (Pin 17)
    MOSI (Pin 12)                                MOSI (Pin 18)
    SCK   (Pin 13)                                  SCK (Pin 1)
    VCC   (Pin 7)                                 AVCC (Pin 20)
    Gnd   (Pin 8)                                    Gnd (Pin 22)
  4. Select the  Tools > Board menu that corresponds to the board on which you want to burn the bootloader , I am using atmega8 as target microcontroller so i will choose board as Arduino NG or older w/ Atmega8
    board selecting
  5. Select arduino as ISP from Programmer menu
    ardunio as ISP
  6. Check everything is connected properly and click Burn Bootloader > Arduino as ISP command.
  7. After a while you will see a message “Done burning bootloader” ,After that you can upload your codes using the Arduino IDE to your atmega8 chip
    burn bootloader
    ISP burning bootloader

    done burning bootloader
  8. Try uploading basics LED blink sketch to atmega8 via arduino and if the LED blinks then your board works properly as in the gif image below
    NOTE: While¬†uploading the sketch via ISP ,don’t just simply upload the sketch select upload using programmer(Ctrl+shift+U)
    using programmer
    blink selection
  9. Unplug the arduino programmer and plug your standalone arduino(atmega8 chip) to a external power supply(5v)
    newgif
    This is a breadboard version of the programmer so whenever you want programme your chip you need to make all the connections on the breadboard again and again ūüė¶ . So I will make a permanent one PCB of the programmer :)This is some of my arduino works which i had shrinked ūüėÄ
    pov (1)pov (2)
                                BEFORE                                                                        AFTER
    LIKE MY FACEBOOK PAGE FOR MORE UPDATES

 

Advertisements

5 Comments Add yours

  1. Abraham says:

    Can i program atmega 16 instead of atmega8 ??

    Like

    1. Mayoogh says:

      Yes! you can program Atmega16
      Just Choose the correct Board while Uploading

      Like

    2. Mayoogh says:

      Yes, just choose the correct board while selecting the board

      Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s