this is a toy for lovers of UFO, also could be room decorations.
this is a Standard UFO, it uses all kinds of sensors and knobs such as the accelerometer and the potentiometer. when moving around on its X and Y axis it will display a random flashing lights I like to call "search" mode but when its in what I like to call "abduct" mode it turns green. abduct mode when the UFO is in the fix upright basically hovering over an object.
when coding it grew kind of difficult, so I would like to thank Stephen from core electronics, Eddie Lohmeyer from UCF, and Adafruit makecode. make code has simple blocks but when used correctly and efficiently you can achieve some nice led animations. this project displays use of potentiometer for volume and accelerometer knowing if the object is still or moving. sounds can be turned up or down via the potentiometer and the led lights changes depending on the potentionmeter.
I made this out of cardboard, and strong aluminum foil. placing the circuit playground express(CPX) into a cut out hole I made was difficult because the cardboard was so thin. most results ended up with the CPX sliding and moving around so my advice would be to get a box cut a whole small enough for the CPX lights to just show tape it down. then at the top of the box you'll need to cut another hole so the potentiometer to fit on the top. finally the potentiometer will act as your volume while this ufo plays its creepy tone.
videos, liinks and pictures:
core electronics - helped most the code and taught me how to use the accelerometer.
Make it change - this helped me with the potentiometer.
video for me testing: here
Comments
Please log in or sign up to comment.