Linux Format

Control your Pi robot with Bluetooth

At the end of part three, we had built our robot from a kit, tested the motors and looked at A a number of sensors. We intentionally kept the choices vague, remembering that robotics is a personal project. You are bringing life to a project that can navigate the world around it. It has a personality created in code, but with a mind of its own at times.

For this part of the build, we are going to have a little fun with our robot. No sensors are required – all we need is an old Android phone or tablet (even some Chromebooks will work) and a little space. We are going to use a free Android app to bring remote control to our robot. Thanks to the newer Raspberry Pi’s Bluetooth capabilities, we can remotely connect and control our robot. In a world where sensors can help a robot navigate its environment, it is informative (and fun) to get hands-on and learn how effective our custom Python robot library is. After this project, you will undoubtedly want to tweak the values stored in your robot.py library, as you will now have a better understanding of what speeds are necessary for different terrains.

The most important thing is that you have some fun with this part!

Blue Dot

Sometimes we need to get handson with a robot. Just like controlling an RC car, we need to get our hands on the controls and take the robot for a spin. So, how

You’re reading a preview, subscribe to read more.

More from Linux Format

Linux Format3 min read
Kernel Watch
Linus Torvalds announced the fourth RC (Release Candidate) for what will become Linux 6.9 in another few weeks. In his announcement, he noted that there was “Nothing particularly unusual going on this week – some new hardware mitigations may stand o
Linux Format2 min read
Specialist Tool Organisation
K ali works differently from the others as it has the security tools in the root of the app launcher. If you know what you’re looking for, the whole thing is searchable from the launcher. The ‘normal’ apps are located in the Usual Applications folder
Linux Format14 min read
Ubuntu at 20
Without Ubuntu, the current Linux landscape would be unrecognisable. Back in October 2004, the first 4.10 (2004.10) release of Ubuntu, with its intriguing Warty Warthog code name, leapt from obscurity to being one of the most downloaded Linux distrib

Related Books & Audiobooks