Distance sensor HC-SR04

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
romanstyler
Posts: 8
Joined: 09 Aug 2016 09:42

Distance sensor HC-SR04

Post by romanstyler »

Hi, all.

Does anybody connected HC-SR04 sensor to Z-UNO?
Image
I found simple code and tried to use it with Z-UNO:
https://arduino-ua.com/art5-Podklucheni ... _k_Arduino

But unfortunately, it requires function micros(). It allows to get number of microseconds from starting of controller. Z-UNO doesn't support this function.
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Distance sensor HC-SR04

Post by PoltoS »

https://github.com/Z-Wave-Me/Z-Uno-Core/issues/93

Here is an example that work on 2.0.5. We will make an official example for 2.0.6 next week
romanstyler
Posts: 8
Joined: 09 Aug 2016 09:42

Re: Distance sensor HC-SR04

Post by romanstyler »

Thank you very much!
Post Reply