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 saw how we can attach analog sensors to our Pi Zero with the use of an ADC, and how we can add 5V sensors to our 3.3V Pi Zero with the use of a simple resistor-based voltage divider. We have also gone a bit further with our use of the Scroll pHAT HD by creating two different areas on our display, which update at different intervals.

The program for monitoring our heart rate introduces some more advanced mathematics to keep a track of the high and low pulses of our sensor, tracking the time between them, and calculating the average of a set of ten of these beats to calculate our BPM.

You can see a video of my completed heart rate monitor at https://www.youtube.com/watch?v=CaQMu6f1UJ8

In our next and final chapter, we will create our own GPS tracker, which we can use to log where and how far we move, while we are out and about!

...