Society of Robots - Robot Forum

Electronics => Electronics => Topic started by: Hawaii00000 on January 18, 2011, 10:38:44 PM

Title: Programming Axon with an Arduino
Post by: Hawaii00000 on January 18, 2011, 10:38:44 PM
This week I found out the an Arduino can be used as an AVR ISP programmer and decided to try to program my Axon II with it.  http://arduino.cc/en/Tutorial/ArduinoISP (http://arduino.cc/en/Tutorial/ArduinoISP)

The diagrams in the link are for uploading the Arduino bootloader to another Arduino, but after looking at the Arduino forum I found that:

pin10: slave reset
pin 11: MOSI
pin 12: MISO
pin 13: SCK

I also connected the GND on the Arduino to the GND on the ISP header and the 5v on the Arduino to the Vcc on the header.

Did I do everything right? Don't want to fry anything.
Which way do I plug in the header; I marked the GND pin, but I obviously don't have the red wire that's on standard ISP cables.
Title: Re: Programming Axon with an Arduino
Post by: Admin on January 19, 2011, 10:05:23 AM
This week I found out the an Arduino can be used as an AVR ISP programmer and decided to try to program my Axon II with it.  http://arduino.cc/en/Tutorial/ArduinoISP (http://arduino.cc/en/Tutorial/ArduinoISP)

The diagrams in the link are for uploading the Arduino bootloader to another Arduino, but after looking at the Arduino forum I found that:

pin10: slave reset
pin 11: MOSI
pin 12: MISO
pin 13: SCK

I also connected the GND on the Arduino to the GND on the ISP header and the 5v on the Arduino to the Vcc on the header.

Did I do everything right? Don't want to fry anything.
Yeap, that looks right to me.

Quote
Which way do I plug in the header; I marked the GND pin, but I obviously don't have the red wire that's on standard ISP cables.
Which header?

Do you mean this, where the square matches up with the triangle on the Axon?
(http://www.wvshare.com/img/devkit/general/6-pin_ISP_Connector.jpg)
Title: Re: Programming Axon with an Arduino
Post by: Hawaii00000 on January 20, 2011, 05:07:04 PM
Quote
Which header?

Do you mean this, where the square matches up with the triangle on the Axon?
Yeah that's what I was looking for.

I'll post the results once I'm done. Almost ready to upload.