Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:netzer:hc-sr04 [2014/10/03 17:34] – [Detecting the distance to an object with an ultransonic sensor] svesch | en:netzer:hc-sr04 [2025/06/11 20:42] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 31: | Line 31: | ||
IO0 is triggered by the rising edge of the sensor capture signal ECHO. | IO0 is triggered by the rising edge of the sensor capture signal ECHO. | ||
- | } | + | |
- | < | + | < |
Important is to mark the " | Important is to mark the " | ||
Line 42: | Line 42: | ||
SPI_INT is connected to the ECHO pin, too. | SPI_INT is connected to the ECHO pin, too. | ||
- | {{spiint_config_ultrasonic.gif?direct|}} | + | < |
The falling edge of the ECHO signal will stop the capture timer and finally show the result on the GPIO webpage. | The falling edge of the ECHO signal will stop the capture timer and finally show the result on the GPIO webpage. |