Posts from ‘October, 2011’

Lab 5 : Serial Out using an Arduino

Goal : Send data from a single sensor to a program on a personal computer.
Serial monitor results using Serial.write() in Arduino :

ASCII representation of the byte using CoolTerm :

Hexadecimal representation using CoolTerm :

Graph of sensor values in processing :

Lab 4 : Servo Motor Control with an Arduino

GOAL : control a servomotor’s position using the value returned from an analog sensor.

Stupid Pet Trick : Make It Rain Machine

What I ended up doing for my Stupid Pet Trick was completely different from my initial idea.
From the 2 ideas that I had I started on the camera idea and actually got it up and running. How it worked ; a motion sensor triggered a camera to take a photo. I was pretty happy that [...]

ICM : Lab 4

This week we were introduced to Objects and Functions. This helps us move away from repetitive & tedious coding, simplifying the programming of your sketch. We were assigned to take a previous assignment and reorganize the code using functions and objects. Click here from Lab 4.
Preview:

ICM : Lab 3

This week things got a bit more interesting, after learning the basics of sketching and animating, we have now transitioned into creating interactive pieces using Processing. I decided to take my sketch from Lab 1 and strip down the turtle giving the use the ability to dress it by clicking on the buttons below. Each button represents [...]

ICM : Lab 2

This week we transitions from static to animated sketches in Processing and learned mousepress/keypress commands. Link to Lab 2.
Preview:

ICM : Lab 1

For our first ICM assignment we were asked to create a screen drawing using processing. I decided to keep it simple since I had little-to-no experience with programing in Processing. You can view Lab 1 here.
Preview: