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 Format2 min read
OBS Studio
Version: 30.0.2 Web: https://obsproject.com There are lots of good options for recording screencasts, but if you want to live-stream T your desktop, one of the best options is OBS Studio. The app works with all the major online streaming providers, s
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 Format2 min read
Back Issues Missed One?
ISSUE 313 April 2024 Product code: LXFDB0313 In the magazine Discover how to use the ultimate hacker’s toolkit, staying out of trouble while doing so. And join us as we take the Puppy Linux developer’s new distro for a run and explore its container

Related Books & Audiobooks