photo

Anwaar Baig


Aktiv seit 2018

Followers: 0   Following: 0

Statistik

MATLAB Answers

2 Fragen
0 Antworten

RANG
18.627
of 301.583

REPUTATION
2

BEITRÄGE
2 Fragen
0 Antworten

ANTWORTZUSTIMMUNG
0.0%

ERHALTENE STIMMEN
2

RANG
 of 21.339

REPUTATION
N/A

DURCHSCHNITTLICHE BEWERTUNG
0.00

BEITRÄGE
0 Dateien

DOWNLOADS
0

ALL TIME DOWNLOADS
0

RANG

of 175.587

BEITRÄGE
0 Probleme
0 Lösungen

PUNKTESTAND
0

ANZAHL DER ABZEICHEN
0

BEITRÄGE
0 Beiträge

BEITRÄGE
0 Öffentlich Kanäle

DURCHSCHNITTLICHE BEWERTUNG

BEITRÄGE
0 Discussions

DURCHSCHNITTLICHE ANZAHL DER LIKES

Feeds

Anzeigen nach

Frage


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...

etwa 8 Jahre vor | 0 Antworten | 1

0

Antworten

Frage


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...

etwa 8 Jahre vor | 1 Antwort | 1

1

Antwort