Youmile GR-YM-226

Contents

Youmile LM393 Speed Measuring Sensor Module User Manual

Model: GR-YM-226

1. Introduction

The Youmile LM393 Speed Measuring Sensor Module is a slot-type infrared optocoupler designed for detecting speed, position, and counting applications. It utilizes an LM393 comparator for stable digital output, making it suitable for various DIY projects, robotics, and microcontroller interfaces like Arduino, Raspberry Pi, and other MCUs.

2. Features

  • Utilizes an imported groove coupler sensor with a slot width of 5mm.
  • Output status indicator LED: high output illuminates, low output turns off.
  • Digital output: High when the slot is blocked, low when unobstructed.
  • Clean comparator output signal with good waveform and strong driving capability (over 15mA).
  • Wide operating voltage range: 3.3V to 5V DC.
  • Output format: Digital switching output (0 and 1).
  • Fixed bolt holes for easy installation.
  • Compact PCB board size: 3.2cm x 1.4cm (1.3 x 0.6 inches).
  • Incorporates the wide voltage comparator LM393.

3. Package Contents

Each package typically includes the following components:

  • 5 x LM393 Speed Measuring Sensor Modules
  • 5 x Encoders (often small slotted discs for speed measurement)
  • 2 x 10Pin Dupont Cables (Female to Male)
  • 2 x 10Pin Dupont Cables (Female to Female)

4. Setup and Wiring Instructions

Proper connection of the module is crucial for its operation. Refer to the pinout and wiring diagram below.

Youmile LM393 Speed Sensor Module with labeled components

Figure 1: LM393 Speed Sensor Module with labeled pins and components. Labels indicate Opto Interrupter, Power Indicator, LM393 comparator, Switching Indication, VCC, GND, DO, and AO pins.

4.1 Pinout Description

  • VCC: Positive power supply (3.3V - 5V DC).
  • GND: Ground connection (negative power supply).
  • DO (Digital Output): TTL switching signal output (0 or 1). This is the primary output for speed detection.
  • AO (Analog Output): This module typically does not utilize the analog output for its primary function; it may be left unconnected.

4.2 Wiring Steps

  1. Connect the VCC pin of the sensor module to the 3.3V or 5V power supply output of your microcontroller or power source.
  2. Connect the GND pin of the sensor module to the ground (GND) of your microcontroller or power source.
  3. Connect the DO pin of the sensor module to a digital input pin on your microcontroller (e.g., Arduino digital pin).
  4. The AO pin can be left unconnected as it is not typically used for digital speed sensing with this module.
Example wiring diagram of LM393 speed sensor with Arduino UNO and LCD

Figure 2: Example application circuit showing the LM393 Speed Sensor connected to an Arduino UNO, a geared motor with an encoder wheel, and a 16x2 LCD display.

5. Operating Principles

The LM393 Speed Measuring Sensor Module operates based on the principle of an infrared (IR) optocoupler. It consists of an IR emitter (LED) on one side of the slot and an IR receiver (phototransistor) on the other side.

5.1 Detection Mechanism

  • When an object (e.g., a slotted disc or encoder wheel) passes through the slot and blocks the infrared beam, the phototransistor stops receiving IR light.
  • The LM393 comparator then detects this change and outputs a HIGH signal on the DO pin.
  • When the slot is clear and the infrared beam is unobstructed, the phototransistor receives IR light.
  • The LM393 comparator detects this state and outputs a LOW signal on the DO pin.

By monitoring the transitions (HIGH to LOW or LOW to HIGH) on the DO pin, a microcontroller can count the number of times the beam is interrupted. If a slotted wheel is used, the frequency of these pulses can be used to calculate rotational speed.

Detailed circuit diagram of the LM393 Speed Sensor Module

Figure 3: Detailed internal circuit diagram of the LM393 Speed Sensor Module, showing the opto interrupter, LM393 comparator, and indicator LEDs.

6. Specifications

ParameterValue
ModelGR-YM-226
Operating Voltage3.3V - 5V DC
Output TypeDigital Switching Output (TTL)
Output Current (Drive Capability)Greater than 15mA
Slot Width5mm
PCB Board Size3.2cm x 1.4cm (1.3 x 0.6 inches)
Comparator ChipLM393
Mounting TypeThreaded Mount (via bolt holes)
Specific UsesAutomotive, Manufacturing, Robotics, DIY Projects, Prototyping

7. Maintenance

The Youmile LM393 Speed Measuring Sensor Module is a robust electronic component with minimal maintenance requirements. To ensure optimal performance and longevity:

  • Keep the sensor clean and free from dust, dirt, or debris, especially within the optical slot, as this can interfere with accurate detection.
  • Avoid exposing the module to excessive moisture or extreme temperatures.
  • Handle the module by its edges to prevent damage to the electronic components or solder joints.

8. Troubleshooting

If you encounter issues with your LM393 Speed Measuring Sensor Module, consider the following troubleshooting steps:

  • No Output/Incorrect Output:
    • Verify all wiring connections (VCC, GND, DO) are secure and correct.
    • Ensure the module is receiving the correct operating voltage (3.3V-5V).
    • Check if the power indicator LED on the module is lit.
    • Inspect the optical slot for any obstructions or dirt.
    • Test the module with a simple test object (e.g., a piece of paper) passing through the slot to observe the output indicator LED and the digital output.
  • Intermittent Readings:
    • Ensure the object passing through the slot is stable and consistently blocks/unblocks the IR beam.
    • Check for any external light sources that might interfere with the IR receiver.
    • Verify the stability of your power supply.

9. Support

For further assistance or technical inquiries regarding the Youmile LM393 Speed Measuring Sensor Module, please refer to the product page on the retailer's website or contact Youmile customer support if available. Online communities and forums dedicated to Arduino and electronics projects can also be valuable resources for project-specific guidance. Source · https://manuals.plus/asin/B0817H9436

Documents and downloads

Ask a question about this manual

Ask about setup, troubleshooting, compatibility, parts, safety, or missing instructions. Manuals+ will review the question and use this page’s manual context to help answer it.

After a successful submission, we securely hash the supplied account or form email before sending it to Microsoft Advertising for conversion attribution. Privacy details.

Rate this product if you’ve used it

Was this page helpful?