Adafruit Logo
0
  • SHOP
  • LEARN
  • BLOG
  • FORUMS
  • VIDEOS
  • IO
  • SIGN IN
  • CLOSE MENU
  • Shop
  • Learn
  • Blog
  • Forums
  • Videos
  • Adabox
  • IO
Sign In
0
Adafruit Logo
  • Explore & Learn
    GUIDE CATEGORIES
    (SEE ALL 1758)
    • ADABOX (48)
    • ADAFRUIT PRODUCTS (276)
    • ARDUINO COMPATIBLES (387)
    • BREAKOUT BOARDS (138)
    • CIRCUIT PLAYGROUND (233)
    • COLLIN'S LAB (8)
    • COMPONENTS (110)
    • COMMUNITY SUPPORT (23)
    • CUSTOMER & PARTNER PROJECTS (31)
    • DEVELOPMENT BOARDS (54)
    • EDUCATORS (34)
    • EL WIRE/TAPE/PANEL (13)
    • FEATHER (182)
    • HACKS (49)
    • INTERNET OF THINGS - IOT (159)
    • LCDS & DISPLAYS (183)
    • LEDS (366)
    • MAKER BUSINESS (34)
    • MICRO:BIT (11)
    • MICROCONTROLLERS (324)
    • PROGRAMMING (195)
    • PROJECTS (215)
    • RASPBERRY PI (355)
    • ROBOTICS & CNC (84)
    • SENSORS (356)
    • TOOLS (64)
    • WEARABLES (231)
    • 3D PRINTING (292)
    • CRICKIT (48)
    • MAKECODE (113)
    • TRELLIS (31)
    NEW GUIDES
    (SEE ALL 107)
    • Make It Pulse MAKE IT PULSE
    • A CLI in CircuitPython A CLI IN CIRCUITPYTHON
    • Obsidian Sword – Steven Universe OBSIDIAN SWORD – STEVEN UNIVERSE
    • Robotic Xylophone with Adafruit Grand Central ROBOTIC XYLOPHONE WITH ADAFRUIT GRAND CENTRAL
    FEATURED GUIDES
    (SEE ALL 29)
    • All About Batteries ALL ABOUT BATTERIES
    • Adafruit NeoPixel Überguide ADAFRUIT NEOPIXEL ÜBERGUIDE
    • HalloWing Light Paintstick HALLOWING LIGHT PAINTSTICK
    • Cartoon Network MakeCode: Garnet's Gauntlets from Steven Universe CARTOON NETWORK MAKECODE: GARNET'S GAUNTLETS FROM STEVEN UNIVERSE

Arduino Lesson 9. Sensing Light

Learn Arduino, Lesson 9. Sensing Light
  • Overview
  • Parts
  • Breadboard Layout
  • Photocells
  • Arduino Code
  • Other Things to Do
  • Featured Products
  • Single Page
  • Download PDF

Contributors

Simon Monk
Feedback? Corrections?
COMPONENTS SENSORS / LIGHT ARDUINO COMPATIBLES / LEARN ARDUINO LEARN ARDUINO (10 of 18)

Breadboard Layout

by Simon Monk

The breadboard layout for this lesson is the same as for lesson 8, except that the pot is replaced by an LDR and a 1 kΩ resistor.

Here is the layout for lesson 8, near the pot.

learn_arduino_fritzing_with_pot.jpg

Simply remove the pot and replace it with the photocell and resistor as shown below:

learn_arduino_fritzing_with_ldr.jpg
PARTS PHOTOCELLS
This guide was first published on Dec 11, 2012. It was last updated on Dec 11, 2012. This page (Breadboard Layout) was last updated on May 04, 2015.
Photo cell (CdS photoresistor)
$0.95
Add to Cart
Diffused Red 5mm LED (25 pack)
$4.00
Add to Cart
Premium Male/Male Jumper Wires - 40 x 6" (150mm)
$3.95
Add to Cart
Half-size breadboard
$5.00
Add to Cart
Adafruit METRO 328 Fully Assembled - Arduino IDE compatible
$17.50
Add to Cart

Related Guides

Learn Arduino, Lesson 13. DC Motors
Arduino Lesson 13. DC Motors
by Simon Monk
Maximum blinkenlights, minimum effort!
Tiny Arduino Music Visualizer
by Phillip Burgess
One GPS to rule them all and in the darkness find them!
Adafruit Ultimate GPS
by lady ada
Records and plays a variety of audio formats
Adafruit VS1053 MP3/AAC/Ogg/MIDI/WAV Codec Breakout Tutorial
by Bill Earl
×
OUT OF STOCK NOTIFICATION

You have been successfully subscribed to the Notification List for this product and will therefore receive an e-mail from us when it is back in stock!

For security reasons, an e-mail has been sent to you acknowledging your subscription. Please remember that this subscription will not result in you receiving any e-mail from us about anything other than the restocking of this item.

If, for any reason, you would like to unsubscribe from the Notification List for this product you will find details of how to do so in the e-mail that has just been sent to you!

CLOSE NOTIFY ME
  • CONTACT
  • SUPPORT
  • DISTRIBUTORS
  • EDUCATORS
  • JOBS
  • FAQ
  • SHIPPING & RETURNS
  • TERMS OF SERVICE
  • PRIVACY & LEGAL
  • ABOUT US
ENGINEERED IN NYC Adafruit ®
"the future is not what it used to be" - Robert Graves