Raspberry Pi for Arduino Users - James R. Strickland

Raspberry Pi for Arduino Users (eBook)

Building IoT and Network Applications and Devices
eBook Download: PDF
2018 | 1st ed.
XXVII, 427 Seiten
Apress (Verlag)
978-1-4842-3414-3 (ISBN)
Systemvoraussetzungen
56,99 inkl. MwSt
  • Download sofort lieferbar
  • Zahlungsarten anzeigen
Leverage your Arduino skills in the Raspberry Pi world and see how to cross the two platforms into sophisticated programs.

The Arduino and Raspberry Pi communities overlap more than you might think. Arduinos can be expanded to have network capabilities with a variety of 'shields,' all of which increase the cost and complexity of the system. By contrast, Raspberry Pis all run Linux, which is a very network-competent platform. The newest Pi, the Raspberry Pi Zero W,  is WiFi and Bluetooth capable, and costs around $10 U.S. For network enabled gadgets, it makes far more sense to cross to the Raspberry PI platform, if only someone would make it easy to do. That's what this book is about.

You'll learn some survival level Linux system administration, so you know how to set the machine up and how to establish at least minimal security for your gadget.  You''ll set up and learn the Geany IDE on your Pi, which is fairly similar to the Arduino IDE. 

Where the two platforms overlap the most is the GPIO system. You'll see that several projects use and explain the WiringPi system. This is is deliberately similar to the Arduino's 'Wiring' functionality, which is how sketches interact with GPIO pins. You'll learn the differences between the GPIO pins of the two devices, and how the Pi has some limitations on those pins that the Arduino does not. As a final project, in an effort to escape some of those limitations, you'll attach an AtMEGA 328P to the Raspberry Pi and configure it as a real, 8MHz Arduino with the Arduino IDE running on the Pi, and learn how to have the two platforms communicate, giving you the best of both worlds.

What You'll Learn
  • Establish security with Linux system administration
  • Set up the Apache webserver
  • Write CGI programs so other computers can connect to your Pi and pull data in from it. 
  • Use C/C++ from Arduino sketches to write programs for the Pi   
Who This Book Is For 

The Arduino user who's been through all the tutorials and is comfortable writing sketches and connecting hardware to their Arduino. 


Jim Strickland has spent his undergraduate, graduate, and professional careers in technical support and system administration-explaining computers and IT systems to others. He's used Unix-like OSs in various incarnations from Ultrix32 in the early 1990s to Slackware Linux in the mid '90s to OS X, Raspbian, and Xubuntu today. And he has experience with non-Unix-like OSes such as MS-DOS, Windows, Macintosh System 7, CP/M-80, and so on. He bought his first Arduino in 2010. Soldering that little board together offered him a crash course in digital electronics making beyond the 'Insert board, load driver' level.

He has a master's degree in Communications Development, a BA in creative writing with minors in Computer Science and Psychology. He worked in the computer industry for several years before turning to a writing career. He is the author of Junk Box Arduino: Ten Adventures in Upcycled Electronics and has also written science fiction.

Leverage your Arduino skills in the Raspberry Pi world and see how to cross the two platforms into sophisticated programs.The Arduino and Raspberry Pi communities overlap more than you might think. Arduinos can be expanded to have network capabilities with a variety of "e;shields,"e; all of which increase the cost and complexity of the system. By contrast, Raspberry Pis all run Linux, which is a very network-competent platform. The newest Pi, the Raspberry Pi Zero W,  is WiFi and Bluetooth capable, and costs around $10 U.S. For network enabled gadgets, it makes far more sense to cross to the Raspberry PI platform, if only someone would make it easy to do. That's what this book is about.You'll learn some survival level Linux system administration, so you know how to set the machine up and how to establish at least minimal security for your gadget.  You''ll set up and learn the Geany IDE on your Pi, which is fairly similar to the Arduino IDE. Where the two platforms overlap the most is the GPIO system. You'll see that several projects use and explain the WiringPi system. This is is deliberately similar to the Arduino's 'Wiring' functionality, which is how sketches interact with GPIO pins. You'll learn the differences between the GPIO pins of the two devices, and how the Pi has some limitations on those pins that the Arduino does not. As a final project, in an effort to escape some of those limitations, you'll attach an AtMEGA 328P to the Raspberry Pi and configure it as a real, 8MHz Arduino with the Arduino IDE running on the Pi, and learn how to have the two platforms communicate, giving you the best of both worlds.What You'll LearnEstablish security with Linux system administrationSet up the Apache webserverWrite CGI programs so other computers can connect to your Pi and pull datain from it. Use C/C++ from Arduino sketches to write programs for the Pi   Who This Book Is For The Arduino user who's been through all the tutorials and is comfortable writing sketches and connecting hardware to their Arduino. 

