Playing with the Freeduino

I finally got around to doing something I’ve wanted to do a long time. 2 years ago I got a Freeduino 1.20 kit as a present from my friend and colleague Andreas. This Christmas I got a soldering station, so nothing stood in my way to micro-controller heaven was free!

Although I have no previous soldering experience (apart from taking apart my Canon 300D to replace the shutter mechanism), I found some great video tutorials and all went smoothly. I didn’t even need to re-do any soldering!

Here are some pics from the process:

Since I don’t have any components (yet) to build something, I’m just blinking the LEDs. Here’s the first program I wrote. You enter a digit from the computer keyboard and it will blink the LED #13 that many times.


void setup()  {
  pinMode(13, OUTPUT);
  Serial.begin(9600);
}

void loop()  {

  while (Serial.available() > 0)
  {
    int cmd = Serial.read();
    int digit = cmd - '0';
    for (int i = 0; i < digit; i++) {
      digitalWrite(13, HIGH);
      delay(200);
      digitalWrite(13, LOW);
      delay(200);
    }
  }
}

Next up, this cool project! Though I’ll try to do it with IR instead of Laser, cause I’m having trouble finding suitable (as in decently priced) Laser components over here.