Kimberlina Droid

Selin took inspiration from Star Wars when designing a Raspberry Pi Pico‑powered battle bot. She talks strategy with **Rosie Hattersley**

In Star Wars: Attack Of The Clones, a convoy of tanks with enormous wheels that bear down inexorably on their enemies was a fearsome sight. The concept seemed ideal to 15-year-old robot builder Selin Ornek when she needed ideas for a new battlebot. Having already made quite a name for herself in the world of coding, Selin was likely to have plenty of competitors keen to take her down, which partly explains why she named her battle bot Kimberlina in tribute to a comedy character from TV show Full House that she watched in lockdown. Kimberlina may have a quirky name, but her strike is deadly! Once you know something about Kimberlina’s maker, this won’t be a surprise. Selin is an accomplished coder and Raspberry Pi robot builder. She began coding aged eight – first Scratch, but later Python, Java, and C++ – and designed her first robot at ten. Her interest in coding began after Selina interviewed a family friend, who is a mechanical engineer, about building a robot dog as a means of bringing her much-loved dog, Korsan, back to life. His advice to learn coding and robotics, plus Scratch-based lessons that helped her class learn English, set Selin on her robot-building journey.

She has now built six robots, including two that act as guide dog robots for blind people. The original version of this, the Arduino-based IC4U, won Selin her first prize at Coolest Projects International in 2018. “I won first place in the Hardware Category at Coolest Projects, and one of my prizes was a Raspberry Pi 3B+.” The other was a Google AIY kit – presented to her by Raspberry Pi’s very own Eben Upton. “After this, I started to use Raspberry Pi in all my projects.” With a firm focus on using technology for good and demonstrating that an interest in computing is gender-free, Selin won the Aspiring Teen category in the 2021 Women In Tech Global Awards (magpi.cc/witawards).

**Firm foundations**

Kimberlina began life as a cardboard prototype, which helped Selin decide on the parts she was going to use. The robot seemed a great opportunity to try out Raspberry Pi Pico for the first time, since she needed a microcontroller that could run motors, servos, and receive Bluetooth signals. Selin used the wheel design from her previous robot and designed other parts in Autodesk Tinkercad. “Because the wheel has a very small contact point with the ground, I had to find a way to balance the robot when it accelerates forward and backwards, so I placed steel ball bearings with enough space to move within the robot,” she says. The contest in which Kimberlina was to compete threw up challenges too, stipulating maximum weight and speed limitations. “The weight was a challenge after the decision to use ball bearings, but choosing the right motors was the key to [having] a fast-moving and turning robot.”

Selin’s competition strategy was to move quickly and remain agile avoiding contact

Decisions made, Selin 3D-printed and assembled Kimberlina’s body, using the time available while the body parts were printing to design a mobile app in MIT App Inventor to control the droid over Bluetooth. She used MicroPython to code Raspberry Pi Pico and the hardware connected to it. Once the coding was complete and the robot was assembled, it was time to test it. “I was lucky,” says Selin of how her meticulous planning and experience played out.

“Kimberlina is controlled via Bluetooth from a mobile application”

“Usually my robots do not work immediately. I come across a problem and sometimes even burn a part, but fortunately, Kimberlina worked on the first try.”

Speed and control

Kimberlina is controlled via Bluetooth from a mobile application Selin built using MIT App Inventor. A servo at the front controls the flipper to flip an opponent, while the servo at the back is attached to a lever that pushes the opponent away. “Kimberlina has great balance thanks to steel ball bearings that help centre it. This means that when it gets a hit or accelerates fast, it doesn’t roll over,” explains Selin. “My competition strategy was to move quickly and remain agile, avoiding contact, and make the other robots fall from the platform without touching them,” she adds. The mighty wheels of Hailfire, coupled with the portable power of Raspberry Pi Pico, proved an unbeatable combination.

Build a bruising battlebot

Sketch out your design and make a cardboard prototype to help you work out the overall dimensions, how everything will be powered, and the connections needed.

Use CAD software to design the robot’s body, leaving space for Raspberry Pi Pico and any batteries or cables, then 3D-print or otherwise build the casing.

Use the web component of MIT App Inventor to create a means of controlling your battlebot. Set Raspberry Pi’s URL as the destination and add **:1880/mit**. An alternative is to use Node-RED and control Raspberry Pi directly.