![photo](/responsive_image/150/150/0/0/0/cache/matlabcentral/profiles/28096496_1666794283860_DEF.jpg)
松繁
Followers: 0 Following: 0
Statistics
0 Questions
2 Answers
RANK
127,209
of 297,016
REPUTATION
0
CONTRIBUTIONS
0 Questions
2 Answers
ANSWER ACCEPTANCE
0.00%
VOTES RECEIVED
0
RANK
of 20,419
REPUTATION
N/A
AVERAGE RATING
0.00
CONTRIBUTIONS
0 Files
DOWNLOADS
0
ALL TIME DOWNLOADS
0
RANK
of 157,725
CONTRIBUTIONS
0 Problems
0 Solutions
SCORE
0
NUMBER OF BADGES
0
CONTRIBUTIONS
0 Posts
CONTRIBUTIONS
0 Public Channels
AVERAGE RATING
CONTRIBUTIONS
0 Highlights
AVERAGE NO. OF LIKES
Feeds
how can i create a block diagram of an ultrasonic sensor in simulink?
Is there a solution?
2 years ago | 0
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:
% clear mypi % mypi=raspi; configurePin(mypi,4,'DigitalOutput'); % 5脚设置为输出脚 21 Trig发送引脚 configurePin(mypi,17,'DigitalInpu...
2 years ago | 0