Free shipping
Generic 2C25 Beam photoelectric sensor infrared radiation count Sensor Module
(incl. VAT)
Trendyol's commitments
Easy and free return in 15 days.
Highlighted features:
Generic 2C25 Beam photoelectric sensor infrared radiation count Sensor Module features
Seller information
Generic 2C25 Beam photoelectric sensor infrared radiation count Sensor Module reviews
Product details

Product description
Description: The Encoder Photoelectric Speed Sensor Module LM393 black is a highly sensitive sensor module that is designed to detect rotational speed and position.
It is commonly used in a variety of industrial and DIY projects, including robotics, automation, and control systems.
The module operates by using a photoelectric sensor to detect the movement of an object.
As the object moves past the sensor, it blocks or reflects the light, causing a change in the output signal.
This signal is then processed by the LM393 chip, which provides a high or low signal output depending on the position and speed of the object.
One of the key advantages of this sensor module is its high sensitivity, which allows it to detect even very small changes in position and speed.
It also has a wide operating voltage range of 3.3V to 5V, making it compatible with a range of microcontrollers and other devices.
The module features a compact and durable design, with PCB mounting holes and M3 screws for easy installation.
It also has a low power consumption, making it ideal for battery-powered applications.
Features: LM393 chip: The module is built with the LM393 chip which is a voltage comparator that has two independent low-current open-collector outputs.
Photoelectric sensor: It uses a photoelectric sensor to detect changes in light and dark.
Working voltage: The module works on a DC 5V voltage.
LED indicator: It has a built-in LED indicator that indicates the presence of power and output status.
PCB mounting holes: The module has two mounting holes that allow for easy attachment to a PCB or other surface.
Compact size: The module has a small size of 32mm x 11mm x 20mm, making it suitable for applications with limited space.
LM393 Sensor Pinout This sensor has 3 pins: VCC: Module power supply – 3-5.5 V GND: Ground OUT: Digital output data to the microcontroller You can see pinout of this module in the image below.
Required Materials Hardware Components Arduino UNO R3 × 1 LM393 Infrared Speed Sensor Module × 1 Male Female Jumper Wire × 1 Software Apps Arduino IDE Interfacing LM393 Infrared Speed Sensor with Arduino Step 1: Circuit The following circuit shows how you should connect Arduino to LM393 sensor.
Connect wires accordingly.
Step 2: Code Install the following library on your Arduino.
com/brunocalou/Timer Upload the following code to your Arduino.
#include "
timer.
h"
Timer timer
const int LM393 = 2
int counter = 0
void setup() { attachInterrupt(digitalPinToInterrupt(LM393), count, RISING)
Serial.
begin(115200)
timer.
setInterval(1000)
timer.
setCallback(RPM)
timer.
start()
} void count() { counter++
} void RPM() { Serial.
println(counter * 60)
counter = 0
} void loop() { timer.
update()
} After running the code, you will see the following image in the serial output.
Additional info
- Sold by .
- A maximum of 5 units of this product can be ordered. Trendyol reserves the right to cancel orders over 5 units.
- Barcode No: 2900000002524


