For this project, I had the task to use my CPX's sensors and create an object that protests against some social issue. I decided to use the motion sensors (accelerometer) for this project and to protest against gun violence/regulations.
First I had to program the CPX so that it would trigger a set of lights and sounds once it was in a certain position, I also had to program it so that once the glove falls it will trigger a different set of lights and sounds. I had to use the console on pc and test what acceleration value (x, y, or z) would work for this idea. Once I found out it, I just had to add the rest of the code and make sure it worked. For the second function, it was easier since the "Free fall" function worked perfectly for this.
After the coding was done all that was left was to find a way to attach the CPX to my hand, and I thought the best choice was a glove, it also allowed me to hide the battery and limit the cable visibility as much as possible. Once it was attached the project was ready and it was working fine, as shown in the video above.
As I mentioned, this project protests against gun violence/regulations in America. The glove is to be worn by people, when a shooter points their gun at them, they will put their hands up, triggering the CPX with red lights and a sound, meant to get the attention of the shooter. Once they are shot and their hands fall it will change to green lights and a "level up"-like sound for the shooter to hear, as if there was no real damage done.
Comments