We have 86 units in our Sydney Warehouse available for immediate dispatch.
We can get a further 1000 units into Australia from Little Bird. If you order today, we can dispatch this stock between Nov 18, 2024 - Dec 05, 2024.
Infrared obstacle sensor is designed for adding to your robot so that it can avoid obstacles.
Specifications
- IO Interface: 4-wire interfaces (- / + / S / EN)
- Output signal: TTL level (low level there is an obstacle, no obstacle high)
- Adjustment: adjust multi-turn resistance
- Effective angle: 35 °
- Size: 28mm × 23mm
- Working voltage: DC 3.3V-5V
- Working current: ≥ 20mA
- Operating temperature: -10 ℃ - +50 ℃
- detection distance :2-40cm
Pinout
- "+" - power
- Gnd - ground
- out - signal out
- EN - Enable pin
Code:
int count;
void setup() {
Serial.begin (9600);
pinMode (9, INPUT); //Sensor output
}
void loop() {
Serial.print ("Sensor: ");
Serial.println (digitalRead(9)); //print the sensor output
delay (500); //wait half a second
}
To calibrate - hold your hand 10cm away, turn the right knob. When the light on board goes red remove your hand. You can fine tune with the left knob.