Under pressure

Named after that song from Queen, now I have to program the arduino to recognize an analog input. Meaning, it’s not just as simply flipping a switch. This requires and entirely different mindset.

pcomp

Using a knobthingy commonly known as a “potentiometer”, it allows the light to switch on once you turn it past a certain point. Notice that the potentiometer does not use a resistor and is an exception to the rule.

Now I wanted to control the intensity of the LED using a light sensor. So I ended up with this. It still needs a bit of tweaking on the range the sensor recognizes but it more or less captures the desired result.

I’m still working on two LEDs and two pressure sensors.

pcomp

Advertisements
  1. No trackbacks 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 )

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

%d bloggers like this: