PART 5
Don’t miss next issue, subscribe on page 20!
YOU’LL NEED THIS
• All of the code for this project, circuit diagrams and images can be downloaded from this GitHub repository:
https://github.com/lesp/ Linux-Format-Robot/archive/refs/heads/main. zip
By the end of part four, we had successfully built our robot from a kit, tested the motors and looked at a number of sensors, then we learnt how to use a Bluetooth controller. All of the previous parts are building up to our robot becoming complete in the final sixth part.
For this section of the build, we are going to learn how to use a free web service called Anvil (https://anvil.works). The Anvil service is where we can develop web apps in pure Python. Using an uplink, we will connect our robot to a custom-created web interface and then use that interface to control our robot.
This might sound a little scary right now, and while Anvil does have a learning curve, fear not! Anvil is extremely easy to use once you understand how it works. With that in mind, let’s get started.
Hammer the Anvil
As Anvil is based in the cloud, we can access and create projects
from any web-enabled device. As we’re using a Raspberry Pi 4 for the robot, open a Chromium browser and visit https://anvil.works/. Click on Pricing or Start Building to sign up for a free account.
Anvil works by creating ‘apps’. These are all web-based,