Arduino Motor Driver With Security

by 979810 in Circuits > Arduino

163 Views, 1 Favorites, 0 Comments

Arduino Motor Driver With Security

''.png

This is a simple circuit in which the sum of products seeks user input using slide switches and then sends the output to the H-Bridge (Arduino motor) which rotates the motors. There is the only combination of inputs in which the motor is allowed to run, making this circuit secure.

Supplies

Sum of Products

Truth table.png
Logic gate.png
Logic Gatees.png

In this project, the sum of products acts as a security system. The slide switches are used for user input and then the output of the switches is fed into the logic gates and the output of the gates is sent to the H-Bridge. Again, there is only one combination (truth table) of the 3 slide switches that trigger the motors.

In this step, you are supposed to connect the slide switches to their respective logic gates.

SlideSwitchA ➤ Hex Inverter (Input1)

Hex Inverter (Output 1) ➤ AND Gate 1 (Input 1)

SlideSwitchB ➤ AND Gate 1 (Input 2 )

AND Gate 1 (Output 1) ➤ AND Gate 2 (Input 1)

SlideSwitchC ➤AND Gate 2 (Input 2)

After finishing these steps, you will be able to send output into the H-Bridge based on your truth table!

H-Bridge

jhiodgh.png

In this step, you will be able to use the logic gates as input and control the motors!

Connect:

AND Gate 2 (Output 1) ➤ H Bridge (Input 1) & H-Bridge (Input 4)

Gear Motors ➤ H-Bridge (Output 1,2,3,4)

By doing so, you have finished the simple circuit where the user uses the slide switches as input which is fed into the logic gates and processed as output into the H-Bridge to control the motors!