{"product_id":"ir-break-beam-sensor-5mm-leds","title":"IR Break Beam Sensor (5mm LEDs)","description":"\u003cp\u003eInfrared (IR) break-beam sensors are a simple way to detect motion.\u003c\/p\u003e\n\u003cp\u003eThey work by having an emitter side that sends out a beam of human-invisible IR light, then a receiver across the way which is sensitive to that same light. When something passes between the two, and its not transparent to IR, then the 'beam is broken' and the receiver will let you know.\u003c\/p\u003e\n\u003cp\u003eCompared to PIR sensors, breakbeams are faster and allow better control of where you want to detect the motion. Compared to Sonar modules, they're less expensive. However, you do need both emitter and receiver on opposite sides of the area you want to monitor.\u003c\/p\u003e\n\u003cp\u003eThis is the \u003cstrong\u003e5mm IR \u003c\/strong\u003e\u003cstrong\u003eversion.  \u003c\/strong\u003eIt works up to 50cm \/ 20\". You can power it from 3.3V or 5V, but 5V will get you better range and is what we suggest. The receiver is \u003cem\u003eopen collector transistor output\u003c\/em\u003e which means that you do need a pull up resistor if you want to read a digital signal off the signal wire. Most microcontrollers have the ability to turn on a built in pull up resistor. If you do not, connect a 10K resistor between the white wire of the receiver and the red wire. If you want to control a relay or LED or whatever, it can sink up to 100mA to ground. The sensor wires have \u003cspan data-mce-fragment=\"1\"\u003ebare (tinned) ends.\u003c\/span\u003e\u003c\/p\u003e\n\u003cp\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/ir-breakbeam-sensors\" target=\"_blank\"\u003eCheck out Adafruits IR breakbeam tutorial for how to get started quickly\u003c\/a\u003e\u003c\/p\u003e\n\u003cp\u003eNeed more details? \u003ca href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/files\/HLT-DS50CM-5MM.pdf?12738780485592833743\" target=\"_blank\"\u003eCheck out the datasheet!\u003c\/a\u003e\u003c\/p\u003e","brand":"Generic","offers":[{"title":"Default Title","offer_id":1038377553,"sku":"COM1704","price":5.95,"currency_code":"EUR","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0174\/1800\/products\/IR_break_beam.JPG?v=1596209741","url":"https:\/\/shop.pimoroni.com\/en-eu\/products\/ir-break-beam-sensor-5mm-leds","provider":"Pimoroni Ltd","version":"1.0","type":"link"}