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

P01: The Bespoke Object, Proposal.

Plan A. B rief description of your concept Plainly, to create a Pink Inflatable Crocodile. This object would become part of a multimedia installation, that is about deep-ecology mediated through satirical narratives.  In this installation the crocodile would be humorously narrating its life through karaoke. It is intended to be a multi course-project, I would specifically be making the soft sculpture for this object design class(OBDF.311A), and associated media required for the full installation would be made in other Major specific studio course. (MADT.451A)    This project is meant to be part of an on-going thematic body of work that investigates regeneration and deep ecology philosophies.   Mockups: Interpretation of the theme "Bespoke" My interpretation of the theme relies mostly on the fact that the object is fully customized. And its main purpose is to accompany a full installation. Just like custom-made clothes being "bespoke" to the person wearing them. ...

PO1: The Bespoke Object, Refining.

Week 2:  I pretty much spent the entire week modifying the model. Mostly to make it usable for patterning, and maybe to also have it ready for animation, but I might take a different route on that. It was possible to just use the draft model, but working from experience anything that is curved on an inflatable would have a tendency to straighten. Because air volume inside the soft structure would have a tendency to push on all directions. To mitigate this, I instead opted for a flatter structure that resembles a crocodile more than a salamander. I do appreciate the whimsy of the initial draft.   Tools Used: Nomad Sculpt, Blender, Rhino, Cozy Blanket. When designing models I tend to jump between software, Its easier to design soft and organic structures using mesh based modelling or sculpting. And I happen to have a variety of choices to choose from, each with a with a specific strength but none can do it best.  Below is my workflow on Nomad Sculpt which is an I...

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