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 :
GOAL : control a servomotor’s position using the value returned from an analog sensor.
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 [...]
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:
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 [...]
This week we transitions from static to animated sketches in Processing and learned mousepress/keypress commands. Link to Lab 2.
Preview:
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: