Skip to main content

Interactive LED Circuit

 This week I applied some of the in-class coding lessons to an interactive LED Circuit. My main idea was to create a system where half the LEDs go off and once interaction happens the other half would go off. In the simple example, I created this week, the 1st, 3rd, and 5th light go off together in a row, then the 2nd and 4th go off together once the potentiometer changes reading.

I found success in creating what I wanted to for this week, though I certainly see the potential for similar code to be used on a larger and more complex scale. For more on that see the end of the post. The challenges I encountered were mainly associated with knowing how to order the code for it to work properly. I knew all the pieces necessary for this idea to function, but I wasn't sure what had to happen first. Once I was able to figure that out, the code worked well. The only problem that remains is the last LED in each light sequence doesn't fade in and out, it just flashes on. I still don't know why this is only happening to one of the lights. The other problem I had was more of an issue with the hardware, I wanted to make this with 6 lights, but it seems like there is a small piece of metal jammed into 'pin 8' of my Aurdino. I hope to figure out how to remove it or get a new one for next week.

Here is the code for the circuit:


Here is a top view of the circuit:


Here is a front view of the circuit:


Here is the video of the circuit working:


This circuit could be used for any art piece that has two different focuses, or pieces in the same work that need to be highlighted separately. Taking inspiration from neon signs that create the illusion of motion with different lights flashing on and off, my idea is that an LED sign would read the word “Why?” but instead of switching on its own, the sign would only switch to the second version of itself when interacted with. Though the current circuit is working with a potentiometer, this idea would be more effective with something that picks up the sound of someone asking “Why?” out loud. This is because once the sign is ‘activated’ by the viewer the question mark would disappear and a second line would appear so the sign now reads “Why not?”

The sign would need to be placed in a fairly dark room to keep the second part hidden, or it could be hidden behind paper. The words would be written on a dark background and they could be framed in a weirdly ornate frame, for some juxtaposition to the simplified sans-serif type. The word “why” would be static, the first question mark would fade in and out, and once interacted with the word “not.” The second question mark would fade in and out as well. I would want the “not” part to flash on and off for a few seconds and then revert back to the first version, so the timing of this would also need to be adjusted in the code.

Here is a quick sketch of my application idea:





Comments

Popular posts from this blog

Interactive Object: Progress 1

 This week I worked on the code for this project and created the graphics for the top of the object. I am also planning the object's design, as I have decided to 3D print it. I think I have settled on the size and style of the object, which is a simple circular container with a lid. What I am still stuck on for the object is how to incorporate a button. I kind of want to have an oversized spring-loaded button, but I'm not sure how to incorporate that into the object. It could either be in the centre of the object, or it could be below the neopixels on the lid. Sketches for box size and style: Here is the graphic I created for the words on the object: The code for the light circling the object is working. I now need to figure out to get it working with a button. Based on what I have been reading it might be best for the button to change the 'state' of the neopixel, but I don't totally understand how to incorporate that with my current code. The reason I need the stat...

Interactive Object Proposal

I want to create an object that is able to generate 6-word stories with the help of user interaction. It is based on a combination of a few ideas. Those machines in arcades with the circling lights that you need to press at the right time to get a lot of tickets. Combining this with ‘story’ creation is my way to make fun of AI-generated text, which I am not a fan of. The idea of the 6-word story comes from two things: Wired magazine, where people are prompted to create a new 6-word story each month, and an AU Arts class called Words at Work. We had a warm-up activity called Proverb where we stood in a circle and each said a word until someone declared that it was a proverb, then we wrote down the sentence and started again. Here is the arcade game I was talking about: The object will be a circular or square box with a 'spin-the-wheel' set up with words in a circle. The words will be chosen from the inner-most circle to the outer-most circle. Each layer of words will be part of ...