Wednesday, March 4, 2009

Week 6 Serial Communication Part 2 & Midterm Prototype

This week we began working out the kinks of our midterm idea and started building a prototype. Our first idea was was to replace the keyboard in order to release the stress that we put in our wrist when we work on a computer. However after getting some feedback from our classmates we decided that recreating a mouse would be a more "doable" project for us to tackle.

Gordie hacking a mouse and working on the motors.


The prototype for our final "mouse"


The breadboard for the prototype, this one holds all the power for the the "mouse"


Here's a video of all the 6 sensors working perfectly. 4 work as analog and 2 are digital.





This is the on-screen representation of the mouse working.




Now all we need to master is using motors to operate the gear wheels controlling the x- and y-axes on a PC mouse, and using transistors to serve as digital switches to activate the right and left click buttons. Good thing motors and transistors are scheduled to be covered in class this week so we'll just wait to learn from Scott!

The next step this week was to learn some more serial communication. Here I am reading the serial data:


Here we are closing and opening the switches using the Punctuation Method:

Video thumbnail. Click to play
Click To Play

Following the bouncing ball that's controlled by two "pots"


Getting the serial monitor to say "Hi"

After modifying the code, we got the Arduino and Processing to “shake hands”, and play with a ball:


Video thumbnail. Click to play
Click To Play

I was also happy to learn what the term "Call & Response" means because they are one of my favorite bands.

No comments:

Post a Comment