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

OBDF 310 Milestone: Stacked Slices Laser cut Final

  This week in my Object design class, we were able to finalize out designs for laser cutting slices. My penguin model has gone through a couple of design adjustments mostly to have a cleaner and readable structure. simplifying the model makes it easier to distinguish, spherical curves on the original brep reference doesn't seem to provide appealing slices so I decided to go with a more geometric form. Once processed through grass hopper I didn't have a need to include wings because the tapered form still translates to something that appears like a wing.   On the left are the initial slices, the right is the cleaner side decided to mirror to create a more readable model. Above is the layout for laser cutting, I ended up layering the cut-outs manually because the grid method shown in last weeks class was quite troublesome. I just couldn't figure out how to pull of the grid placement on vector direction and didn't want to spend too much time confusing myself. (The penguin...

3D-Printed Chess Set : Degenerative Systems

Our last milestone project for the Object Design this semester was to create a type of chess set. Students where allowed to have total agency over how the design/models would appear.  We can see below is my take on the designs, I wanted to take it into a direction that talks about our Degenerative Economy under capitalism.  According to Marjorie Kelly, "a Generative Economy is one that creates the conditions for life to flourish, an economy with a predisposition to be socially just and environmentally sustainable. I n its current state all facets of modern society is exploitive and cannot be sustained because it requires natural resources with exponential needs based on growth hence the term Degenerative.     Starting from the left is my Pawn (Exploited Labor), Knight (Compulsive Consumerism ex: Fast Fashion), King ( Energy Industry/ Major Polluter), Queen (Land Management/ Real Estate), Rook (Habitual Consumerism ex: Starbucks Coffee), and Bishop (Media/Tech)....

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...