Chapter 5. Arduino and the Pi
As you’ll see in the next few chapters, you can use the GPIO pins on the Raspberry Pi to connect to sensors or things like blinking LEDs and motors. And if you have experience using the Arduino microcontroller development platform, you can also use that alongside the Raspberry Pi.
When the Raspberry Pi was first announced, a lot of people asked if it was an Arduino killer. For about the same price, the Pi provides much more processing power: why use Arduino when you have a Pi? It turns out the two platforms are actually complementary, and the Raspberry Pi makes a great host for the Arduino. There are quite a few situations where you might want to put the Arduino and Pi together:
-
To use the large number of libraries ...
Get Getting Started With Raspberry Pi, 3rd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.