Reader small image

You're reading from  Wearable-Tech Projects with the Raspberry Pi Zero

Product typeBook
Published inJul 2017
Reading LevelIntermediate
PublisherPackt
ISBN-139781786468819
Edition1st Edition
Languages
Right arrow
Author (1)
Jon Witts
Jon Witts
author image
Jon Witts

Jon Witts has been working within the IT industry since 2002 and specifically within Educational IT since 2004. He was introduced to Linux back in 2001 through his collaboration with two German artists who were visiting the arts organisation he was then working with. Having studied Fine Arts and Educational Technology and sought to innovate with open and accessible digital technologies within his creative practice, Jon is happiest when deconstructing technology and finding its limits. Jon has embedded within his school the use of Raspberry Pi computers, as an integral part of the delivery of the school's Computer Science curriculum as well as to run various school clubs and projects. Jon is a Raspberry Pi Certified Educator and also helps to organise and run the Hull Raspberry Jam events. I would like to thank my wife, Sally and our three daughters for putting up with all the cables and compoents around the house, and not least for being so tolerant of the need to dodge the robots racing round the kitchen floor!
Read more about Jon Witts

Right arrow

What this book covers

Chapter 1, About the Raspberry Pi. This chapter introduces the Raspberry Pi Zero computer that we will be using throughout the book; it explains how to get the required software installed and running. We will look at how we can connect to our Pi Zero over SSH from a remote computer so we can program it without having to attach a monitor, keyboard or mouse. We will then look at how we can control basic electronic devices using the Python GPIOZero library. Finally, we will wire up an 'off switch' to our Pi Zero, so that when it is running headless in our later projects, we can safely power it 'off'.

Chapter 2, Scrolling LED Badge. In this chapter we will make a scrolling LED badge that you can program to display any message across and can be worn while out and about. We will make use of the Scroll pHAT HD from Pimoroni and our Pi Zero to create your badge. We will also look at how we can incorporate a battery pack to make this a portable solution. We will use Python to program our Scroll pHAT HD to display whatever message we want. Finally, we will look at ensuring this program runs as soon as we turn on our Pi Zero.

Chapter 3, Sewable LEDs in Clothing. This chapter uses stitchable LEDs and conductive thread to transform an item of clothing into a sparkling LED piece of wearable-tech, controlled with a Pi Zero hidden in the item of clothing. We will incorporate a Pi Zero and battery into a hidden pocket in the garment and connect our stitchable LEDs to the Pis GPIO pins so that we can write a Python program to control the order and timings of the LEDs.

Chapter 4, A Motion-Reactive LED Cap. In this chapter we will make use of a Pimoroni Blinkt LED strip, an Adafruit Triple-Axis Accelerometer and a Pi Zero to create a cap with a super-bright strip of RGB LEDs across the front. This will change its colors and display pattern, based upon the direction and speed that the wearer moves.

Chapter 5, A Tweet activated LED T-shirt. This project shows us how to incorporate some LEDs into another item of clothing, a t-shirt or jumper, and again wire them back to a hidden Pi Zero and battery pack. With our Pi Zero connected to a Wi-Fi network, we will then write a program, which monitors Twitter and listens out for trigger phrases. Whenever these trigger phrases are detected, our LEDs will light up in the different patterns we have programmed them to.

Chapter 6, An LED Laptop bag. Here we will cut and resolder an Adafruit DotStar Strip into a matrix of super-bright, controllable RGB LEDs. We will then attach this matrix to the front of a laptop bag. Next, we will hide our Pi Zero and battery pack inside the pocket of the bag and write the Python program to control our RGB LED matrix.

Chapter 7, Create Your Own pedometer. In this chapter we will make use of an Adafruit Triple-Axis Accelerometer, a Pimoroni Scroll pHAT HD, and a Pi Zero to create our own pedometer. Once we have connected the accelerometer and Scroll pHAT HD to the Pi Zero, we will write the program, which reads the data from the accelerometer and converts it into steps taken. We will then complete our program to make it display the updating step count on the Scroll pHAT HD.

Chapter 8, Create Your Own Heart Rate Monitor. With this project, we will use a Pulse Sensor Amped to create our own heart rate monitor device. We will add a Pimoroni Enviro pHAT and a Scroll pHAT HD to enable us to read the sensor data and display an animation of a heart beating in time with ours. As well as this, the device will display our heart's current BPM on the Scroll pHAT HD.

Chapter 9, Create Your Own GPS Tracker. Our final chapter will see us create a portable GPS tracker for bikers, runners or walkers to use when out and about. The GPS tracker will log your GPS coordinates, including elevation and time. We will also configure the Pi to create a file in the correct format for you to import into Google Maps or Google Earth to plot the course you have taken.

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
Wearable-Tech Projects with the Raspberry Pi Zero
Published in: Jul 2017Publisher: PacktISBN-13: 9781786468819

Author (1)

author image
Jon Witts

Jon Witts has been working within the IT industry since 2002 and specifically within Educational IT since 2004. He was introduced to Linux back in 2001 through his collaboration with two German artists who were visiting the arts organisation he was then working with. Having studied Fine Arts and Educational Technology and sought to innovate with open and accessible digital technologies within his creative practice, Jon is happiest when deconstructing technology and finding its limits. Jon has embedded within his school the use of Raspberry Pi computers, as an integral part of the delivery of the school's Computer Science curriculum as well as to run various school clubs and projects. Jon is a Raspberry Pi Certified Educator and also helps to organise and run the Hull Raspberry Jam events. I would like to thank my wife, Sally and our three daughters for putting up with all the cables and compoents around the house, and not least for being so tolerant of the need to dodge the robots racing round the kitchen floor!
Read more about Jon Witts