没有合适的资源?快使用搜索试试~ 我知道了~
首页利用Raspberry Pi开发创意项目:全攻略
利用Raspberry Pi开发创意项目:全攻略
需积分: 1 1 下载量 88 浏览量
更新于2024-07-19
收藏 13.49MB PDF 举报
《Learning Raspberry Pi》是由PACKT Publishing于2015年发布的一本教程书籍,专为那些希望发掘和提升自己在Raspberry Pi上的创意编程能力的读者设计。该书以树莓派(Raspberry Pi)作为核心平台,引导读者通过实践项目来掌握Web技术、图像处理、电子和机器人技术。作者Samarth Shah以系统化的方式,带领读者一步步地探索如何利用Raspberry Pi开发出各种实际应用。 书中涵盖了丰富的内容,包括如何利用Raspberry Pi构建游戏、网页应用以及桌面应用程序,充分展示其强大的功能。作者强调了利用Raspberry Pi的最佳特性进行开发,并介绍了强大的开发工具,如跨平台编译软件,以及如何自定义Linux发行版以优化性能。这些教程旨在帮助读者快速掌握实操技能,将理论知识转化为实际项目的开发能力。 版权方面,所有内容受Packt Publishing保护,未经书面许可,禁止任何形式的复制、存储或传输。尽管作者和出版社尽力确保信息的准确性,但本书提供的信息不带任何保修,且不会对由此产生的直接或间接损失承担责任。为了尊重知识产权,Packt Publishing在提及公司和产品时尽可能使用正确的商标标识。 《Learning Raspberry Pi》是一本实战性强、理论与实践相结合的教程,适合对Raspberry Pi感兴趣并寻求提升编程技能的读者,无论你是电子爱好者、初学者还是专业人士,都能从中获得宝贵的知识和经验。通过这本书,你将有机会将自己的创新思维与Raspberry Pi这个灵活且强大的微型计算机平台结合起来,创造出无限可能的应用项目。
资源详情
资源推荐
Preface
[ ix ]
Chapter 7, Troubleshooting, Tips/Tricks, and Resources for Advanced Users, solves
common problems and shows ways the Raspberry Pi can be modied to make it
more robust and stable. Find out why some SD cards do not work and how to make
them work, why the Raspberry Pi resets when certain USB devices are plugged in,
and how to make it an issue of the past.
What you need for this book
Throughout this book, it is assumed that you have a Raspberry Pi with the required
peripherals and that you are able to install and boot an operating system using
NOOBS or RAW images. Additionally, you should have some exposure to Linux
and familiarity with general programming concepts. The later chapters deal with
electronics, and to get the most out of them, you will need to acquire some
common components.
Who this book is for
This book is written for computer literate adults coming from a Linux, PC, or Mac
desktop and wishing to learn how to create things with the Raspberry Pi. The
book does not dwell on easily accessible information, but does not assume expert
knowledge in any particular eld either. Thus, it is accessible and engaging to
anyone interested in the Raspberry Pi.
Conventions
In this book, you will nd a number of text styles that distinguish between different
kinds of information. Here are some examples of these styles and an explanation of
their meaning.
Code words in text, database table names, folder names, lenames, le extensions,
pathnames, dummy URLs, user input, and Twitter handles are shown as follows:
"Now, type
startx to load the familiar UI."
A block of code is set as follows:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Hello world</title>
</head>
Preface
[ x ]
When we wish to draw your attention to a particular part of a code block, the
relevant lines or items are set in bold:
def fileclick(req):
if 'id' not in req.form:
return listloc(session['currdir'])
clickedfile = safe_join(session['currdir'], req.form['id'])
if path.isfile(clickedfile):
clickedfile = url_for('static',
filename = clickedfile.replace(app.static_folder+'/',''))
return clickedfile
return 0
Any command-line input or output is written as follows:
# dd if=file.img of=/dev/mmcblk0 bs=4M
New terms and important words are shown in bold. Words that you see on
the screen, for example, in menus or dialog boxes, appear in the text like this:
"Finally, click Write and remove the card."
Warnings or important notes appear in a box like this.
Tips and tricks appear like this.
Reader feedback
Feedback from our readers is always welcome. Let us know what you think about
this book—what you liked or disliked. Reader feedback is important for us as it helps
us develop titles that you will really get the most out of.
To send us general feedback, simply e-mail
feedback@packtpub.com, and mention
the book's title in the subject of your message.
If there is a topic that you have expertise in and you are interested in either writing
or contributing to a book, see our author guide at
www.packtpub.com/authors.
Preface
[ xi ]
Customer support
Now that you are the proud owner of a Packt book, we have a number of things to
help you to get the most from your purchase.
Downloading the example code
You can download the example code les from your account at http://www.
packtpub.com
for all the Packt Publishing books you have purchased. If you
purchased this book elsewhere, you can visit http://www.packtpub.com/support
and register to have the les e-mailed directly to you.
Downloading the color images of this book
We also provide you with a PDF le that has color images of the screenshots/
diagrams used in this book. The color images will help you better understand the
changes in the output. You can download this le from: https://www.packtpub.
com/sites/default/files/downloads/2820OS_GraphicBundle.pdf
.
Errata
Although we have taken every care to ensure the accuracy of our content, mistakes
do happen. If you nd a mistake in one of our books—maybe a mistake in the text or
the code—we would be grateful if you could report this to us. By doing so, you can
save other readers from frustration and help us improve subsequent versions of this
book. If you nd any errata, please report them by visiting http://www.packtpub.
com/submit-errata
, selecting your book, clicking on the Errata Submission Form
link, and entering the details of your errata. Once your errata are veried, your
submission will be accepted and the errata will be uploaded to our website or added
to any list of existing errata under the Errata section of that title.
To view the previously submitted errata, go to
https://www.packtpub.com/books/
content/support
and enter the name of the book in the search eld. The required
information will appear under the Errata section.
Preface
[ xii ]
Piracy
Piracy of copyrighted material on the Internet is an ongoing problem across all
media. At Packt, we take the protection of our copyright and licenses very seriously.
If you come across any illegal copies of our works in any form on the Internet, please
provide us with the location address or website name immediately so that we can
pursue a remedy.
Please contact us at
copyright@packtpub.com with a link to the suspected
pirated material.
We appreciate your help in protecting our authors and our ability to bring you
valuable content.
Questions
If you have a problem with any aspect of this book, you can contact us at
questions@packtpub.com, and we will do our best to address the problem.
Chapter 1
[ 1 ]
Getting Started with
Raspberry Pi
As you know, Raspberry Pi is a credit card computer developed by Raspberry Pi
Foundation in the UK with the intention of promoting the teaching of basic computer
science in schools. However, today it is used widely in all areas, including in the
process of making super computer and advanced robotics operations. In this chapter,
you will be introduced to Raspberry Pi and its components. As Raspberry Pi is
supported by a wide variety of operating systems, this chapter provides an overview
of what is available and the different installation methods. Before setting up a web
server, the security implications and remote access methods are covered. Once the web
server is set up and manageable remotely, it is put to use by adding WordPress. We
will cover the following sections in this chapter:
• Getting to know your Raspberry Pi
• Different types of operating systems
• Installation methods
• User management
• Remotely accessing Raspberry Pi
• Installing a web server with PHP support
www.allitebooks.com
剩余258页未读,继续阅读
csdnzheng
- 粉丝: 2
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 多模态联合稀疏表示在视频目标跟踪中的应用
- Kubernetes资源管控与Gardener开源软件实践解析
- MPI集群监控与负载平衡策略
- 自动化PHP安全漏洞检测:静态代码分析与数据流方法
- 青苔数据CEO程永:技术生态与阿里云开放创新
- 制造业转型: HyperX引领企业上云策略
- 赵维五分享:航空工业电子采购上云实战与运维策略
- 单片机控制的LED点阵显示屏设计及其实现
- 驻云科技李俊涛:AI驱动的云上服务新趋势与挑战
- 6LoWPAN物联网边界路由器:设计与实现
- 猩便利工程师仲小玉:Terraform云资源管理最佳实践与团队协作
- 类差分度改进的互信息特征选择提升文本分类性能
- VERITAS与阿里云合作的混合云转型与数据保护方案
- 云制造中的生产线仿真模型设计与虚拟化研究
- 汪洋在PostgresChina2018分享:高可用 PostgreSQL 工具与架构设计
- 2018 PostgresChina大会:阿里云时空引擎Ganos在PostgreSQL中的创新应用与多模型存储
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功