photo

松繁


Last seen: 1년 초과 전 2023년부터 활동

Followers: 0   Following: 0

통계학

Feeds

보기 기준

답변 있음
how can i create a block diagram of an ultrasonic sensor in simulink?
Is there a solution?

1년 초과 전 | 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년 전 | 0