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

Light dependent resistors

In this example, we will have a closer look at an LDR. The principal behind it is the same as the bend sensor used in previous bend sensor example. Depending on the light levels cast onto the sensor, the sensor changes its output voltage. LDR comes in different shapes and sizes and the LDR used in Figure 2.8 comes premounted with a surface mounted resistor on a small PCB manufactured by Adafruit. The principal of the PCB is similar to the circuit created using a breadboard and components in Figure 2.3.

Light dependent resistors

Figure 2.8: A PCB mounted LDR and resistor

The difference is that in the case of the PCB, in this example, everything is mounted nicely and we only need to attach it to the FLORA board using alligator clips. As shown in Figure 2.8, the LDR PCB has three connections VCC, OUT, and GND. Sometimes VCC is used to indicate power in. OUT in this case is the output signal, which is an analog signal. In Figure 2.9, you will find the necessary connections to the FLORA 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 $19.99/month. Cancel anytime