Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Arduino Wearable Projects

You're reading from   Arduino Wearable Projects Design, code, and build exciting wearable projects using Arduino tools

Arrow left icon
Product type Paperback
Published in Aug 2015
Publisher
ISBN-13 9781785283307
Length 218 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Tony Effe A Olsson Tony Effe A Olsson
Author Profile Icon Tony Effe A Olsson
Tony Effe A Olsson
Arrow right icon
View More author details
Toc

Gesture tracking


For this chapter, I will be using an accelerometer breakout board based on the ADXL335 chip. You can basically use any accelerometer you find for this project. If you already have gone through this chapter, you might have the combined accelerometer/compass/gyro from earlier, which will also work. The reason for using the ADXL335 in this chapter is that it has a different form factor, which fits this project better. This accelerometer also makes readout on analog pins, so there is no need for I2C as presented in Chapter 3, Bike Gloves. Accelerometers are suited for measuring acceleration of gravity or as a result of motion of chocks, however, they are known to be very noisy sensors, which means that their readouts are not always exact. The following sketch demonstrates how to "smoothen" the readouts and how to display the information in degrees, as well as indicate which direction the accelerometer is moving.

First, we need to connect our accelerometer to the Blend Micro board...

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 €18.99/month. Cancel anytime