laser-receiver-sensor-non-modulator-gr Μεγαλύτερη προβολή

Laser Receiver Sensor - Non-modulator

PRD-002054

Νέο προϊόν

  • PCB size:1.5*1.9cm
  • work voltage:5V
  • output low level when not receive laser signal
  • output high level when receive laser signal

The sensor uses a non-modulated laser receiver, please use indoors where no light, sunlight or other fixtures may interfere, recommended for use in dark environments.

Περισσότερες λεπτομέρειες

Διαθέσιμο

2,00 € με Φ.Π.Α

Άλλες πληροφορίες

Here's a step-by-step tutorial on how to connect a Laser Receiver Sensor (Non-modulator) to an Arduino:

Step 1: Gather the Required Equipment:

  • Arduino board (such as Arduino Uno)
  • Laser Receiver Sensor (Non-modulator)
  • Breadboard
  • Jumper wires

Step 2: Understand the Laser Receiver Sensor:

  • The Laser Receiver Sensor is a non-modulating type of sensor that can be used to detect the presence of laser light.
  • It usually has three pins: VCC (power supply), GND (ground), and OUT (output signal).
  • The VCC pin is used to provide power to the sensor (typically 5V).
  • The GND pin is connected to the ground of the Arduino.
  • The OUT pin is the output signal that goes HIGH when the sensor detects the laser light and LOW when it does not.

Step 3: Connect the Laser Receiver Sensor to the Breadboard:

  • Insert the Laser Receiver Sensor into the breadboard so that its pins are on separate rows.
  • Connect the VCC pin of the Laser Receiver Sensor to the 5V pin on the Arduino board using a jumper wire.
  • Connect the GND pin of the Laser Receiver Sensor to the GND pin on the Arduino board using a jumper wire.
  • Connect the OUT pin of the Laser Receiver Sensor to any digital pin on the Arduino board, such as D2, using a jumper wire.

Step 4: Read the Laser Receiver Sensor Output:

  • Open the Arduino IDE software on your computer and create a new sketch.
  • Copy and paste the following code into the sketch:

#define LASER_PIN 2   // Pin number to which the Laser Receiver Sensor output is connected

void setup() {
  Serial.begin(9600); // Start serial communication
  pinMode(LASER_PIN, INPUT); // Set the Laser Receiver Sensor pin as input
}

void loop() {
  // Read the Laser Receiver Sensor output
  int laserValue = digitalRead(LASER_PIN);
 
  // Print the output value to the serial monitor
  Serial.print("Laser Detected: ");
  Serial.println(laserValue);
 
  delay(500); // Add a delay for stability
}

  • Verify and upload the code to your Arduino board.
  • Open the Serial Monitor in the Arduino IDE to view the output of the Laser Receiver Sensor.
  • Observe the output changing in the serial monitor as the Laser Receiver Sensor detects or does not detect the laser light.

That's it! You have successfully connected a Laser Receiver Sensor (Non-modulator) to an Arduino and read its output. You can now use the output of the sensor in your Arduino project for various applications such as laser beam sensing, object detection, and more.

Αξεσουάρ

Πελάτες που αγόρασαν αυτό το προϊόν, αγόρασαν επίσης: