Brandon Roots
  • INTERACTIVE
  • FILM
  • ABOUT
  • CONTACT
September 9, 2020

Lab: Switches and Pushbuttons

broots ITP, Physical Computing

In this lab I reviewed different types of switches and their terminology. In addition to using switches in a few different breadboard circuits I also created a switch of my own!

For my first circuit I created my own switch. Looking at what I had on hand I decided to repurpose some cardboard packaging, copper tape, and a small neodymium magnet to create a switch that would be triggered by an object containing ferromagnetic metals.

  • The materials I planned to use.

To keep things simple I decided to take advantage of the adhesive in the copper tape to hold things together. My thought was that the switch could hang on the underside of the box and that the weight of the magnet would naturally open the switch. Then in the presence of ferromagnetic metals above the magnet would be lifted and close the circuit.

The LEDs I would have liked to wired for only one to come on at a time, perhaps red to indicate that the circuit was on, then green when the switch was triggered. I wasn’t sure how to do this with my parts on hand however and instead wired the red LED to remain on and the green LED in parallel running through the switch. Here is the final setup.

From my test my metal ring did not trigger the switch, and therefore must not be ferromagnetic metal which I know to be true because it is cobalt chrome. The potentiometer did trigger the switch and therefore must contain ferromagnetic metals.

I was expecting for the green LED to be brighter. Reflecting now I suspect there must have been resistance in my DIY switch to cause this.

Next I created a couple of circuits on the breadboard first in parallel then in series.

The parallel switches allowed any one of the switches to power the LED.

The switches wired in series was much easier to wire but required each switch to be closed for the LED to light. Good to know!

Next I wired up a motor. Conveniently I had a 12 volt fan on hand from an old PowerMac G4 tower. My 12 volt power supply was perfect for this.

Next I added an LED to the circuit. I quickly discovered that my pushbutton switch was not dual pole so I would need to get more creative about the circuit construction to supply 12 volts to the motor and 5 volts to the LED. I ultimately achieved this by moving the power regulator in series after the switch just for the LED.

That’s all for now!

Lab: Electronics Lab: Digital Input and Output with an Arduino

Related Posts

Fractal Plant – Foiled by  Registers

Homemade Hardware, ITP, Solar Plant

Fractal Plant – Foiled by Registers

Since receiving the PCBs and successfully soldering the board together I have been trying to rewrite code for the I2C port expander. This has been immensely difficult! The Inkplate Arduino Library makes considerable use of an “Mcp” class, which is written to work with the MCP23017 GPIO expander IC. These chips are quite difficult to […]

“Handling” Playtest Week

Handling, ITP

“Handling” Playtest Week

Last week we attended “Playtest Thursday” on the second floor of 370 Jay St with our games. I came away from the experience with some very specific feedback. Seeing a number of people play the game showed me things I didn’t anticipate. Some folks approached the cabinet and immediately treated it as a touch screen. […]

Fractal Plant – Beta Build

Homemade Hardware, ITP, Solar Plant

Fractal Plant – Beta Build

The boards arrived! Amazingly within an hour of one another. Based on the experience I think that JLCPCB is a better value. With shipping OSHPark was $55.50 for 3 boards. JLCPCB was $26.36 for 10 boards. Aside from a higher cost OSHPark also left sharp bits of tabs around the edges of the boards which […]

Recent Posts

  • Fractal Plant – Foiled by  RegistersFractal Plant – Foiled by Registers
    May 9, 2022
  • “Handling” Playtest Week“Handling” Playtest Week
    May 5, 2022
  • Fractal Plant – Beta BuildFractal Plant – Beta Build
    April 24, 2022
Brandon Roots