Raspberry Pi for Arduino Users: Building IoT and Network Applications and Devices

James R. Strickland

買這商品的人也買了...

相關主題

商品描述

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. 

商品描述(中文翻譯)

發揮您在Arduino領域的技能,並了解如何將這兩個平台結合起來進行複雜的程式開發。

Arduino和Raspberry Pi社群的重疊程度比您想像的要高。通過各種“shield”,Arduino可以擴展為具有網絡功能的設備,但這會增加系統的成本和複雜性。相比之下,Raspberry Pi都運行Linux,這是一個非常具有網絡能力的平台。最新的Raspberry Pi Zero W支持WiFi和藍牙功能,價格約為10美元。對於需要網絡功能的設備來說,如果有人能夠輕鬆實現兩個平台的結合,那將更加合理。這本書就是為此而寫的。

您將學習一些基本的Linux系統管理知識,以便了解如何設置機器並為您的設備建立至少基本的安全性。您將在Raspberry Pi上設置並學習使用Geany IDE,這與Arduino IDE相當相似。

這兩個平台最重要的重疊部分是GPIO系統。您將看到有幾個項目使用並解釋WiringPi系統。這是故意設計得與Arduino的“Wiring”功能相似,用於控制GPIO引腳。您將學習這兩個設備的GPIO引腳之間的差異,以及Raspberry Pi在這些引腳上有一些限制,而Arduino則沒有。作為最終項目,為了擺脫某些限制,您將連接一個AtMEGA 328P到Raspberry Pi上,並將其配置為一個真正的8MHz Arduino,並在Pi上運行Arduino IDE,並學習如何使這兩個平台進行通信,以獲得最佳效果。

您將學到什麼:

- 通過Linux系統管理建立安全性
- 設置Apache Web伺服器
- 編寫CGI程序,以便其他計算機可以連接到您的Pi並從中提取數據
- 使用Arduino sketches中的C/C++編寫Pi的程序

適合閱讀對象:

已經完成所有教程並且熟悉編寫sketches和連接硬件到Arduino的Arduino用戶。