warning: Creating default object from empty value in /courses/i262/public_html/s13/modules/taxonomy/taxonomy.pages.inc on line 33.

Sensing Part 1: Potentiometers

Lab 3: Potentiometers

Submitted by lwang on Tue, 02/19/2013 - 19:53

 

photo (4).JPG
0
Your rating: None

Lab 3: Control LED Sequence with Two Potentiometers

Submitted by m-craig on Tue, 02/19/2013 - 19:23

This lab expands the 3-LED circuit created in the previous lab and attaches two potentiometers to provide analog control of LED output.  The first of these potentiometers (A0) controls the brigthness of the LEDs; the other (A1) controls the rate at which the LEDs blink.

Code has been modified from the original to create a more complex sequence of blinks incorporating all three LEDs.

lab3b.JPG
0
Your rating: None

Lab3 submission - potentiometers controlling LED

Submitted by wendy.xue on Tue, 02/19/2013 - 17:40

I used three potentiometers in the circuit. The first potentiometer controls the brightness of all LEDs. The second one controls how frequently the selected LED blinks. The third potentiometer is used to select which LED blinks. The input of the 3rd potentiometer was read and divided into intervals of 100. For each increment of 100, it makes the next LED blinks. The sequence is red, green, blue. For example when the potentiometer reads between 0-100, the red LED blinks. When the potentiometer reads between 100-200, the green one blinks. For the next 100 increment, the blue one blinks.

0
Your rating: None

Lab3 - Pulse rate for 3 LEDs.

Submitted by thomas.may on Tue, 02/19/2013 - 17:01

I like blinky lights but to be able to control the blink rate of all 3 LEDs independently with the potentiometers the use of the delay function shown in the example sketches results in unsatisfactory results when more than one LED is needed to be controlled or other operations need to take place such as reading an analogSensor.

0
Your rating: None

Lab #3: Blink & Fade with 2 potentiometers

Submitted by christineschantz on Tue, 02/19/2013 - 16:28

Description 

In this assignment I use two analog potentiometers to control my LEDs (R/G/B). One of the potentiometers controls the blinking speed of the LEDs, while the other regulate the fading. The connected potentiometers controls the all three LEDs at the same time. 

 

Components

 

2 x Potentiometers 

photo2.JPG
0
Your rating: None

Lab 3 - 3 Potentiometers 3 LEDs

Submitted by vstarostenko on Tue, 02/19/2013 - 16:19

The page would not allow me to upload video. I do have a clip of the potentiometers controlling the LEDs.

CODE:

WP_20130219_002.jpg
0
Your rating: None

Lab 3 - Potentiometers

Submitted by soren svejstrup on Tue, 02/19/2013 - 16:19

 

Description

 

This program turns on and off a LED. The amount of time the LED will be on and off and the brightness depends on the input of a two potentiometers. 

photo.JPG
0
Your rating: None

Full Color Mixer with 2 Control Knobs

Submitted by mschiff on Mon, 02/18/2013 - 23:39
mschiff's picture

Description

photo_1.JPG
0
Your rating: None

Lab 3 - Potentiometers

Submitted by syh on Mon, 02/18/2013 - 23:27

Description:

This LED diffuser uses two analog potentiometers to control brightness and blink rate. The code is adapted from the sample code for three pots, but modified to receive input from only two (my third potentiometer was acting strangely, causing short circuits and emitting a slightly burnt smell, so I decided it was best to avoid using it). Blinking has a floor to prevent crazy, seizure-inducing blink rates, and also instead of turning off fully, brightness is brought down to half the initial value.

Components:

DSC02464.JPG
0
Your rating: None

Lab submission 3 - 3 Pots for 3 LEDs

Submitted by stlim on Mon, 02/18/2013 - 23:08

 

IMG_1187.JPG
0
Your rating: None
Syndicate content
Drupal theme by Kiwi Themes.