Teaching and Learning Resources for IB Computer Science

Getting Arduino up and running on the 1057 computers

Plug in your Arduino to the machine and make sure the training shield is on properly. Don’t bend the pins.

Open up the Aceduino folder (link on the desktop) and run Arduino.

Pull down the Tools menu and choose Board, ACEduino w/ ATMega328.

You may need to change the COM port through the Tools, Serial Port menu item.

Paste the following into the window and click the upload button…

// Pin 13 has an LED connected on most Arduino boards:
int pin = 13;
void setup() {
// initialize the digital pin as an output.
pinMode(pin, OUTPUT);
}
void loop() {
digitalWrite(pin, HIGH); // set the LED on
delay(1000); // wait for a second
digitalWrite(pin, LOW); // set the LED off
delay(1000); // wait for a second
}