Making your own Poke ball
Hello fellas, today in this blog we are going to learn how to make a poke ball, we all have always dreamt about owning one.
Firstly, let’s discuss in detail what a poke ball is. As mentioned in the article, a poke ball is a device used in the Pokémon universe to capture and store Pokémon. It is a spherical device with a button on the front that opens up to reveal a space for a Pokémon to be stored. The device works by converting a Pokémon into energy, which is then stored in the poke ball until the trainer releases it.
In real life, we cannot make a poke ball that works like the one in the Pokémon universe, but we can create a replica that can display our favorite Pokémon. To make this happen, we need a few components.
Firstly, we need a display that can show us our Pokémon. A small OLED screen or a TFT display can be used for this purpose. Secondly, we need a servo motor that can open and close the poke ball. The servo motor is a small motor that can rotate to a specific angle, making it perfect for opening and closing the poke ball. Lastly, we need a microcontroller that can control the display and the servo motor. An Arduino or a Raspberry Pi can be used for this purpose.
Once we have all the components, we can start by writing the code. The code should contain a conditional statement to check when to open and close the lid of the poke ball. The conditional statement can be triggered by a touch sensor created with the help of the VCC pin and I/O pin of the microcontroller.
To display our favorite Pokémon on the screen, we need to create a bitmap of its image. A bitmap is a digital image format that uses dots or pixels to represent an image. We can create a bitmap of the Pokémon image using a third-party website or by saving the image as a CPP file, which is its bitmapped version.
Once we have the bitmap of the Pokémon image, we can paste it into the code and display it on the screen. We can also store multiple Pokémon and use the “RANDOM” function to display any one of these Pokémon on our screen.
To power the poke ball, we can use a TP 40xx series module to add a battery. Once we have all the components and the code ready, we can assemble the poke ball.
While the poke ball we create cannot capture real Pokémon, it can still be a fun project to work on and a great way to fulfill our childhood dream of owning a poke ball. We can display our favorite Pokémon on it and even take it with us to conventions or events.
In conclusion, creating our own poke ball is an exciting
project that can be accomplished with a few simple components and some coding skills. While it may not be the same as the one in the Pokémon universe, it can still bring a sense of nostalgia and joy to our lives.
Image resources: INTERNET.