Sensing Part 1: Potentiometers

jennifer_wang's picture

HW 3: 3-pot LED control and rainbow maker

Description:

I created the 3-pot LED control circuit and used the given code in the lab for controlling the brightness of each LED with each pot.

As an optional part, I created what I call a "Rainbow Maker" by using one pot to control the 3 LEDs so that it fades from red to green to blue to red.

Components used:

  • red LED
  • green LED
  • blue LED
  • 3 potentiometers
  • 3 220 ohm resistors

Code:

3 pot LED control circuit
0
Your rating: None

Week 3 Lab

One pot controls brightness, another pot controls blinking

 

Description: Use one pot to control a LED's brightness and the other to control its blinking speed.

Components Used: LED, Resistors, Potentiometers

Photo: Attached

Source Code

Extra Point
0
Your rating: None
timothykc's picture

Lab 3: Two potentiometers, blink + brightness

Previous setup from lab 2, + two potentiometers. 

photo.JPG
0
Your rating: None
dheinzerling's picture

3 Pots Color Diffuser

 

hw3photo.JPG
0
Your rating: None
fanwaipio's picture

Lab03 - Potentiometers

Option1

 

Lab03HomeWork
0
Your rating: None

Lab3 analog input: potentiometer controlled LEDs

Description:

Three potentiometers are wired in to 3 analog inputs on the arduino board. each pot controls the brightness of an LED. 

Materials

3 potentiometers

3 220 kohm resistors

plastic cup diffuser

1 green, blue, red LED

Code (used the example code for 3 pots, 3LEDs)

 

LEDs controlled with pots
0
Your rating: None
justinwang's picture

Lab 3: Potentiometers

 

photo.JPG
0
Your rating: None
albert_tjoeng's picture

Lab 3

 

photo.JPG
0
Your rating: None

Lab3, Potentiometer

0
Your rating: None
ian's picture

Psychedelic Mushroom (wk3)

Description

Create an interesting control of RGB LEDs via 3 potentiometers. After controlling each LED separately from each pot, I decided it would be interesting to try to control Hue, Saturation, and Brightness, then convert to RGB for LED output. I used this code to convert from HSB to RGB. I found the saturation control to be somewhat ineffective, since for better color display, usually amber and white LEDs are used, and this setup only has RGB.

setup
0
Your rating: None
Syndicate content