In this video I want to show you how to simulate this electric circuit. You will not need to install any software because It is possible to simulate everything online With this circuit it is possible to turn on and turn off a DC motor with a delay that we can program. Let’s simulate everything online. In the browser we searched the following site. https://www.tinkercad.com/#/ After we create an account and log in. This page appears. Here we have the option 3D Designs, Circuits and Lessons. We chose Circuits. As you can see I have a project done but let’s create a new one. After creating a new project it will be possible to visualize and select a good amount of components. We have a tab for the basic components. One tab for all components and one for Starters. In this last tab we can find a number of circuits ready to be simulated. To begin with, I will introduce you to the brain of our project. An Arduino Uno. The Arduino Uno is a microcontroller on the board with all the components needed to perform prototyping. It can be easily programmed through a software called arduino IDE. It has thirteen digital pins that work with zero volts and five volts. The zero pin and one can be used for TX and RX communication. It has six analog inputs that receive zero to five volts. Some digital pins can also work with PWM signals. They can be identified with the ripple symbol. For power has a Vin, two grounds, 5V, 3.3V We still have a pin to reset IOREF, AREF and another ground. We can use the search bar to find our DC motor. And drag them to the assembly zone. I use the thirteen digital pin as output and voltage of 5V and connected it to the red terminal of the motor. We give the color red. We can choose any color for the wires. Connect the black terminal of the motor to the ground of the arduino . This is not the final circuit. There are things wrong here, but I’ll explain later. So the electric current comes out of the pin passing in the motor making it spin and goes to the ground. Here at the top we have the bar code editor. Clicking on it will appear below the window where we will edit the code. We can program the arduino through blocks but I personally prefer program them in a traditional way. So I’ll close the programming blocks window. And program them as we do in the IDE To send the code to the arduino we use a usb cable as it appears in the image. But this is just a simulation. To program the arduino our code must have two parts. Void setup and Void Loop. Void setup is the part of the code where we make the settings for what each arduino pin does. And it only runs or execute once. When we write. PinMode (13; OUTPUT) means that we set the pin 13 of the Arduino as output. We must respect typography so the code can be compiled without errors. All parentheses and semicolons have a purpose. Void loop is the part of the code that will run repeatedly. The code is always read from top to bottom starting by executing the void setup once and running the void loop continuously. When we write. DigitalWrite (13, Higth); is a function that gives order to set the voltage level at 5v on pin 13. It could be another digital pin of our choice. Delay (1000); This is a function that creates a delay. A second or 1000 milliseconds but it can be the time that we want. DigitalWrite (13, Low); is the same as function of line eight !! but in this case Low means that the voltage level will be zero. In other words, the motor stops. Again we have a delay of one second and the cycle repeats. Therefore this code causes the motor to power on for one second and to power off for one second repetitively. Now click on Upload and Run Soon after the simulation begins and we can really see the gear moving. It is even possible to see the speed of rotation of the motor. Just as we wanted. The motor runs for a second then stops for one second and repeats. But the truth is that this circuit can damage the arduino. Let me explain. I’ll stop the simulation, look for a multimeter and set up to measure amperage. To carry out this measurement we need to connect the motor in series with the multimeter. Start the simulation As we can see the current has a maximum value of 43.5 mA. The Arduino can only supply 50 mA by the digital pins. So the current value is at the limit. If we put some load on the motor this current value will rise. Often, it will exceed the 50 mA and damage the Arduino. So now I’m going to carry out the assembly of the circuit to be able to power on and power off the motor without risk of damaging the arduino. This video is becoming very long so I will show the others circuits in other video. Asta.