1 00:00:08,349 --> 00:00:14,429 Hello everyone! In this video we are going to learn how to use Tinkercad Circuits to simulate 2 00:00:14,429 --> 00:00:23,469 programming with Arduino. So first, search the website and you can create a new account or just 3 00:00:23,469 --> 00:00:35,200 log in for example by using your Google account. So on my dashboard I have a lot of things. 4 00:00:35,200 --> 00:00:39,280 You will have this part empty if it's the first time you are using this program. 5 00:00:39,280 --> 00:00:48,100 so the first thing you have to do is select circuits here on this panel again I have a 6 00:00:48,100 --> 00:00:57,759 lot of designs but you probably have nothing in this area so anyways select create a new circuit 7 00:00:57,759 --> 00:01:05,319 on the right side you can find a list of elements we don't need to change anything we are going to 8 00:01:05,319 --> 00:01:12,840 use the basic elements. So first find the Arduino board and drag it to the left to the canvas. 9 00:01:13,579 --> 00:01:31,170 Then drag the breadboard and place it beside. Move up the score bar to the beginning of the list 10 00:01:31,170 --> 00:01:52,079 and take an LED and also a resistor. Change the value of the resistor to 220 and the unit to ohms. 11 00:01:52,079 --> 00:02:08,360 I'll increase the zoom a bit here okay that's it and also let me hide the right 12 00:02:08,360 --> 00:02:26,080 panel all right place the resistor like this add a wire from this side of the 13 00:02:26,080 --> 00:02:44,219 resistor to GND change the color to black connect the other wire from the 14 00:02:44,219 --> 00:03:00,509 positive side of the LED to 5 volts change the color to red and now to 15 00:03:00,509 --> 00:03:08,250 to check the circuit click on start simulation. As you can see the lead has turned on. 16 00:03:10,090 --> 00:03:15,610 Okay let's stop the simulation to make a little change. Click on the red wire and delete it 17 00:03:15,610 --> 00:03:21,530 pressing the delete key on your keyboard. Add a new wire from the positive side of the lead 18 00:03:22,090 --> 00:03:42,620 but attach it to pin number two and change the color to red. Select now the code button. 19 00:03:42,620 --> 00:03:49,120 This way of programming using blocks is very similar to Scratch. 20 00:03:49,120 --> 00:04:01,960 First, we will throw all these blocks to the bin to make our own program. 21 00:04:01,960 --> 00:04:06,960 The first block says we need to definir pasador 0 en alta. 22 00:04:06,960 --> 00:04:11,960 It's an exact translation to call pasador to a pin. 23 00:04:11,960 --> 00:04:16,959 Change 0 to 2 because we have connected our lead to pin 2. 24 00:04:16,959 --> 00:04:28,600 2. Now select the group of control blocks, here in the orange color. Drag the delay block 25 00:04:28,600 --> 00:04:37,600 and attach it to the other and change the time to 0.5 seconds. Move back to the group 26 00:04:37,600 --> 00:04:43,980 of output blocks in blue and take the same block as before, changing to pin 2 and selecting 27 00:04:43,980 --> 00:05:01,040 Baja this time. We are going to add another delay block, changing the time to 0.5 seconds 28 00:05:01,040 --> 00:05:09,500 again and that's it. Let's hide the code by clicking on the code again and let's start 29 00:05:09,500 --> 00:05:17,680 the simulation. If everything has gone alright, this is the effect. The LED blinks every half 30 00:05:17,680 --> 00:05:18,680 a second.