An inspiration and idol of mine, Tony Stark embodies the brilliant inventor and engineer that I aspire to become. As a gift for one of my friends, I attempted to remake of a model of this iconic item using materials I had in my dorm room.
Using Arduino and Adobe Illustrator to laser cut cardboard, I built the model with hot glue. This model consisted of an RGB LED, a button, and a potentiometer.
The beauty with Arduino was that this model was able to be plugged into a battery pack and moved anywhere the user desired.
Function #1:
The first mode of the model was that the RGB values changed with the turn of the potentiometer. I mapped the range of potentiometer values (0-1023) to the range of RGB values (0-255) and played around with how the set values would change with the turn of the knob.
Function #2:
The second function, activated by the push of the button, is a mode where the RGB cycles through different colors. I then programmed the potentiometer in this case to adjust the intervals between the while loop in which the values start to change.
In addition to this project, I also made a costume model of mine own for my Halloween costume as Tony Stark!