IR break-beam sensor pair (3 mm, up to 25 cm)
An invisible tripwire: it notices when something passes between the two halves.
Emitter + receiver pair: the receiver's open-collector output goes LOW while the beam is unbroken. Works up to about 25 cm (better at 5 V). 3.3-5.5 V; emitter draws 10 mA at 3.3 V, 20 mA at 5 V. Each half 20 x 10 x 8 mm, 230 mm leads.
Electrical
- Supply voltage
- 3.3 to 5.5 V
- Current
- 10 mA typical, 20 mA max
- Talks over
- digital
Needs alongside it
- Receiver output is open collector: use INPUT_PULLUP.
Pins
| Pin | Can do | Max V | Max mA |
|---|---|---|---|
| TX+ | 3.3 V, 5 VEmitter red wire. | ||
| TX- | groundEmitter black wire. | ||
| RX+ | 3.3 V, 5 VReceiver red wire. | ||
| RX- | groundReceiver black wire. | ||
| OUT | digitalReceiver white wire, open collector: needs a pull-up. |
Size and material
- Size
- 20 × 8 × 10 mm
- Material
- plastic
- Sold by the
- set
Works with
- Arduino Uno R3
- Arduino Nano
- Arduino Mega 2560 Rev3
- Arduino UNO R4 WiFi
- Arduino UNO R4 Minima
- Arduino Nano ESP32
- ESP32 DevKitC (ESP32-WROOM-32, 38-pin)
- ESP32-S3-DevKitC-1 (N8R8)
- Adafruit ESP32-S3 Feather (4 MB flash, 2 MB PSRAM)
- Seeed XIAO ESP32S3 Sense (camera + mic)
- Seeed XIAO ESP32C3
- Seeed XIAO ESP32C6
- Raspberry Pi Pico (RP2040)
- Raspberry Pi Pico W (RP2040, Wi-Fi)
- Raspberry Pi Pico 2 (RP2350)
- Raspberry Pi Pico 2 W (RP2350, Wi-Fi)
- Seeed XIAO RP2040
- Seeed XIAO nRF52840 (Bluetooth LE)
- Raspberry Pi 5 (4 GB)
- Raspberry Pi 4 Model B (4 GB)
- Raspberry Pi Zero 2 W
Projects using it
No public project uses it yet. Design one that does.