Raspberry Pi 101

  • 設置最小的 Raspbian 作業系統到 Raspberry Pi
  • 安裝 Python 的虛擬環境。
  • 安裝和使用 Flask ,一個基於 Python 的網頁開發微架構
  • 安裝和使用 uWSGI 作為 Flask 應用伺服器
  • 安裝和使用 Nginx 輕量級 Web 伺服器
  • 使用 Raspberry Pi 的 GPIO 為數位輸入和輸出
  • 使用 DHT22 濕度和溫度感應器
  • 安裝和使用 SQLite 資料庫
  • 使用 Google API 來建立感應器資料的視覺話顯示
  • 使用 jQuery 加入網頁的互動性
  • 使用 Plotly 感應器數據的圖形分析
  • 為你的 Raspberry Pi 安裝並設定一個 USB 無線網路連接

1. Getting Started with the Raspberry Pi

初次啟動 Raspberry Pi 前準備


Adding Internet access
Accessing your Raspberry Pi 3 from your host PC
Setting up the Raspberry Pi Zero
Powering the board
Hooking up a keyboard, mouse, and display
* 安裝Raspberry Pi作業系統-Raspbian
* 在Raspberry PI 上安裝 node.js

Adding Internet access

2. Building Your Own Futuristic Robot

Modifying the R2D2
Adding wheels and motors
Connecting to the top of the R2D2
Controlling R2D2 using the Raspberry Pi in Python
Adding voice recognition
Using eSpeak to allow your robot to speak
Using PocketSphinx to accept your voice commands
Interpreting commands and initiating actions
Adding video capability
Downloading and installing OpenCV – a fully featured vision library
Controlling your R2D2 remotely

3. Building a Wall-E Robot

Creating the hardware platform
Adding the Raspberry P and a DC motor controller
Building Wall-E’s arms
Constructing the arms
Controlling Wall-E’s tracks using a Raspberry Pi in Python
How servo motors work
Using a servo controller to control the servos
Communicating between the servo controller and a PC
Controlling the Servo Controller with the Raspberry Pi
Creating a program in Linux to control Wall-E’s arms
Adding the Kinect 360 to your Wall-E
Accessing the Kinect 360 using the Raspberry Pi
Controlling your Wall-E remotely

4. Building a Robotic Fish

Creating the hardware platform
Adding the electronics to your fish
Adding the RaspiCamera
Controlling your fish remotely

5. Creating a Robotic Hand with the Raspberry Pi

Creating the hardware platform
Moving the hand
Connecting the servo controller to the Raspberry Pi
Controlling your hand
Following your hand

6. A Self-Balancing Robot

Creating the hardware platform
Adding the electronics to your platform
Controlling the DC motors
Reading the IMU
Accessing the compass programmatically
The balancing algorithm

7. Adding the Raspberry Pi to a Quadcopter

Accessing the hardware platform
Connecting to the hardware
Remote communication
Configuring the XBee device
Communicating over the XBee interface
Adding GPS to your quadcopter
Connecting the Raspberry Pi to a USB GPS device
Accessing the USB GPS programmatically





Web Server、Firewall