Presentation is loading. Please wait.

Presentation is loading. Please wait.

4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is.

Similar presentations


Presentation on theme: "4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is."— Presentation transcript:

1 4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is pressed, the car stops. If the top button is pressed, the car moves forward. If the bottom button is pressed, the car moves backwards. If both buttons are pressed, the car spins. There are two motors in the car and each motor has two inputs F and B. A high on F makes the car go forward. A high on B makes the car go backward. 5) Design the logic for a security system. The system contains a door sensor, a window sensor, and a key activation switch. If the switch is on, opening the window will set off the alarm immediately. Opening the door will start a 30 second timer. If the key switch is not turned off within the 30 seconds, the alarm is set off. The door sensor and window sensor output a low when they are opened. The 30 second timer requires a high to activate and outputs a high when the timer expires. The key switch outputs a high when it is activated and a low when it is de-activated.

2 4) Make a truth table for this design. StateB2F2B1F1 Bottom Button Top Button Stop000000 Backward101010 Forward010101 Spin011011 From the truth table, the design is as follows: 5)

3


Download ppt "4) Design the logic to control the motor on a simple remote control car. There are two buttons on the remote control for the motor. If neither button is."

Similar presentations


Ads by Google