Physical Computing | Week 1 (2024-09-03)

Electrical Circuits & Switches

lab activity: setup arduino on breadboard & other components

Starting off nice and easy by powering an LED on a breadboard with the arduino.

breadboard with arduino powering a blue LED
Once the LED was set, I introduced a switch to the breadboard and then duplicated the configurations to control the LED with the switch and resistor.
breadboard with arduino powering a blue LED with a switch and resistor breadboard with arduino powering a blue LED with a switch and resistor
Question: If two LEDs and a switch are wired in series, is the second resistor necessary?
two LEDs in series with a switch on a breadboard powered by an arduino
Observation:After playing with different colored LEDs and discussions with residents at pcomp lab, we discovered that different colored LEDs have different levels of resistance - red < yellow < green < blue.
I think this might be due to two reasons: The physicality of lightwaves, and the make up of the human eye. Physically, red colored light has longer wavelengths and require less energy to to be emitted, therefore the red LEDs have less resistance? Perceptually, the human eye has different sensitivities to different colors of light, so perhaps we see red light more easily than blue light?
Red LED powered by a 9V battery on a breadboard, controlled by a potentiometer
Another exercise I enjoyed doing was setting up the potentiometer. While it is not very visible in the video - The potentiometer works as a dimmer switch for the LED, controlling the brightness by rotating the knob.

creative output: switch exercise, part 1

This week's assignment is to build a simple mechanical switch with things that can be found around the shop. I approached this assignment by breaking down the circuit and scaling it up as we go.

  1. Starting with the single blue LED circuit, I swapped out the switch for two jumper wires to serve as my custom switch connection points.
  2. breadboard with arduino powering a blue LED with two jumper wires used as a switch
  3. Testing by connecting the headers to make sure the circuit still worked.
  4. To make it a little more interesting, I added "finger sleeves" to the jumper wires to change the interaction behavior. Here is the worlds quietest clap lighting up an LED.
    Observation: The connection is a little inconsistent as it requires a substantial amount of pressure to close the circuit.
  5. breadboard with arduino powering a blue LED with a jumper wires connected to finger sleeves as a switch

creative output: switch exercise, part 2

I wasnt completely satisfied with this initial switch, so I created a different one. Inspired by the table top game "Operations", but in reverse. Follow the conductive path to keep the light on.

  1. I started off with the same wiring schematic as the "Quietest Clap", and connected one wire for the switch to a labyrinth pattern I found on the Junk Shelf. I covered the pattern with copper tape to create the tracable conductive path.
  2. The other wire was then threaded through a Bic pen for a more realistic tracing experience. I stripped about 1/2 inch of insulation from the wire exposed end at the tip of the pen, and balled it up making sure it would be larger than the opening to prevent the wire from slipping back into the pen barrel. The larger ball shape also increases the contact surface area when tracing the pattern.
  3. A breadboard with a red LED connected to a wire and the ground connected to a conductive labyrinth pattern. The wire to the LED is used to trace the labyrinth pattern and turn on the LED.
  4. After testing and ensuring the circuit worked, I secured the components into a box, also found on the Junk Shelf. The LED was threaded through a hole in the lid and the labyrinth pattern rested atop the box, leaving a cutout for the LED to shine through.
  5. The breadboard rested in the box, and a cutout was made on the side of the box so that the wire connecting to the arduino could be fed into the box. Unfortunately, this box was too small for the full size breadboard so the cutout was extra wide as the breadboard needed to stick out of the box.
  6. A box with a labyrinth pattern on top and a red LED shining through, which can be turned on when a pen traces the labyrinth pattern.

Observation 1: When tracing the labyrinth pattern, towards the end of the path - further from the LED connection point - the LED would flicker and dim. Note: In class, Yeseul mentioned that this circuit is essentially what a potentiometer does, so unintentionally, I have made a dimmer.
Observation 2: The more I trace, the harder I have to press down to keep the circuit closed. At certain points, the LED would turn off completely. Note: I believe this is due to the fact that the copper tape can become oxidized over time, which affects its conductivity.