Saturday, 17 August 2013 16:51

Minimal Arduino with 8MHz internal clock

Build your own DIY Arduino board with only one passive component, it is very easy and simple. This is probably the most minimal ATmega328 based Arduino.
 
Part list
  • ATmega328
  • 28 pins IC socket
  • 10K resistor
  • Strip board 
 
 
Shematic diagram and PCB
Minimal Arduino is similar to my previous DIY Arduino board, schematic and PCB as shown in Fig 1.
Fig 1. Minimal Arduino schematic diagram and PCB
 
 
Burning the bootloader
You must burn the bootloader onto the ATmega328.You can do this using an Arduino board as an in-system program (ISP).
  • Upload the ArduinoISP sketch onto your Arduino board
  • Download this hardware configuration archive: Breadboard.zip
  • Create a "hardware\breadboard" sub-folder in your Arduino sketchbook folder if you don't have the "hardware\breadboard" folder
  • Extract the Breadboard.zip archive to "hardware\breadboard" sub-folder as shown in figure below
    Fig 2. Breadboard hardware configuration archive
  • Restart the Arduino software. You should see "ATmega328 on a breadboard (8 MHz internal clock)" in the Tools > Board menu
    Fig 3. Select  board
 
 
Wire up the connection as shown in figure below
Fig 4. Using an Arduino board to burn the bootloader onto an ATmega microcontroller
 
 
Select Tools > Programmer > Arduino as ISP
Fig 5. Select programmer
 
 
Select Tools > Burn Bootloader to start burning bootloader
Fig 6. Burn Bootloader
 
 
You may facing problem (Expected signature for ATMEGA328P is 1E 95 OF) as shown in figure below. This problem occured because of using diffrent ATMega328 chip
  • ATMega328-PU chips signature = 1E 95 14
  • ATMega328P-xx chips signature = 1E 95 0F
 Fig 7. Error while burning bootloader
 
 
To resolve the signature issues, replace 0x1E 0x95 0x0F with 0x1E 0x95 0x14 as shown in figure below. It is advise to comment the previous signature and add a new signature to the avrdude.conf file. Restart the Arduino software & start burn the bootloader again
Fig 8. avrdude configuration file
 
 
You may facing another problem due to the ATMega328 program with external clock previously. To resolve this issue, use an crystal & two capacitors as the clock source temporary.
Fig 9. Error while burning bootloader due to missing clock
If all goes smoothly, you are ready to upload sketch
 
 
Upload sketch
Thre are few ways to upload sketch
  1. Using a new USB-to-serial convertor
  2. Using FTDI USB-to-serial convertor from Arduino board, you remove the microcontroller from the Arduino board
  3. Using the Arduino board, remove the old microcontroller and place your new microcontroller to the Arduino board
  4. Using the Arduino as an ISP, the Arduino must preloaded with ArduinoISP sketch as mentioned above
 
Using FTDI USB-to-serial convertor from Arduino board, notice that the microconroller is removed from the Arduino board
 Fig 10. Using an Arduino board to upload sketches onto an ATmega microcontroller
 
 
Using Arduino as an ISP, this is the same connection to burning bootloader. Make sure you had select "Arduino as ISP" as the programmer as shown in Fig. 5
Fig 11. Using an Arduino as ISP
 
 
  • After making the connections, select  "ATmega328 on a breadboard (8 MHz internal clock)" in the Tools > Board menu as shown in Fig. 3
  • Click on Upload icon to start uploading sketch
 
You may facing wrong microcontroller issue, you can follow the method as shown in Fig. 8 to fix the problem
Wrong microcontroller found 
Read 40311 times Last modified on Sunday, 12 June 2016 10:56

13 comments

  • Comment Link Stevambums Tuesday, 18 February 2020 23:47 posted by Stevambums

    El Viagra Ayuda A Durar Mas http://viacialisns.com/# - Cialis Amoxicillin Trying To Conceive cialis tablets for sale Viagra En Vente Libre En France

  • Comment Link Stevambums Tuesday, 11 February 2020 15:42 posted by Stevambums

    Amoxicillin And Pregnancy Test Results http://buycialisuss.com - Buy Cialis Stendra 100mg Drugs Cialis Healthymen

  • Comment Link Stevambums Saturday, 08 February 2020 15:19 posted by Stevambums

    Il Viagra Funziona Anche Per Le Donne http://buycialisuss.com - cialis from canada Keflex Allergic Hives Cialis Propecia Naturelle

  • Comment Link JamesKak Friday, 31 January 2020 13:58 posted by JamesKak

    Daftar 918Kiss – Uberwin.club Click here...

  • Comment Link MatWeetle Thursday, 23 January 2020 10:36 posted by MatWeetle

    Prix De Cytotec Au Maroc http://cialibuy.com - cialis online Antibiotic Generic Cephalexin Buy Cialis Bentyl Cod Accepted

  • Comment Link MatWeetle Wednesday, 22 January 2020 01:33 posted by MatWeetle

    Kamagra Donne http://cialibuy.com - cialis cheapest online prices Canada Cephalexin For Pets Buy Cialis Amoxicillin In Pregnancy

  • Comment Link Aappencyavafe Tuesday, 21 January 2020 19:59 posted by Aappencyavafe

    file http://cialisle.com/# - generic cialis grade cheapest cialis swing
    bond https://cialsagen.com/# - what does a generic viagra pill look like what is the generic name for viagra buy viagra professor

  • Comment Link Aappencyavafe Monday, 20 January 2020 17:45 posted by Aappencyavafe

    inner http://cialisle.com/# - cialis price intellectual cialis online usa origin
    forward https://cialsagen.com/# - viagra generic online usa pharmacy viagra cheap online canadian pharmacy online viagra generic heritage

  • Comment Link MatWeetle Saturday, 18 January 2020 22:46 posted by MatWeetle

    Cialis 5 Mg Price Walmart generic cialis Effet Viagra Cialis Precio Cialis Cialis

  • Comment Link MatWeetle Friday, 17 January 2020 08:33 posted by MatWeetle

    Nexium Discounts And Coupons Amoxicillin And Neurontin Ineractions Cialis Propecia No Script Kamagra En Ligne Lille Where To Buy Prednisilone

  • Comment Link Aappencyavafe Wednesday, 08 January 2020 21:08 posted by Aappencyavafe

    approval http://cialisoni.com/# - generic cialis online team cialis soft scene

  • Comment Link Aappencyavafe Monday, 06 January 2020 01:45 posted by Aappencyavafe

    election http://cialisle.com/# - cialis online pharmacy otherwise cialis online save

  • Comment Link Stevambums Tuesday, 19 November 2019 06:26 posted by Stevambums

    Amoxicillin And Prenatal Vitamin online pharmacy Lasix Uk Viagra Super Active Buy Hydrochlorothiazide Online

Leave a comment

Back to Top