photo

Anwaar Baig


Active since 2018

Followers: 0   Following: 0

Statistics

MATLAB Answers

2 Questions
0 Answers

RANK
18,627
of 300,813

REPUTATION
2

CONTRIBUTIONS
2 Questions
0 Answers

ANSWER ACCEPTANCE
0.0%

VOTES RECEIVED
2

RANK
 of 21,086

REPUTATION
N/A

AVERAGE RATING
0.00

CONTRIBUTIONS
0 Files

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANK

of 171,169

CONTRIBUTIONS
0 Problems
0 Solutions

SCORE
0

NUMBER OF BADGES
0

CONTRIBUTIONS
0 Posts

CONTRIBUTIONS
0 Public Channels

AVERAGE RATING

CONTRIBUTIONS
0 Discussions

AVERAGE NO. OF LIKES

Feeds

View by

Question


How to measure distance of an object using HC-SR04 ultrasonic sensor using raspberry pi 3 interfaced with MATLAB?
I want to calculate the distance of my whiteboard marker to detect its position on the whiteboard. I have interfaced MATLAB with...

8 years ago | 0 answers | 1

0

answers

Question


I am using HC-SR04 ultrasonic sensor with raspberry pi 3 interfaced with MATLAB 2017b. When I run my code to measure distance of an object from sensor my code goes in infinite loop detecting nothing. Code is as follows:
trig=17; echo=27; configurePin(mypi,echo,'DigitalInput') configurePin(mypi,trig,'DigitalOutput') writeDigitalP...

8 years ago | 1 answer | 1

1

answer