Question: There is a robot that can turn left and right using two binary sensors ( leftTurn and rightTurn ) , and it has three infrared

There is a robot that can turn left and right using two binary sensors (leftTurn and rightTurn), and it has three infrared (IR) sensors labeled R, L, and center.1.Design the following:(a) Write a control program to allow the robot to:Move forward for 2 seconds if the center sensor is high (readIR).Move backward for 2 seconds if leftTurn is high (turnLeft).Stop if rightTurn is high (turnRight).2.Assume that the binary code of the infrared sensor is as follows:L =1, center =2, R =3Design a GRAFCET diagram to control the robots movements.3.Write the corresponding VHDL code for the GRAFCET diagram designed in (a).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!