31.07.2015 Views

A-Teachers-Guide-to-the-Intel-Galileo-Final

A-Teachers-Guide-to-the-Intel-Galileo-Final

A-Teachers-Guide-to-the-Intel-Galileo-Final

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

39 | Beginning with ArduinoBuilding a night light: using a pho<strong>to</strong>cell and LEDOverviewThis activity combines <strong>the</strong> use of a pho<strong>to</strong>cell (light-dependent resis<strong>to</strong>r) as an input <strong>to</strong> <strong>the</strong> <strong>Intel</strong>®<strong>Galileo</strong> Gen 2 board with an LED as an output, <strong>to</strong> operate when in dark and turn off when inlight (a night light). Programming code is minimal and operation can easily be calibrated, usinga 10K potentiometer, <strong>to</strong> any room of <strong>the</strong> house. Some basic paper cutting and manipulation isrequired <strong>to</strong> enhance <strong>the</strong> lighting effect.Materials»»1 x <strong>Intel</strong>® <strong>Galileo</strong> Gen 2 board»»1 x 12V Power supply»»1 x Micro USB lead»»1 x Breadboard»»4 x Jumper leads (M-F)»»1 x Jumper lead (M-M)»»1 x Pho<strong>to</strong>cell»»1 x 5mm red LED»»100 Ω Resis<strong>to</strong>rO<strong>the</strong>r items required»»1 x A4 sheet of white paper»»Masking tape

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!