Loren Benally – Hand Craft Sensor

The hand crafted analog sensor was a mix between a sliding potentiometer and a pressure sensor. The picture below shows how the circuit was generally setup. The velostat would slide along the blue electrical tape and would change the brightness of both LEDs depending upon both pressure and position of the slider. The intention of this circuit was meant to be embedded within a paper circuit. Here is the configuration below:

hasensor_pict

Here is the video link for viewing the animation of the lights: Loren’s Analog Sensor

Below is an electrical circuit representation in Fritzing:

hasensor_schematic_bb

The code below is straight forward with setting up pin values, declarations, as well preparing to take in analog value. The code the maps the analog values to the representative rgb values in the range of (0-255). The animation for the LEDs was intended to begin to turn on, while the other LED was beginning to turn off. The short delay provides a less dramatic change in brightness.

hasensor_code

 

 

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