Over the past two weeks, I have been working towards creating a 'stupid pet trick' using relays to control a household electronic device. I chose to use a fan as the manipulated item because fans interact with the viewer both through motion and the creation of wind. When I heard the name of the project I immediately thought of optical illusions, as for the most part, they are just a 'stupid' visual trick. I had a collection of spinning optical illusions (meant for a spinning top) and I chose the best one and put it inside the fan. It became even more silly when I added a rainbow 'wig' and stem to the fan. I am using an ultrasonic sensor to turn on the fan, and after two seconds it turns back off. A light is on the other side of the motor relay, so the light can turn back on as the fan is slowing down, which is when the illusion looks the best.
Here is a photo of my stupid pet trick:
Here is a video of my stupid pet trick:
It was a challenge to get the ultrasonic sensor code working because I was having trouble figuring out what exactly wasn't working when my readings were off. After help in-class I had a better understanding of how the code worked and had no issues adjusting it to work in the different lighting of my house. I'm glad Arduino code is beginning to make more sense to me, and look forward to working on it more next week.
Comments
Post a Comment