Herunterladen Inhalt Inhalt Diese Seite drucken

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

BN 2134052
Ultrasonic Sensor
EN
Quick Instructions
Version: 1
Delivery Content
Module
l
Description
The module is an ultrasonic sensor that senses oncoming objects and
their distance to the sensor.
Development Resources
Development resources and additional product information are avail-
able from:
https://www.conrad.de/
Pinout / Pin Map
Pin
Description
VCC
Power supply 5 V/DC
Trig
Trigger transmit signal
Echo
Echo signal
https://docs.makerfactory.io/
1

Werbung

Inhaltsverzeichnis
loading

Inhaltszusammenfassung für Maker Factory HC-SR05

  • Seite 1 BN 2134052 Ultrasonic Sensor Quick Instructions Version: 1 Delivery Content Module Description The module is an ultrasonic sensor that senses oncoming objects and their distance to the sensor. Development Resources Development resources and additional product information are avail- able from: https://www.conrad.de/ https://docs.makerfactory.io/ Pinout / Pin Map...
  • Seite 2 Description Possibility to connect to an oscilloscope Example Application In this example we will make the sensor detect an oncoming object and report the measured distance. The instructions use the Arduino® platform to illustrate product use. You can also use an Arduino derivative or another platform that supports this type of product.
  • Seite 3 Code trigPin 12 #define echoPin 13 #define led 11 #define led2 10 #define setup() { void (9600); Serial.begin (trigPin, pinMode OUTPUT (echoPin, pinMode INPUT (led, pinMode OUTPUT (led2, pinMode OUTPUT loop() { void long duration, distance; digitalWrite (trigPin, delayMicroseconds (2); digitalWrite (trigPin, HIGH...
  • Seite 4: Specifications

    (distance < 4) { // When the Red condition is met, the Green LED should turn off (led, digitalWrite HIGH (led2, digitalWrite else (led, digitalWrite (led2, digitalWrite HIGH (distance >= 200 || distance <= 0){ ("Out of range"); Serial.println else Serial.print (distance);...
  • Seite 5: Legal Notice

    Range 2 – 400 cm Resolution 0.3 cm Trigger Input Pulse Width 10 µs Dimensions (approx.) 49 x 22 x 15 mm Weight (approx.) Disposal Electronic devices are recyclable waste and must not be dis- posed of in the household waste. At the end of its service life, dispose of the product in accordance with applicable regulatory guidelines.
  • Seite 6 BN 2134052 Ultraschallsensor Kurzanleitung Version: 1 Lieferumfang Modul Beschreibung Das Modul ist ein Ultraschallsensor, der ankommende Objekte und deren Abstand zum Sensor erfasst. Entwickler Ressourcen Entwickler-Ressourcen und zusätzliche Produktinformationen sind verfügbar über: https://www.conrad.de/ https://docs.makerfactory.io/ Pinout / Pin Map Beschreibung Stromversorgung 5 V/DC Trig Triggersignal Echo...
  • Seite 7: Anwendungsbeispiel

    Beschreibung Möglichkeit ein Oszilloskop anzuschließen Anwendungsbeispiel In diesem Beispiel lassen wir den Sensor ein entgegenkommendes Objekt erkennen und registrieren die gemessene Entfernung. Die Anweisungen basieren auf der Arduino®-Plattform. Sie kön- nen auch ein Arduino Derivat oder eine andere Plattform ver- wenden, die das Produkt unterstützt.
  • Seite 8 Code trigPin 12 #define echoPin 13 #define led 11 #define led2 10 #define setup() { void (9600); Serial.begin (trigPin, pinMode OUTPUT (echoPin, pinMode INPUT (led, pinMode OUTPUT (led2, pinMode OUTPUT loop() { void long duration, distance; digitalWrite (trigPin, delayMicroseconds (2); digitalWrite (trigPin, HIGH...
  • Seite 9: Technische Daten

    (distance < 4) { // When the Red condition is met, the Green LED should turn off (led, digitalWrite HIGH (led2, digitalWrite else (led, digitalWrite (led2, digitalWrite HIGH (distance >= 200 || distance <= 0){ ("Out of range"); Serial.println else Serial.print (distance);...
  • Seite 10 Effektiver Winkel <15° Reichweite 2 – 400 cm Auflösung 0,3 cm Pulsbreite Triggereingang 10 µs Abmessungen (ca.) 49 x 22 x 15 mm Gewicht (ca.) Entsorgung Elektronische Geräte sind Wertstoffe und gehören nicht in den Hausmüll. Entsorgen Sie das Produkt am Ende seiner Lebensdauer gemäß...

Inhaltsverzeichnis