Tinker Cad Dc Motor Project - Hamza
by 657540 in Circuits > Arduino
1814 Views, 2 Favorites, 0 Comments
Tinker Cad Dc Motor Project - Hamza
This instructable will be a guide on how to make a complex Tinkercad circuit. This circuit's main focus in a dc motor. It is controlled by a Sum Of Products circuit, a temperature sensor and pushbuttons via the H-Bridge Motor chip and a Arduino Uno Module
At the end of this Instructable there is a short 1 min demo vid with a brief explanation of the main components of the circuit
Linked below is a pdf version of the Tinker Cad project
Downloads
Supplies
- Arduino Uno R3 - 1
- 10000 Ω Resistor - 2
- Pushbutton - 1
- DC Motor - 1
- H-bridge Motor Driver -1
- Quad AND gate -1
- Quad OR gate -1
- Slide Switch - 3
- Green LED -1
- 320 Ω Resistor -1
- Red LED -1
- 200 Ω Resistor -1
- 250 kΩ Potentiometer -1
- Temperature Sensor [TMP36] -1
- 1 breadboard or 2 mini breadboards
Linked below is a schematic of the project
Downloads
Create the Sum of Products Circuit
Materials Used
- 1 Quad And Gate
- 1 Quad Or Gate
- 3 Slide switches
- Arduino jumper wires in Black, Red, and 4 other colours (Red is used for Pwr and Black is for Gwd)
Overview:
In this step you will be following either the circuit provided in tinkercad as well as the circuit diagram provided, which is optional as the Tinkercad circuit more than good enough. You are going to follow follow the circuits as shown to form a Sum Of Products circuit operated with the use of 3 slide switches. This SOP circuit will only work with three codes listed down below. I As this is a crucial step please check your work before proceeding onto the next step than you!
Functioning Codes:
(1 meaning the slide switch is on the power side and 0 meaning it's on the ground side)
- 111
- 101
- 011
Attached to this step is both a screenshot of the tinkercad circuit and a picture of the Circuit schematic made from Logisim
Wiring the Motor
Materials Used
- 1 Dc Motor
- 1 H bridge Chip
- 1 Arduino Uno
- 1 Breadboard
- Colored breadboard jumper wires (Red and Black are crucial colors)
During this step you are going to wire a DC motor to a H Bridge Motor chip on a breadboard. Utilize the Tinker Cad link and the sources on this step to complete your wiring
Tip - if you are having trouble understanding how to wire some components, search for it on google and click on the linked Arduino site for the tutorial
example: I word for word searched "push button wiring Arduino"
and immediately found the link to the Arduino site - https://www.arduino.cc/en/Tutorial/BuiltInExamples/Button
Finishing Up the Wiring
In this step all the wiring should be finished. The components left to be wired in this step are the: Temperature sensor, Potentiometer, Push Buttons, etc. Use the Tinker Cad link provided to finish up the wiring and refer to the code for extra help on understanding where to connect the pins to which port on the Arduino.
Code
This step is fairly simple. Just copy the code linked in this step and if needed change the pins of the variables listed at the very top of the code, if you used different pins for the components.
Demo
This is a quick demo of how your project should work.
- The Green LED indicates that the DC motor controls are unlocked and Red led means that it is locked
- to lock the controls enter a code aside from the unlocking ones. For example, 000, would work
- The first button on the right is the power button, this toggles the motor on and off
- The button to the left of the power button is the direction change button to change the rotation of the motor
- The Dial object is the Potentiometer, this device controls the speed of the motor
- The small black device shown in the video is the Temperature sensor Within Tinkercad you control the temp. The code within this circuit will switch the motors on and off automatically based on the set temperature, which can also be viewed in the serial monitor.