First go to www.arduino.cc and download the latest version of the IDE and the USB drivers (only if you have a USB board) and maybe it's useful to read this.
Okay, now connect an LED to the board (LED: longer wire in pin 13 and shorter wire in GND). normally you always have to use a resistor if you want to connect LEDs to the board ... but pin 13 has one already (it's kind of "debug pin" with the use of a led)
Upload this code to the board (press the reset button on the board and the upload button in arduino IDE "Upload to I/O Board"). after 5 seconds the led should start to blink, which means our program is running :)
/* say hello "world" to vvvv and blinking LED * ------------ * * sends an string via serial port to vvvv * the classic hello word example * plus lets a led on digital pin 13 blinkin * * 17-01-2006 * copyleft 2006 benedikt gross * * Updated 20-8-09 by West */ int ledPin = 13; // LED connected to digital pin 13 void setup() { pinMode(ledPin, OUTPUT); // sets the digital pin as output Serial.begin(9600); // initializes serial port } void loop() { Serial.print ("hello VVVV"); // sends a string via the serial port //linebreak Serial.write(10); // sends '\n' = ASCII 10 Serial.write(13); // sends '\r' = ASCII 13 digitalWrite(ledPin, HIGH); // sets the LED on delay(100); // waits for a second digitalWrite(ledPin, LOW); // sets the LED off delay(100); // waits for a second }
Since arduino uses serial commands to upload the code, and talk to the computer, only ONE program at the time is allowed to talk (and/or listen) to the arduino. So if you see the blinking LED, it means the code is uploaded. Now close the arduino IDE software BEFORE you start the vvvv-patch. If the LED doesn't blink, try again (including resetting), check for errors in the compiler, or reverse the LED.
Connect the rs232 node to the correct com port. Now you should get the string "hello VVVV".
SUPER! We see that everything is working and can go further to part 2.

anonymous user login
~2h ago
~3h ago
~9h ago
~20h ago
~23h ago
~2d ago
~2d ago
~2d ago
~2d ago