« The Zombie Survival Guide | Main | Pumpkins in 3D »

October 19, 2003

Photocell Input

Here's a circuit diagram, Max patch, and Basic Stamp code for a little project we did in class a few weeks back in which we monitored a photocell and sent the reading to MaxMSP.

Included in the Max patch is an embedded patcher that reformats the incoming signed bytes (-128 to 127) to unsigned bytes (0-255).

Plus the patch demonstrates how to convert the photocell reading into sound.

It also reheats coffee and does the dishes.

photocell circuit diagram

Basic Stamp listing

Max patch (download)

Posted by Perry at October 19, 2003 11:31 PM

Comments

Thank you for posting this.

We are working on a stamp to MAX project here (at the Paved new media centre in Saskatoon, Canada) and this photocell input STAMP/MAX patcher gaves us clues help as to how to get the two programs to talk to each other.

Posted by: Jen at February 15, 2004 05:41 PM

Post a comment

Thanks for signing in, . Now you can comment. (sign out)

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)


Remember me?