Magic 8 Ball Password Generator

Materials:

Design Files:

All design files: Github

Enclosure 3D model: Fusion 360

In this project I recreated the classic magic 8 ball but with a twist! I 3D printed an enclosure to look like a magic 8 ball, but inside I put an inertial measurement unit IMU and an organic LED OLED display connected to an Arduino Nano. When the ball is shaken, the OLED display can either answer life's deepest questions, or help you come up with a unique long password to protect your bank account.

Magic 8 Ball Password Generator_bb.png

The first step in this project was designing the magic 8 ball to fit the electronics I had in mind. I designed the ball to come apart in two pieces for easier assembly. The next step was to solder wires to connect the OLED display, the IMU, and the Arduino Nano compatible microcontroller. The devices communicated to each other using I2C which consists of a data signal and a clock signal. Each device has a unique address which allows there to be more than one device on the bus. The Arduino sends commands and information to each device using that unique address. Each device is listening on the I2C bus for commands and will ignore anything that doesn’t match their address. I used a Lipo battery to power the components. I used a charging module connected to the USB port of the Arduino so I could charge it from the same port used to upload the code.

Previous
Previous

The Openwheel - A DIY Onewheel XR Self Balancing Skateboard

Next
Next

pixel pressure pad