Raspberry Pi for Arduino Users [electronic resource] : Building IoT and Network Applications and Devices /
Strickland, James R.author.
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. It makes far more sense to cross to the Raspberry PI platform; this book shows you how to do so. 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. You'll see that several projects use and explain the WiringPi system. This 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.
Includes index.
Chapter 1: Your Shopping List -- Chapter 2: Meet the Raspberry Pi -- Chapter 3: Survival Linux -- Chapter 4: Meet C++ -- Chapter 5: Meet WiringPi -- Chapter 6: Input and Output -- Chapter 7: One Pi, Multiple Processes -- Chapter 8: One Processe, Multiple Threads -- Chapter 9: From Pi to the World: Network Sockets -- Chapter 10: Serving Pi: Network Servers -- Chapter 11: Files and Filesystems -- Chapter 12: The Best of Both Worlds -- Chapter 13: Conclusions, Credits, and Closing Thoughts.
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. It makes far more sense to cross to the Raspberry PI platform; this book shows you how to do so. 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. You'll see that several projects use and explain the WiringPi system. This 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.
Computer input-output equipment.
Hardware and Maker.