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

OBDF310 Milestone Project 1: Stacked Slices

         My current sliced model for this weeks blogpost. I wanted to test modelling an object in Rhino first and using the mesh as the starting point for the contour slices in grass hopper. I ended up experimenting on different extrusion depths and the vector direction for the slices.  Modularity of grasshopper allows for rapid iteration and gives me a couple of choices to pick from. I decided on the vector slices along the y-axis which gave me a very simplified version of the bird but still recognizable.  Rough model doesn't need to be detailed because the contour slices simplifies everything else.

REPLICATED/REMEDIATED: MOLD POSITIVES & MATCH PLATE

                   Last Supper 2023                  Medium: Optimistic Students, Instructor, Acrylic, Plaster, Tape                  Site-Specific Performance     We reached the end to this project and were building plaster mould's and finally some traumatic experiences with slip casting and lots of waiting. Good soup <3 We agitate plaster in water to facilitate an exothermic reaction that would lead into it solidifying. Its a great experience like making chowder or adding starch into boiling water except the water is freezing. Finishing this plaster mould.  Before slip casting ensure that the mould plates are fully dry, once that is complete start pouring up to the rim and wait for the clay to precipitate.  On the first try the clay did form around the plaster, mine but did not really dry but the first once is always di...

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