Skip to main content

Interactive Circuit: LED Panner

 MADT 304 week 2:


In this week we where tasked with wiring up an interactive circuit that can control multiple LEDs. 

Class discussion also introduced the use of "if" statements which allow the use of Boolean logical  operators(>/</>=/<=/==/&&) in order to filter data flow or command events.



Using a Potentiometer and mapping out thresholds with if statements we can pan LEDs. 






Code :
                                            



I noticed something unusual if the " digitalWrite(pin#,LOW); " are all setup on an "else" statement. We can still pan the LED lights but somehow full power is only enabled on the last light in the circuit. 

must be a syntax issue but it sounds Logical to shutdown all lights when parameters aren't met. (see video below and code).



 


                                          


I can see this type of circuit to be utilized for controlling many things, Connecting an analog variable switch(potentiometer) allows the user to physically interact with the electric circuit. Controlling not just the LED lights but anything wired into the Arduino. 




Comments

Popular posts from this blog

PO1 : Final Installation

  Black River Media Installation Audio & Video Sculpture Black River is a media installation exploring displacement and the longing for a deep connection towards a kind of homeland. At its center is an Inflatable Crocodile—a puppet trapped in an unending karaoke performance, forever singing a song about its life. Though it has no voice, its presence suggests an eternal loop of longing, echoing unheard stories of loss. The work humanizes this fictional creature, evoking empathy and prompting reflection on our own connections to land. It investigates shifting ecological baselines—the way in which each living generation perceives nature’s decline as their “normal.” As ecosystems collapse, what we consider natural keeps shifting, obscuring what we’ve lost. Within this narrative , the crocodile longs for its polluted homeland and to be with other mutated crocodiles. Dwelling in a post-climate apocalypse where remnants of human industries remain and pollution becoming our final lega...

Milestone Projects

 First Definition                         Creating solid shapes from curves using loft Animation Attempting to animate 3d models within a specific track/path/curve Stacked Slices Creating a Sliced model of a penguin and experimenting with reductions in overall form Boundary Surfaces Patch Replicate/ Remediate Preparing a Model for 3d Printing and using it as a Master for Slip Casting and of course making the clay object through repetition.   Surface Morph Patch

PO1: Draping and Construction

Draping is the technique of using fabric directly to conform to solid forms, employing pins or adhesives to create a 3D pattern. Originally, for the pattern construction I wanted to do all the processes within Rhino, but because of time constraints I needed to instead use draping to create my cutting guides. I initially 3d printed a small scale version of my model, and I wrapped it in masking tape to get a kind of reference of its surface. Once I have it fully wrapped, I traced sections of where I want my seamlines to be and used its outline as a guide for cutting my fabric. This process has been developed by dressmakers and often used by cosplay artists to make their costumes.  After a tedious time cutting the fabric, I begin to start sewing all my cut panels together. Manually cutting the fabric alone, took me an entire day and a few bruised knuckles mostly from fatigue. Sewing all the panels together took 2 workdays including reinforcing each limb. once fully stitched, I then us...