Getting Started with Raspberry Pi by Matt Richardson & Shawn Wallace
Author:Matt Richardson & Shawn Wallace [Richardson, Matt and Wallace, Shawn]
Language: eng
Format: epub, pdf
ISBN: 9781449344214
Publisher: O’Reilly Media, Inc.
Published: 2013-03-25T16:00:00+00:00
Chapter 6. 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. If you have experience using the Arduino microcontroller development platform, you can also use that alongside with the Raspberry Pi.
When the Raspberry Pi was first announced, a lot of people asked if this was an Arduino-killer. For about the same price you can get 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 a few other cases where you might want to Arduino and the Pi together:
There are lots of libraries and sharable examples for the Arduino.
If you already have a good working Arduino project that you want to supplement with more processing power. For example, maybe you have a MIDI controller that was hooked up to a synthesizer, but now you want to upgrade to synthesizing the sound directly on the Pi.
When you’re dealing with 5V logic levels. The Pi operates at 3.3V, and its pins are not tolerant of 5V.
You may be prototyping something a little out of your comfort zone and may make some chip-damaging mistakes. I’ve seen students try to drive motors directly from a pin on the Arduino (don’t try it); it was easy to pry out the damaged microcontroller chip out of its socket and replace it (less than $10 usually). No so with the Raspberry Pi.
When you have a problem that requires exact control in real time, such as a controller for a 3D printer. As we saw in Chapter 3 Raspbian is not a Real Time operating system, and programs can’t necessarily depend on the same "instruction per clock cycles" rigor of a microcontroller.
Download
Getting Started with Raspberry Pi by Matt Richardson & Shawn Wallace.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12564)
Hello! Python by Anthony Briggs(9911)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9794)
The Mikado Method by Ola Ellnestam Daniel Brolund(9775)
Dependency Injection in .NET by Mark Seemann(9335)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8293)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7758)
Grails in Action by Glen Smith Peter Ledbrook(7693)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7557)
Becoming a Dynamics 365 Finance and Supply Chain Solution Architect by Brent Dawson(7023)
Microservices with Go by Alexander Shuiskov(6790)
Practical Design Patterns for Java Developers by Miroslav Wengner(6702)
Test Automation Engineering Handbook by Manikandan Sambamurthy(6644)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6409)
Angular Projects - Third Edition by Aristeidis Bampakos(6050)
The Art of Crafting User Stories by The Art of Crafting User Stories(5583)
NetSuite for Consultants - Second Edition by Peter Ries(5515)
Demystifying Cryptography with OpenSSL 3.0 by Alexei Khlebnikov(5318)
Kotlin in Action by Dmitry Jemerov(5061)
