DFRobot 5V IR Photoelectric Switch (4m)
Description
- DFRobot 5V IR Photoelectric Switch (4m)
- Features swift and stable response within 0.5 ms
- Compact size allows for easy installation in tight spaces
- Operates effectively in temperatures from -10 to 60 °C
- Ideal for use in smart robot competitions with Arduino
- Differentiated transmitter and receiver for easy identification
The DFRobot 5V IR Photoelectric Switch (4m) is an infrared break-beam sensor designed for motion detection. It operates by emitting a beam of IR light, invisible to the human eye, from one side, while a receiver on the other side is sensitive to this light. When an object, not transparent to IR, interrupts this beam, the receiver outputs a signal, indicating that the beam has been broken.
This sensor is capable of functioning up to a distance of 4 m and provides a swift and stable response within 0.5 ms. Its compact size allows for convenient installation in confined spaces. The sensor is designed to operate within a temperature range of -10 to 60 °C and is powered by a DC 5V voltage.

This device can be utilized in conjunction with Arduino in smart robot competitions for tasks such as simple motion detection, speed detection, and timing. The product is characterized by its 4 m detection range, compact size, and rapid response time.
The sensor's transmitter and receiver are differentiated by their respective green and black PCBs. The transmitter is equipped with a red wire for 5V, a black wire for GND, and a green wire that is floating. Similarly, the receiver has a red wire for 5V, a black wire for GND, and a blue wire for output.
- 1x DFRobot 5V IR Photoelectric Switch (4m)

- Operating Voltage: DC 5V
- Output Current: 30 mA
- Output Power: 100 mW
- Sensing Range: 4 m
- Sensing Mode: thru-beam (for non-transparent objects)
- Wavelength: 830 nm
- Emitting Angle: straight line (infrared light)
- Receiving Angle: ±5°
- Response Time: 0.5ms
- Operating Temperature: -10 ~ +60 °C
- Storage Temperature: -20 ~ +80 °C
- Transmitter: red wire-5V, black wire-GND, green wire-floating
- Receiver: red wire-5V, black wire-GND, blue wire-out
- Green PCB for the transmitter
- Black PCB for the receiver
Estimate shipping
Refund Policy
If you are not satisfied with a product purchased from the Site, you may request a return within 30 days from the delivery date, unless the product is listed under the Return Exceptions below or is subject to specific return conditions noted on the product page.
This return policy also applies, as a minimum standard, to products sold and fulfilled by third-party vendors through the Marketplace.
Please review the Return Conditions, Return Exceptions and the process on How to Request a Return Authorization (RA) before initiating a return request.
Returns under this policy concern non-defective products. In the case of a confirmed manufacturing defect, remedies are handled under the Warranty terms, at the Vendor's discretion. See the Warranty section.
Return Conditions
To qualify for a refund under the 30-day return policy, all of the following conditions must be met:
- A valid Return Authorization (RA) number must be obtained prior to returning the product. Returns without an RA number will be refused.
- The RA number is valid for 30 days. The returned item must be received within that period.
- The RA number must be included with the return.
- Products must be returned in unused, unmodified condition (e.g., no scratches, alterations, missing parts, or signs of installation/use) and in their original packaging, suitable for resale.
- Shipping fees are non-refundable. Return shipping costs are the responsibility of the customer, except in cases of a product confirmed defective through RobotShop's troubleshooting process or of a verified shipping error by RobotShop.
- Refunds are processed within 7 days after receipt and inspection of the returned item.
- A $100 cleaning fee may apply to domestic robots returned in used or unclean condition.
- A 20% restocking fee may apply to large-quantity returns of items ordered specifically for the customer from the manufacturer or not part of RobotShop's standard inventory.
Return Exceptions
The following products are not eligible for return or refund under this policy:
- Used, damaged, or modified products — Items that show signs of use, wear, or alteration, making them unsuitable for resale.
- Consumables — Use and wear-and-tear components, altered or depleted through use (e.g., batteries, belts, brushes, gears, filament, tires, disposable bags, lubricants, greases, waxes, etc.). Not eligible for return once opened or used.
- Perishables — Goods liable to deteriorate or expire rapidly. Not eligible for return.
- Sealed goods (health or hygiene) — Items sealed for health-protection or hygiene reasons (e.g., masks, gloves, odor-absorbing products). Not eligible for return once unsealed.
- Build-it-yourself products and items requiring customer assembly — Including robots & kits, robot parts, and other products requiring assembly or soldering. Not eligible for return once assembled, soldered, or installed.
- Digital Goods, Software, and Apps — Final sale only, due to licensing restrictions.
- Clearance Items — Products identified as clearance or final sale, including end-of-life or discontinued items.
- Custom-made, personalized, or special-order items — Products manufactured, configured, adapted, or built to the customer's own specifications and requirements.
- On-Demand Items — Standard catalogue products not stocked by RobotShop and ordered specifically to fulfill a customer request.
- Professional & Specialized Equipment — See the Professional & Specialized Equipment Warranty page and Professional & Institutional Buyers (B2B) section in the Terms & Conditions.
How to Request a Return Authorization (RA)
While the same return policy applies, these orders require a separate contact process for returns.
- RobotShop Fulfilled Orders → submit a support ticket from your account under My Support Tickets.
- Marketplace Vendor Orders → submit a ticket from your account under My Marketplace Tickets to contact the vendor directly.
Note: Marketplace vendor products are normally labelled with SKUs starting with RM, and identified on the product page with the mention "Sold and fulfilled by [Vendor Name]".