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)

Connecting our Pi Zero to the internet

So, we have our Pi Zero listening to Twitter and lighting up our LEDs on our desk at home, but what if we want to wear our t-shirt out and about and have it still work? To make this work, we are going to need to connect our Pi Zero to some form of mobile Internet connection. There are many ways in which we could do this, but the easiest, by far, is to make use of the mobile data on our smart phone and create a mobile hotspot between our smart phone and our Pi Zero.

The method of doing this for each smart phone will vary slightly, and if you do not know how to do it with your type of phone, a quick Google search should yield the results you need. Once you have set up a mobile hotspot on your phone, you will need to take note of the network name or SSID of your hotspot and the password or key.

With those two pieces of information recorded,...