Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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 A hands-on approach for creating wearables from prototype to purpose using Arduino systems

Arrow left icon
Product type Paperback
Published in Oct 2022
Publisher Packt
ISBN-13 9781803230597
Length 526 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Christine Farion Christine Farion
Author Profile Icon Christine Farion
Christine Farion
Arrow right icon
View More author details
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 FREE CHAPTER 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

Understanding the I2C and SPI protocols 

Connecting our sensors and devices is mostly done using two different protocols. Some devices can use both, offering you the choice. First, let’s learn about I2C.

What is I2C?

I2C (also written as I2C and IIC) is an acronym for Inter-Integrated Circuit. It is a two-wire serial communication protocol (Figure 5.31), using serial data (SDA), and serial clock (SCL) lines. It is for communicating with sensors and devices. You can tell whether the sensor or device uses the I2C protocol because it has two pins specifically for data and clock. It uses these two connections for transmitting and receiving data. The data communicated is transferred bit by bit through the SDA line.

The I2C protocol is synchronous, meaning that the output of bits is synchronized by a shared clock signal. This is shared with a microcontroller and sensor (previously called master and slave). You will still come across these terms, which...

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 $19.99/month. Cancel anytime
Banner background image