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)

Modifying our cap

To install our hardware into our baseball cap, we will need to make a few minor modifications! We will need to attach our Blinkt to the front of the cap and feed it to the attaching cable, which is soldered to Pi Zero through the hat; and attach the Pi Zero to the back of the cap. We will use a long USB to Micro USB cable so that we can keep the battery in our pocket and run the cable up to our cap to power Pi Zero.

We need to make a small hole in the cap to feed the cable with the pins soldered onto the end of it through our cap. We are going to end up with the strip of eight LEDs sitting on the peak of the cap, central aligned. As the cable connects to the left hand side of the LED strip (as you look at it), we will make our cut into the cap on the your right hand side of the cap (if you had it on your head!). Position the Blinkt strip at the peak of the hat...