Skip to main content

Interactive Object: Progress 2

 This week I spent most of my time figuring out how to get my code to work. I am much closer than I was during reading week but still struggling with some bugs. When the button is pressed I want the light to pause on whichever pixel it is on for a couple seconds then continue. Right now, when pressed, the light only pauses on the 10th pixel, then it freezes indefinitely. Here is a video of what is currently happening:



Here is the code:


I have the circuit diagram done, and the hardware works right now, I will just need to change the current hardware to work with the Neopixel ring once I solder it. I plan on soldering tomorrow. I also created a button for my object, that will fit inside the front panel once I print it. Below are some photos of my circuit and of the Neopixel ring that I just got in a couple days ago:





For my object I have it mostly figured out, the last thing I need to do is find a clean way to hide the connection between the button panel and the rest of the object, I can either add another piece to the base to hide a gap behind the button panel or make the lid much longer and have that go all the way below where the opening to feed the wire would be. Either way, I think it will be a quick change and I have scheduled to print on Monday. Here is the model right now:


I feel both very close and very far to a full proof of concept. If I get my code working and the neopixel ring soldering I will update my blog on the weekend.





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

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