Book Image

Raspberry Pi Embedded Projects Hotshot

Book Image

Raspberry Pi Embedded Projects Hotshot

Overview of this book

Table of Contents (20 chapters)
Raspberry Pi Mechatronics Projects HOTSHOT
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

A simple exercise tool using the Raspberry Pi


In this task, we will review a fun example that enables a person to be physically active every 60 minutes.

Prepare for lift off

This example is based on the Twisted framework discussed in the previous project. It would be great to have two Raspberry Pi boards (set up with the SD card images and powered up) or an Arduino Ethernet board. A laptop that is connected to the same network as the Raspberry Pi is just as sufficient.

If you missed installing the Twisted framework in the previous project, the Twisted framework can be installed as follows:

sudo apt-get install python-twisted

Note

If the second device is a Raspberry Pi or a laptop that runs Linux, Mac, or Windows operating systems, the Twisted framework needs to be installed on the second device as well.

Engage thrusters

  1. Let's perform a quick review of what we will build in this project:

    • Let's consider two devices that can be connected to a network. One of the devices is a Raspberry Pi while the...