Wierd problem with HC-SR04.
2 views (last 30 days)
Show older comments
Hello,
Iam trying to use ultrasonic sensor HC-SR04 in Simulink, but it always shows 0 when i start simulation. Iam using Arduino Uno and when i tested the sensor in Arduino IDE it worked perfectly, even if i tried it in Matlab it worked. I am lost, do someone have any idea how to make it work? :)
Thanks for your answeres and have a nice day
2 Comments
Answers (0)
See Also
Categories
Find more on Arduino Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!