Book Image

Wearable-Tech Projects with the Raspberry Pi Zero

By : Jon Witts
Book Image

Wearable-Tech Projects with the Raspberry Pi Zero

By: Jon Witts

Overview of this book

With Wearable-Tech Projects with the Raspberry Pi Zero, you will begin with learning how to install the required software for your upcoming projects. You will also learn how to control electronic devices with the GPIOZero Python library. Next, you will be creating some stylish wearable-tech projects such as a motion-reactive LED cap and a Tweet-activated LED T-shirt. Toward the end of the book, you will be creating some useful health and fitness wearable-tech projects; these will help you monitor your heart rate, track your movements with GPS, and count your footsteps with your own pedometer. By the end of the book, you will have created a range of wearable-tech projects and learned enough about your Raspberry Pi Zero that you should be able to adapt these projects further or come up with your own creations!
Table of Contents (10 chapters)

Summary

In this chapter, we attached a serial device to our Pi Zero and configured the hardware serial port on the Pi Zero to allow us to communicate with it. We then looked at a number of ways we could read the data coming over the serial port, from reading the raw data to sending it into a specific program. We finally looked at using that data stream in our Python programs.

You learned about the SimpleKML program and how we can use this to create files of our GPS data, which we can easily upload into Google Maps or Google Earth to visualize the GPS data we are logging.

We finally pulled this all together into an automated program, which will run headless. It will enable us to start and stop our GPS tracking whenever we want by saving the logs to our Pi Zero ready for us to upload them to our mapping service when we return home.