Linux Format

Building a web-based robot control interface

Credit: https://anvil.works

Part Five!

Don’t miss next issue, subscribe on page 16!

OUR EXPERT

Les Pounder is associate editor at Tom’s Hardware and a freelance maker. He blogs about hacks and makes at http://bigl.es.

YOU NEED

All of the code for this project, circuit diagrams and images can be downloaded from our 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 Click on Pricing or Start Building to

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

More from Linux Format

Linux Format1 min read
Kaki Pi
Another Pi-like SBPC appears! From Yuridenk-Shokai in Japan, this packs a Renesas RZ/V2H Coretex-A55/R8/M33 MPU with 80 TOPS of AI. It’s aimed at robotics and has four CSI video inputs along with a PCIe 3 connection. Find out more in Japanese: www.ka
Linux Format11 min readInternet & Web
Ultra-smooth Home Game Streaming
Credit: https://moonlight-stream.org, https://github.com/LizardByte Michael Reed is a consummate Linux professional who has been moonlighting for us so that he can live in the sunshine. (are we actually paying for these gags?–Ed) You can install the
Linux Format1 min read
Nvidia Moves To Block ZLUDA
As more and more applications rely on the combination of Nvidia and CUDA, it was inevitable that third-parties would try to build on their success. There’s already examples of this, such as ZLUDA, a drop-in replacement for CUDA. The implications of

Related Books & Audiobooks