Overview
The RCWL-0516 is particularly suitable as an alternative to using a PIR motion sensor.
When it detects a moving object, the output changes from a low logic level to a high level (3.3 volts). Appropriately interfaced (Arduino, Fishino or other), it can be used for the automatic opening of electric doors and gates, automatic lighting.
Detection range is about 9 meters.
Tech specs
- Power supply: from 4 volts to 28 volts
- Consumption: typical 2.8 mA; max. 3 mA
- Detection distance: from 5 to 9 meters
- Transmission power: typical 20 mW; max. 30 mW
- Output voltage and current: 3.2-3.4 volts - 100 mA
- Operating temperature: from -20°C to +80°C
- Pin definition: 3V3: 3.3 volt output voltage
- GND: negative power supply
- OUT: when it detects a moving object, it changes from a low level to a high level (3.3 volts)
- VIN: positive power supply from 4 volts to 28 volts
- CDS: if kept low, less than 0.7 volts, the output will always be low even in the presence of motion
Conformities
Get Inspired
Makers have long asked the question “why bother with an expensive PLC when I can just use an Arduino?” The answer comes down to the priorities and needs of industrial clients. In a factory automation setting, the client will prioritize durability, reliability, and serviceability over the one-time purchase price of the device itself. But to prove that Arduino’s professional turnkey solutions are just as easy to use as their developer-focused educational counterparts, Jeremy Cook leveraged an Arduino Opta micro PLC to build a drum machine. This isn’t any old drum machine that plays sound samples or synthesized notes, but rather a robotic drum machine that makes noise by banging on stuff like a true percussion instrument. Cook could have built this with any Arduino board and a few relays, but instead chose to implement the Opta and new Opta Digital Expansion. That is robust enough for serious commercial and industrial applications, but is still simple to program with the familiar Arduino IDE. Programmers can also use conventional PLC languages if they prefer. In this case, Cook made noise with relays and solenoids. The Opta has four built-in relays and Cook’s sketch flips one of them to make a sound analogous to a hi-hat. Cook added an Arduino Pro Opta Ext D1608S module with its solid-state relays for the other two “drums.” One of those fires a solenoid that taps a small hand drum (the kick drum sound), while the other controls a solenoid that hits a power supply enclosure (the snare sound). Together, those three sounds can cover the basics of a drum track. Cook’s sketch is a drum sequencer program that stores each sound sequence as array, looping through them until turned off. An Opta may be overkill for a project like this one, but this does a great job of demonstrating the ease at which an Arduino user can transition to professional PLC work.