DC Motor and Ultrasonic Sensor
3 ビュー (過去 30 日間)
古いコメントを表示
step 1- Motor starts to rotate in a clockwise orientation with the actioning of a SPDT switch or push of a button (such a microswitch or mini push button).
step2- Motor stops for 5 seconds as the ultrasonic sensor detects a stationary wall.
step 3- The motor rotates in an anticlockwise orientation to initiate the reversing phase.
step 4- After 10 seconds into the reversing phase, the motor fully stops.
I have to make a tinker cad model and simulate in matlab. I have tried to build the simulink matlab model but unfortunately, I am not able to attach the ultrasonic senson( i do not know where to put the sensor) .
Can someone please help me to model it properly?
I am attaching the file I created without the ultrasonic sensor
0 件のコメント
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Arduino Hardware についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!