更新时间:2021-07-23 20:32:04
coverpage
Raspberry Pi Mechatronics Projects HOTSHOT
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Support files eBooks discount offers and more
Preface
What this book covers
What you need for this book
Who this book is for
Conventions
Mission briefing
Task 1
Reader feedback
Customer support
Chapter 1. Hello World
A quick introduction to the Raspberry Pi
Where can I buy a Raspberry Pi?
Hunting and gathering
Setting up the GPIO
GPIO programming using Python
Electrical output of our program
Mission accomplished
Hotshot challenge
Chapter 2. A Raspberry WebIDE Example
Installation features and usage of the Occidentalis operating system from Adafruit
Setup of a remote login into the Raspberry Pi
Installation of the Raspberry Pi WebIDE
Python development on the WebIDE
Test and debugging examples using the WebIDE
Chapter 3. The Arduino Raspberry Pi Interface
Installing the Arduino IDE
Programming the Arduino using the Raspberry Pi
Raspberry Pi AlaMode
The Weasley weather clock
Controlling the stepper using the Arduino
Controlling the RGB LED Strip using the Arduino
I2C Communication using the Arduino (optional)
Serial port communication with the Raspberry Pi
Chapter 4. Christmas Light Sequencer
Interface the devices to the Raspberry Pi
Setting up the digitally addressable RGB matrix
Interface of an audio device
Installing the web server
Interfacing the web server
Chapter 5. Internet of Things Example – An E-mail Alert Water Fountain
Installation of the Flask framework
Controlling RGB LEDs from a web page
Setup of the e-mail alerts in the fountain
Chapter 6. Raspberry Pi as a Personal Assistant
Setting up the e-mail feed parser
Setting up the parser for reminders and events
Designing an enclosure design for the personal assistant
Setting up the assembly for the dish monitor
Setting up sensors for the key alert system
Hotshot challenges
References
Chapter 7. Raspberry Pi-based Line Following Robot
Assembly of the Pi Plate for the line following robot
Sensor selection interface and data interpretation
Implementation of line following logic based on sensor data
Testing the motor driver circuit
Preparation of the line following course
Designing the chassis for the line following robot
A step-by-step assembly of the robot
Chapter 8. Connect Four Desktop Game using Raspberry Pi
Hello world example with the pygame
Getting started with the Connect Four game (UI and sound effects)
Interfacing game inputs using the PiFace module
A brief description of the Connect Four Game AI
Marquee design and control (optional)
Setup of the switches using a cardboard box
Chapter 9. The Raspberry Pi-enabled Pet/Wildlife Monitor
Installing and testing the python-twisted framework
Setting up and testing Spark Core to interact with appliances
Installing and testing the Google Coder project on the Raspberry Pi
A brief overview of a bird feeder that triggers a camera