Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Ultimate Guide to Informed Wearable Technology

You're reading from  The Ultimate Guide to Informed Wearable Technology

Product type Book
Published in Oct 2022
Publisher Packt
ISBN-13 9781803230597
Pages 526 pages
Edition 1st Edition
Languages
Author (1):
Christine Farion Christine Farion
Profile icon Christine Farion
Toc

Table of Contents (22) Chapters close

Preface 1. Part 1:Getting Started with Wearable Technology and Simple Circuits
2. Chapter 1: Introduction to the World of Wearables 3. Chapter 2: Understanding and Building Electronic Sewable Circuits 4. Chapter 3: Exploring e-textile Toolkits: LilyPad, Flora, Circuit Playground, and More 5. Chapter 4: Implementing Arduino Code Using Gemma M0 and Circuit Playground 6. Part 2:Creating Sewable Circuits That Sense and React Using Arduino and ESP32
7. Chapter 5: Working with Sensors: All About Inputs! 8. Chapter 6: Exploring Reactions Through Outputs 9. Chapter 7: Moving Forward with Circuit Design Using ESP32 10. Part 3:Learning to Prototype, Build, and Wear a Hyper-Body System
11. Chapter 8: Learning How to Prototype and Make Electronics Wearable 12. Chapter 9: Designing and Prototyping Your Own Hyper-Body System 13. Chapter 10: Soldering and Sewing to Complete Your Project 14. Part 4:Getting the Taste of Designing Your Own Culture-Driven Wearable and Beyond
15. Chapter 11: Innovating, with a Human-Centered Design Process 16. Chapter 12: Designing for Forgetfulness: A Case Study of Message Bag 17. Chapter 13: Implementing the Best Solutions for Creating Your Own Wearable 18. Chapter 14: Delving into Best Practices and the Future of Wearable Technology 19. Index 20. Other Books You May Enjoy Appendix: Answers and Additional Information

Using an Application Programming Interface (API) for live data

An API allows two computers to talk to each other. When you check the weather or access services, you’re using an API. In a sense, it’s a messenger; it sends a message to a service, such as the weather service, saying that you are requesting data and what the data that you’re requesting is, and then it is returned to you. The API key is the code that gets sent to identify who you are (whether a user or a developer) and it sends the requested information to you if the key is correct. This often is based on the type of account you hold with the API provider.

We’ll be setting up a free account to access an API for weather data. This next activity will take us through the process step by step.

Activity 7.7 – Connecting to an API

In this activity, we’ll use the ESP32 to request the weather data relevant to our specific predetermined locations, using an API for live data. We...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}