Raspberry Pi for Arduino Users: Building IoT and Network Applications and Devices
James R. Strickland
Résumé
The Arduino and Raspberry Pi communities overlap more than you might think.
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
The Arduino user who's been through all the tutorials and is comfortable writing sketches and connecting hardware to their Arduino.
Raspberry Pi for Arduino Users
Chapter 1. Your Shopping List
Chapter 2, Meet the Raspberry Pi
Chapter 3. Survival Linux
Chapter 4: Meet your Old Friend C++
Chapter 5, Meet WiringPi
Chapter 6, Input and Output
Chapter 7, Processes and Multitasking
Chapter 8, Multithreading and Interrupts
Chapter 9, The Internet
Chapter 10, Servers, the Unix Way
Chapter 11, Integration
Chapter 12: The Best of Both Worlds:
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.
Caractéristiques techniques
| PAPIER | |
| Éditeur(s) | Apress |
| Auteur(s) | James R. Strickland |
| Parution | 19/06/2018 |
| Nb. de pages | 427 |
| EAN13 | 9781484234136 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse