Homemade Switch – Kyle Vice

The counting cat door keeps a running total of the number of uses. The LED blinks the total each time the door is used. A second switch resets the counting to 0. In addition, I wrote a Processing sketch to read serial input and output a timestamp on each use of the door. Code for both is linked below.

Arduino Sketch: catDoorCounter

Processing Sketch: catDoor_timestamp


No comments yet

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: