Raspberry Pi for Python Programmers Cookbook - Second Edition

Tim Cox

  • 出版商: Packt Publishing
  • 出版日期: 2016-09-30
  • 售價: $1,950
  • 貴賓價: 9.5$1,853
  • 語言: 英文
  • 頁數: 510
  • 裝訂: Paperback
  • ISBN: 1785288326
  • ISBN-13: 9781785288326
  • 相關分類: Python程式語言Raspberry Pi
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

About This Book

  • Install your first operating system, share files over the network, and run programs remotely
  • Construct robots and interface with your own circuits and purpose built add-ons, as well as adapt off-the-shelf household devices using this pragmatic guide
  • Packed with clear, step-by-step recipes to walk you through the capabilities of Raspberry Pi

Who This Book Is For

Readers are expected to be familiar with programming concepts and Python (where possible Python 3 is used), although beginners should manage with the help of a good Python reference book and background reading. No prior knowledge of the Raspberry Pi or electronics is required; however, for the hardware sections you will need some basic electronic components/household tools to build some of the projects.

What You Will Learn

  • Get to grips with text, files, and creating quick menus using Python
  • Make use of graphics and user control to develop your own exciting games
  • Use the Raspberry Pi's powerful GPU to create 3D worlds
  • Take control of the real world and interface with physical hardware, combining hardware and software for your own needs
  • Learn about the Raspberry Pi hardware inputs/outputs, starting with the basics and beyond
  • Expand the capabilities of the Raspberry Pi with hardware expansion/add-on modules
  • Create your own Pi-Rover or Pi-Hexpod driven by the Raspberry Pi
  • Capture sensor data to SQLite database and display on your own web-server

In Detail

Raspberry Pi for Python Programmers is a practical guide for getting the most out of this little computer. This book begins by guiding you through setting up the Raspberry Pi and performing tasks using Python 3, and introduces the first steps of interfacing with electronics. As you work through each chapter, you will build up your skills and knowledge and apply them as you progress through the book.

Later, you will learn how to automate tasks by accessing files, build applications using the popular Tkinter library, and create games by controlling graphics on screen. You will harness the power of the built-in graphics processor by using Pi3D to generate your own high quality 3D graphics and environments. And you'll learn how to monitor sensors to gather real-life data and use it to control other devices, and view the results over the Internet. Experiment using the Raspberry Pi camera module, including real-time image processing using the powerful OpenCV library.

Finally, we will explore using many of the purpose built add-ons available for the Raspberry Pi, as well as interfacing with common household devices in new ways.

商品描述(中文翻譯)

關於本書



  • 安裝您的第一個作業系統,透過網路分享檔案,並遠端執行程式

  • 使用這本實用指南,建構機器人並與自己的電路和特製附件進行介面連接,同時也能適應現成的家用設備

  • 充滿清晰的逐步指南,引導您了解 Raspberry Pi 的功能

本書適合對象


讀者預期熟悉程式設計概念和 Python(在可能的情況下使用 Python 3),雖然初學者可以在一本良好的 Python 參考書和背景閱讀的幫助下進行學習。不需要事先了解 Raspberry Pi 或電子學知識;然而,在硬體部分,您需要一些基本的電子元件/家用工具來建構一些專案。

您將學到什麼



  • 使用 Python 瞭解文字、檔案和建立快速選單

  • 利用圖形和使用者控制來開發自己的精彩遊戲

  • 使用 Raspberry Pi 強大的 GPU 創建 3D 世界

  • 掌控真實世界並與實體硬體進行介面連接,結合硬體和軟體滿足您的需求

  • 瞭解 Raspberry Pi 的硬體輸入/輸出,從基礎知識開始並進一步深入

  • 透過硬體擴充/附加模組擴展 Raspberry Pi 的功能

  • 使用 Raspberry Pi 創建自己的 Pi-Rover 或 Pi-Hexpod

  • 將感測器數據捕獲到 SQLite 資料庫並在自己的網頁伺服器上顯示

詳細內容


《Raspberry Pi for Python Programmers》是一本實用指南,幫助您充分利用這台小型電腦。本書首先引導您設置 Raspberry Pi 並使用 Python 3 執行任務,並介紹與電子學進行介面連接的第一步。隨著您逐章進行,您將逐漸建立技能和知識,並在書中進一步應用。


隨後,您將學習通過存取檔案來自動化任務,使用流行的 Tkinter 函式庫建立應用程式,並通過控制螢幕上的圖形來創建遊戲。您將利用內建的圖形處理器,使用 Pi3D 生成高品質的 3D 圖形和環境。您還將學習如何監測感測器以收集現實世界的數據,並將其用於控制其他設備,並在網際網路上查看結果。還可以使用 Raspberry Pi 相機模組進行實驗,包括使用強大的 OpenCV 函式庫進行即時影像處理。


最後,我們將探索使用許多專為 Raspberry Pi 設計的附加模組,以及以新的方式與常見家用設備進行介面連接。