Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
en:netzer:hc-sr04 [2014/10/03 17:31]
svesch [Detecting the distance to an object with an ultransonic sensor]
en:netzer:hc-sr04 [2014/10/03 17:32]
svesch [IO3]
Line 3: Line 3:
 With the capture capability of Netzer a simple ultrasonic sensor like the HC-SR04 module can be used. With the capture capability of Netzer a simple ultrasonic sensor like the HC-SR04 module can be used.
  
-<​imgcaption ​labeltext|Ultrasonic sensor HC-SR04>​{{:​en:​netzer:​hc-sr04_front.jpg}}{{:​en:​netzer:​hc-sr04_back.jpg?​direct|}}</​imgcaption>​+<​imgcaption ​sensor_photo|Ultrasonic sensor HC-SR04>​{{:​en:​netzer:​hc-sr04_front.jpg}}{{:​en:​netzer:​hc-sr04_back.jpg?​direct|}}</​imgcaption>​
  
 For that reason the sensor shall be connected like: For that reason the sensor shall be connected like:
Line 19: Line 19:
 Datasheet of the sensor states that at least 10 µs pulse must be generated to start the measurement. Datasheet of the sensor states that at least 10 µs pulse must be generated to start the measurement.
  
-<​imgcaption ​labeltext|Configuration of IO3 for trigger>​{{io3config_ultrasonic.gif}}</​imgcaption>​+<​imgcaption ​io3_config|Configuration of IO3 for trigger>​{{io3config_ultrasonic.gif}}</​imgcaption>​
  
 Due to the ultrasonic sensor has a resolution of about 0.3 cm it is sufficient to configure the resolution to 800 ns. The maximum values to measure (18 meters) are more than enough for the maximum of 3 meters the sensor will return. Due to the ultrasonic sensor has a resolution of about 0.3 cm it is sufficient to configure the resolution to 800 ns. The maximum values to measure (18 meters) are more than enough for the maximum of 3 meters the sensor will return.

QR Code
QR Code Detecting the distance to an object with an ultransonic sensor (generated for current page)