Datasheet

IDUINO for Maker’s life
www.openplatform.cc
2. Pinout
Pin
Description
“+”
Power(3.3V~5V DC)
Gnd
ground
out
Signal pin
EN
Enable pin that Low level works, usually
useless
3.Example
Here is a small example to test the sensor. By default, the sensor returns 1 on the Serial
Monitor. When detecting something, the sensor return 0.
The connection as below:
******Code begin******
int count;
void setup() {
Serial.begin (9600);
pinMode (9, INPUT); //Sensor output
}
void loop() {