Mô Đun Cảm Biến Ánh Sáng Cho Arduino
₫ 18.608
Sản phẩm Mô Đun Cảm Biến Ánh Sáng Cho Arduino đang được mở bán với mức giá siêu tốt khi mua online, giao hàng online trên toàn quốc với chi phí tiết kiệm nhất,0 đã được bán ra kể từ lúc chào bán lần cuối cùng.Trên đây là số liệu về sản phẩm chúng tôi thống kê và gửi đến bạn, hi vọng với những gợi ý ở trên giúp bạn mua sắm tốt hơn tại Pricespy Việt Nam
The module features:
1, using sensitive type photosensitive resistance sensor
2, the comparator output, signal clean, good waveform, driving ability is strong, for more than 15 ma.
3, with adjustable potentiometer can detect light brightness adjustment
4, the working voltage of 3.3 V to 5 V
5, the output form: digital switch output (0 and 1)
6, has a fixed bolt hole, convenient installation
7, small board PCB size: 3.2 cm x 1.4 cm
8, using the LM393 wide voltage comparator
Module instructions
1, the photosensitive resistance module's most sensitive to ambient light, generally used to detect the environment around the brightness of the light, or MCU trigger relay module, etc.;
2, module in the environment light intensity short of setting threshold, output high level DO end, when the environment light intensity more than set threshold, output DO low level;
3, the DO output can be attached directly to the single chip microcomputer, through single chip microcomputer to detect the high and low level, thus to detect the environment light intensity change;
4, the DO output can be directly driven our relay module, which can form a light-operated switch.
Source code:
Aduino test program for DO connection (for example) :
Aduino test program for DO connection (for example) :
Int Led = 13; / / define LED interface
Int buttonpin = 3; / / define the photosensitive resistance sensor interface
Int val. / / define digital variable val
Void setup ()
{
PinMode (Led, the OUTPUT); / / define the LED for the output interface
PinMode (buttonpin, INPUT); / / define photosensitive resistance sensor as the input interface
}
Void loop ()
{
Val = digitalRead (buttonpin); / / to assign the value of digital interface 3 read val
If (val = = LOW) / / when the photosensitive resistance sensors have a signal, the LED light
{
DigitalWrite (Led, HIGH);
}
The else
{
DigitalWrite (Led, LOW);
}
}
}
If (RI)
{
The date = SBUF; / / microcontroller to accept
SBUF = date; / / microcontroller send
RI
1, using sensitive type photosensitive resistance sensor
2, the comparator output, signal clean, good waveform, driving ability is strong, for more than 15 ma.
3, with adjustable potentiometer can detect light brightness adjustment
4, the working voltage of 3.3 V to 5 V
5, the output form: digital switch output (0 and 1)
6, has a fixed bolt hole, convenient installation
7, small board PCB size: 3.2 cm x 1.4 cm
8, using the LM393 wide voltage comparator
Module instructions
1, the photosensitive resistance module's most sensitive to ambient light, generally used to detect the environment around the brightness of the light, or MCU trigger relay module, etc.;
2, module in the environment light intensity short of setting threshold, output high level DO end, when the environment light intensity more than set threshold, output DO low level;
3, the DO output can be attached directly to the single chip microcomputer, through single chip microcomputer to detect the high and low level, thus to detect the environment light intensity change;
4, the DO output can be directly driven our relay module, which can form a light-operated switch.
Source code:
Aduino test program for DO connection (for example) :
Aduino test program for DO connection (for example) :
Int Led = 13; / / define LED interface
Int buttonpin = 3; / / define the photosensitive resistance sensor interface
Int val. / / define digital variable val
Void setup ()
{
PinMode (Led, the OUTPUT); / / define the LED for the output interface
PinMode (buttonpin, INPUT); / / define photosensitive resistance sensor as the input interface
}
Void loop ()
{
Val = digitalRead (buttonpin); / / to assign the value of digital interface 3 read val
If (val = = LOW) / / when the photosensitive resistance sensors have a signal, the LED light
{
DigitalWrite (Led, HIGH);
}
The else
{
DigitalWrite (Led, LOW);
}
}
}
If (RI)
{
The date = SBUF; / / microcontroller to accept
SBUF = date; / / microcontroller send
RI