Linux Format

Arduino and Pi together

The Arduino and Raspberry Pi are two very different products, but they both cater for eager hackers and makers. What if we could connect an Arduino to our Pi and use it as a slave device? One that reacts to input and sends the output to our Raspberry Pi via Python. To do this we are going to need some special software, and that is where this tutorial starts.

Software setup

Before we can write any Python code we need to download and install for Linux ARM 32-bit from the Arduino website: find.

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

More from Linux Format

Linux Format10 min read
Answers
I was originally using the Cinnamon version of Linux Mint 21.3. I heard good things about MATE, so I did a new installation to try out MATE. After several months, I decided that I would like to go back to Cinnamon. I am not sure how to switch back wi
Linux Format2 min read
Suitability For Beginners
These distros are focused on a technical area of computer use, penetration testing, but that doesn’t mean they’re T not suitable for beginners in this discipline. It’s not much of a surprise that a Gentoo-based distro like Pentoo is more complicated
Linux Format11 min read
Enhance Email With A Better Thunderbird
Think email client and the obvious example is Mozilla’s Thunderbird. But whether you’re a T long-time Thunderbird user or looking for a new email client, you may find that Betterbird is – if you’ll excuse the pun – a better fit. That’s particularly t

Related Books & Audiobooks