Jim Strickland has spent his undergraduate, graduate, and professional careers in technical support and system administration—explaining computers and IT systems to others. He's used Unix-like OSs in various incarnations from Ultrix32 in the early 1990s to Slackware Linux in the mid '90s to OS X, Raspbian, and Xubuntu today. And he has experience with non-Unix-like OSes such as MS-DOS, Windows, Macintosh System 7, CP/M-80, and so on. He bought his first Arduino in 2010. Soldering that little board together offered him a crash course in digital electronics making beyond the "Insert board, load driver" level.He has a master's degree in Communications Development, a BA in creative writing with minors in Computer Science and Psychology. He worked in the computer industry for several years before turning to a writing career. He is the author of Junk Box Arduino: Ten Adventures in Upcycled Electronics and has also written science fiction.

Raspberry Pi for Arduino UsersChapter 1. Your Shopping ListChapter 2, Meet the Raspberry PiChapter 3. Survival LinuxChapter 4: Meet your Old Friend C++Chapter 5, Meet WiringPiChapter 6, Input and OutputChapter 7, Processes and MultitaskingChapter 8, Multithreading and InterruptsChapter 9, The InternetChapter 10, Servers, the Unix WayChapter 11, IntegrationChapter 12: The Best of Both Worlds:

Erscheint lt. Verlag 19.6.2018
Zusatzinfo XXVII, 427 p. 62 illus.
Verlagsort Berkeley
Sprache englisch
Themenwelt Informatik Weitere Themen Hardware
Schlagworte Arduino • C • C++ • C/C++ • GPIO • Maker • Network • Raspberry Pi • robot • Robotics • Sensor
ISBN-10 1-4842-3414-6 / 1484234146
ISBN-13 978-1-4842-3414-3 / 9781484234143
Haben Sie eine Frage zum Produkt?
PDFPDF (Wasserzeichen)
Größe: 5,8 MB

DRM: Digitales Wasserzeichen
Dieses eBook enthält ein digitales Wasser­zeichen und ist damit für Sie persona­lisiert. Bei einer missbräuch­lichen Weiter­gabe des eBooks an Dritte ist eine Rück­ver­folgung an die Quelle möglich.

Dateiformat: PDF (Portable Document Format)
Mit einem festen Seiten­layout eignet sich die PDF besonders für Fach­bücher mit Spalten, Tabellen und Abbild­ungen. Eine PDF kann auf fast allen Geräten ange­zeigt werden, ist aber für kleine Displays (Smart­phone, eReader) nur einge­schränkt geeignet.

Systemvoraussetzungen:
PC/Mac: Mit einem PC oder Mac können Sie dieses eBook lesen. Sie benötigen dafür einen PDF-Viewer - z.B. den Adobe Reader oder Adobe Digital Editions.
eReader: Dieses eBook kann mit (fast) allen eBook-Readern gelesen werden. Mit dem amazon-Kindle ist es aber nicht kompatibel.
Smartphone/Tablet: Egal ob Apple oder Android, dieses eBook können Sie lesen. Sie benötigen dafür einen PDF-Viewer - z.B. die kostenlose Adobe Digital Editions-App.

Buying eBooks from abroad
For tax law reasons we can sell eBooks just within Germany and Switzerland. Regrettably we cannot fulfill eBook-orders from other countries.

Mehr entdecken
aus dem Bereich