Raspberry Pi Brings Ghostly Betta Fish to Life
If you’ve ever ridden the Haunted Mansion ride at one of Disney’s theme parks, you probably remember the ballroom with dancing ghosts. They are clearly animatronic, but somehow magically appear and disappear like real ghosts. This magic is easy to reproduce. raspberry pi Effect known as 4 ghost of pepper And that’s exactly what the manufacturer N4MI0 has done with this beautiful piece. betta fishbowl plan.
To achieve the illusion, real objects must be hidden from view. When properly lit, it will reflect off glass panes and other transparent materials and appear to exist in a new location. In this case, the betta fish is playing video from the screen. The N4MI0 projects the fish onto a sheet of Plexiglas cut to fit neatly inside the glass. In the video, when the fish swims, it looks like it jumps into the bowl.
The video is played on the Raspberry Pi 4 and output from Waveshare to a round screen. The screen is placed at the bottom of the bowl like a closed glass sphere. The plexiglass is 1 mm thick and bends slightly to fit inside. According to N4MI0, this effect works best when viewed from a certain point of view, so while he’s not completely equipped with 3D holographic effects, it works great when placed properly. increase.
As far as project programming is concerned, the Pi is primarily responsible for launching a YouTube video of a betta fish on startup. To do this, N4MI0 uses a custom Python script. This allows betta fish to pop up automatically when you turn on the unit without the need to remotely connect and manually start the video.
N4MI0 explains that plans are underway to improve the project by adding more features. For now, the hardware components are exposed at the bottom, but will soon be housed in a 3D-printed shell. N4MI0 also wants to be able to use Pico W to accept wireless commands and possibly control fish remotely via Bluetooth.
If you’d like to see this Raspberry Pi project in action and learn more about how it works, check out the original project thread shared below. reddit By N4MI0. Be sure to follow N4MI0 for other projects and future updates on this project.