Assignment 6: Working w/ Serial

I made a circuit containing two potentiometers and an LED that connected to a interactive user interface that lives on the web. Both potentiometer’s act as inputs and are used to change how the website looks. One of the potentiometers changes the size of the circles on the screen. The other potentiometer changes the greyscale value of the circles. The LED acts as an output because the LED increases brightness when the user clicks on one of the circles. The user can visually see how bright the LED is based on the background color of the website. When the LED is off, the background is black and then the background gets lighter until it is white. The user may have to adjust the color of the circles as the background changes, so they remain visible, using one of the potentiometers.

Working w/ Serial from kshioshita on Vimeo.

Sketch.js

Server.js

index.html

Arduino code

Advertisements

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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s