I have an arduino unu (pre-made) with the atmega328 and an atmega168. I am wanting to make a second arduino out of the 168. I don't have a USB programmer. The chip came out of some servo contorller board so I am guessing the arduino bootloader is not already installed. Is it possible to program with my uno, and if so how? Connection to the arduino instead of the computer when sending sketches is fine as long as I can disconnect it from the uno for use.
Electronic – arduino – Can the atmega168 bootloader be installed with arduino uno
arduino
Related Topic
- Programming a Baby Orangutan using Arduino Uno
- Electronic – ArduinoISP fails with Atmega368, 168 – Device signature = 0x000000
- Electronic – arduino – Unable to upload Arduino sketch to Arduino Uno using AVR ISP MKII and Ubuntu 12.04
- Electronic – arduino – just had an Arduino UNO bootloader replacement. Computer still won’t recognize it
- V-usb with default arduino bootloader on ATMega328
- Electronic – arduino – Problem with Arduino UNO and RC servo
- Electronic – Arduino as ISP: IC swapping
- Arduino as ISP programming the Arduino, not the connected ATmega328P
Best Answer
You can use an Arduino as a programmer for other chips. The sketch is called "ArduinoISP".
See these pages: http://arduino.cc/en/Tutorial/ArduinoISP, and http://arduino.cc/en/Tutorial/ArduinoToBreadboard
Basically, you power the target processor and connect to its in circuit programming programming pins.
For a AtMega168 select the board type of "Arduino Diecimila or Duemilanove w/ ATmega168" as the target.
Here is one important tip. You have to disable the auto-reset of the programmer that occurs when the serial port is opened. Do this right before you select "Burn BootLoader" in the IDE. I have seen putting a specific pullup value on it as well as a big cap on the reset line. I had a breadboard Arduino so I just disconnected the reset line.