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] svesch [Detecting the distance to an object with an ultransonic sensor] |
en:netzer:hc-sr04 [2014/10/03 17:36] (current) svesch [SPI_INT] |
||
---|---|---|---|
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. | ||
- | } | + | |
- | <imgcaption io0config|IO0 configure for starting measurement>{{io0config_ultrasonic.gif|}}</imgcaption> | + | <imgcaption io0config|IO0 configure for starting measurement>{{io0config_ultrasonic.gif}}</imgcaption> |
Important is to mark the "Impulse timer Reset" checkbox. | Important is to mark the "Impulse timer Reset" checkbox. | ||
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|}} | + | <imgcaption spiint_config|Config of SPI_INT>{{spiint_config_ultrasonic.gif|}}</imgcaption> |
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. |