Skip to content

Connecting arduino with an external programmer

In this quick tutorial we will see how to program our arduino board with the help of an external programmer and not by using the arduino bootloader.
Before proceeding with this tutorial take a look at the "burn arduino with usb tiny" tutorial.
The first thing you have to understand is that by uploading a program with an external programmer you are going to lose your already burned bootloader on your ATMEGA chip.
So before proceeding make sure you can bootload your chips using your external programmer.

...continue reading "Programming arduino with an external programmer"

The beauty of micro controllers is that some operations can be achieved in more than a single way.

When you buy them you generally get them free of any software or - better - firmware, totally virgin and ready only to be inserted onto your board.
Sometimes they are bootloaded, that's necessary to communicate with some other specific hardware: ATMega is a good example.
Thanks to Arduino board's popularity is easy to find ATMega microcontrollers directly set to work with it. ...continue reading "Burn Arduino bootloader into ATMega (USBtinyISP)"


In this article we will present one possible method to put a bootloader into a virgin Arduino's ATMega 328P.
We'll utilize :

  • Arduino 2009 board with power supply (via USB from PC or external);
  • A virgin ATMega 328P micro controller;
  • 4 wires.
Wire close up 1
Wire close up 2
Wire close up 3

...continue reading "Burn Arduino bootloader into ATMega328 (BitBang)"

test-without-bootloaderYou have an Arduino board and you bought a new ATMega328 microcontroller for new projects; after mounted it onto the board you discovered it doesn't work.
Why this?

In picture beside we can see something interesting: "avrdude" and specially "not in sync"; simply it's impossible to communicate or send datas to ATMega: it's not ready!

"Ready? what does it mean"!?
Think you have a baby: he's not ready to take care of himself, but you are, both for him and for you!

Same with microcontroller: control it by external hardware (adult to baby), or give it (baby) the way to become independent.

We're covering this second aspect, that needs a little piece of code.