Preloader image
   

Raspberry Pi Tutorial 38 – Use an Arduino as a Slave with Python (Nanpy)

Arduinos are great. The Raspberry Pi is pretty cool too. Together, they’re spectacular. However writing separate codes in different languages to have the two units works together is a bit of a hassle. In this tutorial I show you how to stream commands from the Raspberry Pi to the Arduino using UART serial communication. The package is Nanpy, allowing you to run Arduino commands in a Python script.

 

Share this post on the following platforms easily:

No Comments

Post A Comment

error: Context Menu disabled!