Product | Sensors | Light Sensor | Light Sensor -Arduino Compatible
Light Sensor -Arduino Compatible
Light Sensor -Arduino Compatible
41848
 
US$3.58 Loading ...
 
Share/Save/Bookmark


Arduino Light Sensor


We can build electronics projects just as easy as piling bricks. Arduino and community have made the programming much easier than ever before. How about some elixir on hardware part? Maybe it is not yet convenient to make complex interfaces, but we can at least start from the most commonly used modules.

By using electronic bricks, you may connect Arduino compatible boards easily with various digital, analog and I2C/Uart interfaces. These the breadboard-less firm connection are prepared to extensive modules like poteniometers, sensors, relays, servos...even buttons, just plug and play.

Each terminal module has buckled port with VCC, GND and Output, which has corresponding port on the sensing board, with a plain 2.54mm dual-female cable you may start playing already. Buckled brick cables are like cement for bricks, make the connections easier, secure and more professional looking.

It is very interesting Electronic Brick Module

This module can be used with Arduino Special Sensor Shield V4.0.

You can do some simple design about it,it support“plug and play”.

Light Sensing Brick

This brick is based on photoresistor, can be used to detect intensity of environment illumination.

 



First, connect Arduino with Arduino Special Sensor Shield V4.0 :




Then connect light sensor with No.6 interface(A5) of analog input port of Arduino Sensor Shield  through the analog sensor cables :




Then download the programmer below into Arduino through Arduino integrated development environment:

Test Code :

int LightSensor =0;

int LED = 0;
void setup()
{
pinMode(LED,OUTPUT);
}
void loop()
{
int val=0;
val=analogRead(LightSensor);
if (val<0x200)
{
digitalWrite(LED,HIGH);

}
else
{
digitalWrite(LED,LOW); // turn off the light
}
}

 


Connecting Diagram :




This sensor module come with 3 Pin Dual-female Jumper Wire length 300mm as below :
 



Write a review
*Review title
Please enter subject.
*Your review
Please enter review.
*Rating
(Click star icon to comment)
 
Display name
*Enter security code

CAPTCHA

Please enter code
Loading ...
Newsletter

Join our newsletter today, to get latest product information and promotion code.

Join
Loading ...