I try to search all forum but no any working instruction for use SVP-1284p with Arduino 1.01.
Please help.
Thank you,
Sarawuth
I try to search all forum but no any working instruction for use SVP-1284p with Arduino 1.01.
Please help.
Thank you,
Sarawuth
Hello, Sarawuth.
The Orangutan SVP-1284P is not compatible with the Arduino IDE. Please see our AVR Programming Quick Start Guide:
pololu.com/docs/0J51
–David
Dear David,
I just found this.
github.com/maniacbug/mighty-1284p
I download his platform and put it in \arduino-1.0.1\hardware\mighty-1284p
Then I edited clock from 16MHz to 20MHz boards.txt in \arduino-1.0.1\hardware\mighty-1284p\
##############################################################
mighty.name=Original Mighty 1284p 20MHz
mighty.upload.protocol=arduino
mighty.upload.maximum_size=129024
mighty.upload.speed=57600
mighty.bootloader.low_fuses=0xff
mighty.bootloader.high_fuses=0xdc
mighty.bootloader.extended_fuses=0xfd
mighty.bootloader.path=standard
mighty.bootloader.file=ATmegaBOOT_1284P.hex
mighty.bootloader.unlock_bits=0x3F
mighty.bootloader.lock_bits=0x0F
mighty.build.mcu=atmega1284p
mighty.build.f_cpu=20000000L
#mighty.build.core=arduino:arduino
mighty.build.core=standard
mighty.build.variant=standard
And i’m using “Programmer” setup from Arbotix source code. They use your usb programmer as “AVR ISP MKII (Serial)” for program their board by “File->Upload Using Programmer” menu.
And the tested code i’m using from your 3pi arduino example. But change port 1 to 9.
/*
* Blink
*
* The basic Arduino example, modified to work for Orangutans.
* Turns on an LED for one second, then off for one second,
* and so on... We use pin 1 because Orangutans have an LED
* on PD1, which corresponds to Arduino pin 1.
*
* http://www.arduino.cc/en/Tutorial/Blink
*/
int ledPin = 9; // LED connected to digital pin 1 (PD1) on Orangutans
void setup() // run once, when the sketch starts
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop() // run over and over again
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
delay(1000); // waits for a second
}
And I got blink red led on Orangutan SVP-1284p board. I don’t know its correct way or not. Please help to verify.
Best Regards,
Sarawuth
We do not support programming the Orangutan SVP on the Arduino IDE. I have not previously heard of the “Mighty 1284P” and I do not know if it is correct or not. Also, the libraries we provide for the Orangutan SVP have not been tested in that environment and will probably require many non-trivial modifications to work.
–David