Ambient Light Sensor with Arduino © GPL3+

We need to sense intensity of light in many of our IoT/home automation projects. Here I explain a simple implementation of ambient sensor.

  • 9,999 views
  • 3 comments
  • 8 respects

Components and supplies

Apps and online services

About this project

TEMT6000 ambient light sensor is just another analog sensor.It is compatible with micro-controllers which supports analog data input. This sensor is working like a transistor. As light falling on sensor increases the analog output(SIGNAL) will increase.

If the light is very low then the SIG will be also very low as light increases the SIG will also goes high.

We can use TEMT6000 ambient light sensor from spark fun electronics in various applications that includes ambient light sensing. Like if you want to control your bulb according to ambient light then TEMT6000 ambient light sensor is best choice over simple LDRs. This one is more reliable that LDRs.

TEMT6000 is a silicon NPN epitaxial planar photo transistor. The device is sensitive to the visible spectrum. TEMT6000 is used as ambient light sensor for display back light dimming in mobile phones, Notebook computers, cameras etc.

The below circuit and code is for demonstrating basic working of TEMT6000 Ambient light sensor. Here we are using Arduino Pro Mini as our microcontroller. You can use either a battery or FTDI+USB for powering the board. Anyway if we want to see the data on serial monitor we need to use FTDI and USB. In the below code I am just reading the data and printing it into percentage of Ambient light. And arduino inbuilt LED will ON if the analog value from the sensor goes beyond certain value.

CONNECTION

ARDUINO PRO MINI SENSOR

VCC VCC

GND GND

A0 SIG

Code

Ambient light sensor

Schematics

Ambient light sensor

Comments

Similar projects you might like

Cellular IoT with Blynk & Hologram

by Moheeb Zara

  • 3,985 views
  • 9 comments
  • 12 respects

Music Adaptive RGB LED with Arduino and Processing

Project in progress by ounane mohamed elfarouk

  • 528 views
  • 3 comments
  • 7 respects

Step Sequencer

Project tutorial by costantinorizzuti

  • 715 views
  • 0 comments
  • 5 respects

Voice Controlled Rover

Project tutorial by Brink.IO

  • 437 views
  • 0 comments
  • 5 respects

WormGear Mechanism Test

Project tutorial by Brijesh Singh

  • 1,194 views
  • 3 comments
  • 4 respects

Add Remote Control to Your Lamp

Project tutorial by littlelab

  • 477 views
  • 0 comments
  • 3 respects
Add projectSign up / Login