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.
在Raspberry Pi的世界里利用你的Arduino技能,看看如何将这两个平台交叉成复杂的程序。
Arduino和Raspberry Pi社区的重叠比你想象的要多。Arduino可以通过各种 "盾牌 "来扩展网络功能,所有这些都会增加系统的成本和复杂性。相比之下,树莓派都运行Linux,它是一个非常具有网络能力的平台。最新的Pi,Raspberry Pi Zero W,具有WiFi和蓝牙功能,价格约为10美元。对于具有网络功能的小工具来说,如果有人能让它变得更容易操作,那么跨越到Raspberry PI平台就更有意义。这就是本书的内容。
你将学习一些生存级别的Linux系统管理,因此你知道如何设置机器,以及如何为你的小工具建立至少最低限度的安全。你将在你的Pi上设置和学习Geany IDE,它与Arduino IDE相当相似。
这两个平台重叠最多的地方是GPIO系统。你会看到一些项目使用并解释WiringPi系统。这是特意与Arduino的 "Wiring "功能相似的,也就是草图与GPIO引脚的交互方式。你将学习这两个设备的GPIO引脚之间的区别,以及Pi在这些引脚上的一些限制是Arduino所没有的。在最后一个项目中,为了摆脱这些限制,你将把AtMEGA 328P连接到Raspberry Pi上,并把它配置成一个真正的、8MHz的Arduino,在Pi上运行Arduino IDE,并学习如何让这两个平台进行通信,使你获得两个世界的最佳效果。
你会学到什么
- 用Linux系统管理建立安全
- 设置Apache网络服务器
- 编写CGI程序,以便其他计算机可以连接到你的Pi并从它那里获取数据。
- 使用Arduino草图中的C/C++来为Pi编写程序
本书适用对象
已经学习过所有教程的Arduino用户,他们能够自如地编写草图并将硬件连接到他们的Arduino。
相关文库
计算机行业:AIGC行业应用畅想-华福证券
2837
类型:行研
上传时间:2023-04
标签:计算机、AIGC)
语言:中文
金额:5积分
零信任SaaS,美国经验与中国特色-20200802-天风证券-42页
2658
类型:行研
上传时间:2020-08
标签:计算机、saas)
语言:中文
金额:免费
计算机行业安全服务:网络安全行业的制高点-20210221-方正证券-64页
2383
类型:行研
上传时间:2021-02
标签:计算机、网络安全)
语言:中文
金额:免费
2021年IEEE高新能计算论文合集
2369
类型:学习教育
上传时间:2021-05
标签:高性能计算、学术、计算机)
语言:中文
金额:30积分
计算机行业专题研究:MES深度报告下篇,7大海外巨头,6家中国领军全梳理-20201015-天风证券-55页
2282
类型:行研
上传时间:2020-10
标签:计算机、MES)
语言:中文
金额:免费
硬件推动VRAR行业变革,Metaverse展望未来-20210521-东北证券-39页
2220
类型:行研
上传时间:2021-05
标签:VR、AR、硬件)
语言:中文
金额:5积分
VRAR行业深度报告系列二(硬件篇):产业链日趋成熟,行业爆发在即-20210521-中信建投-38页
1904
类型:行研
上传时间:2021-05
标签:VR、AR、硬件)
语言:中文
金额:免费
计算机行业:信创产业发展研究-20220510-东吴证券-84页
1729
类型:行研
上传时间:2022-05
标签:计算机、信创)
语言:中文
金额:免费
计算机行业对于低代码工具发展的思考:AI降低软件使用门槛,交付自动化提升工具价值
1606
类型:行研
上传时间:2023-06
标签:计算机、AI、低代码)
语言:中文
金额:5积分
计算机行业:工业软件,研究框架-20200618-华泰证券-132页
1477
类型:行研
上传时间:2020-07
标签:计算机、工业软件、券商报告)
语言:中文
金额:免费
积分充值
30积分
6.00元
90积分
18.00元
150+8积分
30.00元
340+20积分
68.00元
640+50积分
128.00元
990+70积分
198.00元
1640+140积分
328.00元
微信支付
余额支付
积分充值
应付金额:
0 元
请登录,再发表你的看法
登录/注册