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
Post a Comment