1 00:00:01,580 --> 00:00:10,000 Good morning! So you've already registered in the www.tinkercad.com website, so you'll 2 00:00:10,000 --> 00:00:15,900 be able to log in and you'll see something like this. In Tinkercad.com, there are different 3 00:00:15,900 --> 00:00:21,800 possibilities. We could create 3D designs, for example, but now we're going to create 4 00:00:21,800 --> 00:00:27,359 a circuit. So we click on this label, Circuits, and here it shows that there have already 5 00:00:27,359 --> 00:00:32,479 been some designs made, but you will not have any yet. So you're going to click on 6 00:00:32,479 --> 00:00:38,539 create new circuit. If you click on it the screen will change and something 7 00:00:38,539 --> 00:00:44,700 like this will appear. Here on the right we have our library of components that 8 00:00:44,700 --> 00:00:50,039 we will click and drag to use, but the first thing we need for this exercise is 9 00:00:50,039 --> 00:00:55,259 here in the basic components library. So we will scroll down a little bit and 10 00:00:55,259 --> 00:01:02,359 find the proto board. Click and drag it and now it will appear on the screen. The 11 00:01:02,359 --> 00:01:05,560 proto board is a way to connect things, we'll learn more about it in a minute. 12 00:01:05,560 --> 00:01:11,719 The next component we need is the Arduino board, so click and drag. We will 13 00:01:11,719 --> 00:01:18,620 also need an LED. An LED is a tiny bulb, a really really small one, and we will need 14 00:01:18,620 --> 00:01:23,120 a resistor. So now we've clicked and dragged and we have everything we need 15 00:01:23,120 --> 00:01:31,519 on the screen but the first thing we need to change is the value of the resistance this one 16 00:01:32,079 --> 00:01:41,439 by default is in kilo ohms but we need to change it to 220 ohms and we have to be sure that instead 17 00:01:41,439 --> 00:01:50,400 of having kilo ohms we have ohms so now we have the resistor and the resistor has to be connected 18 00:01:50,400 --> 00:01:56,959 to the led because the arduino board will provide a lot of energy and the led doesn't support all 19 00:01:56,959 --> 00:02:02,560 of the energy that will be provided so the resistor will take part of that energy and 20 00:02:02,560 --> 00:02:08,159 that's why it's called a protection resistor now the resistor is connected to the led 21 00:02:09,120 --> 00:02:16,560 why is it connected well you can see that there are five green slots and it means that these five 22 00:02:16,560 --> 00:02:21,719 slots are all connected everything that is connected to one of these five slots 23 00:02:21,719 --> 00:02:28,020 is connected because there is a metal stripe under the plastic so every one of 24 00:02:28,020 --> 00:02:35,560 the five is connected but you can see that all of these are vertical but 25 00:02:35,560 --> 00:02:44,460 there are also four long horizontal lines there's one here there's one here 26 00:02:44,460 --> 00:02:51,180 down here and down here and the rest of them are vertical so now the resistor 27 00:02:51,180 --> 00:02:57,219 and the LED are connected through these five vertical slots another thing we 28 00:02:57,219 --> 00:03:02,879 want is to connect the Arduino board to the LED so we're going to connect them 29 00:03:02,879 --> 00:03:09,699 using wires using wires is really easy the only thing you need to do is click 30 00:03:09,699 --> 00:03:18,340 in here and we are going to connect it to the ground tierra first the color of the wire will 31 00:03:18,340 --> 00:03:26,340 choose it'll be black because that is the usual color for ground connection and ground connection 32 00:03:26,340 --> 00:03:32,180 in this context means the negative terminal of the battery the arduino board will work as a battery 33 00:03:32,180 --> 00:03:37,500 a battery that can be programmed and we will change its behavior according to what we want 34 00:03:37,500 --> 00:03:44,219 but it's still a kind of battery. So now the ground is connected to the straight part of the LED. 35 00:03:44,780 --> 00:03:50,620 There are two parts. One is straight, the other one is not. The one that is straight is called 36 00:03:50,620 --> 00:03:58,620 the cathode in English and the bent one is the anode. The wire is always connected to the ground 37 00:03:58,620 --> 00:04:04,319 or the one that is usually black has to be connected here and the other one will be connected 38 00:04:04,319 --> 00:04:12,719 to connector number 13. Why 13? Because we want to. So now we have a closed circuit. 39 00:04:14,099 --> 00:04:20,279 This is the negative terminal, and the negative terminal is connected to the LED and to the 40 00:04:20,279 --> 00:04:28,459 resistors using these five green slots. So we have a closed circuit, everything will work, 41 00:04:28,459 --> 00:04:41,379 but now we need to program the arduino board so in order to program it we click on code and 42 00:04:41,379 --> 00:04:46,120 something appears here with the programming window there are already some blocks here and 43 00:04:46,120 --> 00:04:52,000 we don't want those so we're going to click and drag them to the left and they will disappear 44 00:04:52,000 --> 00:04:59,180 our first program will be the blinking program it's the first program everyone learns when you're 45 00:04:59,180 --> 00:05:03,920 starting to learn programming. We want the LED to shine for one second and then 46 00:05:03,920 --> 00:05:13,430 be off for one second. So how can we program it? We are going to use two 47 00:05:13,430 --> 00:05:20,310 blocks, Definir Pasador and Alta. The translation is not the best but 48 00:05:20,310 --> 00:05:27,029 Pasador means connector. So there are 13 connectors here and because we're using 49 00:05:27,029 --> 00:05:38,019 number 13 we are going to program by selecting 13 and then the same for this one and this block will 50 00:05:38,019 --> 00:05:46,920 be useful to turn it on and then the second one will be useful to turn it off or low that's why 51 00:05:46,920 --> 00:05:56,100 we're changing it to Baja if we connect these two blocks the high and the low the program will not 52 00:05:56,100 --> 00:06:03,220 work well why because we want it to be high for one second and then low for one second so 53 00:06:03,939 --> 00:06:10,579 we are going to need to make it wait so we need the delay block the delay block is up here in 54 00:06:10,579 --> 00:06:20,740 control so we're going to select it and attach and now the program will work 13 will be high 55 00:06:20,740 --> 00:06:28,100 for one second and then delayed for one second and then it will be low for one second and then 56 00:06:28,100 --> 00:06:34,339 it'll wait another second so now we have everything we have the led connected to the 57 00:06:34,339 --> 00:06:40,819 protection resistor the two components have been connected to the arduino board using the wires 58 00:06:40,819 --> 00:06:47,379 and now we can simulate it by clicking in this initiate simulation so we click on it and 59 00:06:47,379 --> 00:06:53,860 everything is working now you can see the led is on for one second off for one second and it's 60 00:06:53,860 --> 00:06:59,860 repeated again and again and again so we can stop the simulation as soon as we are sure that it 61 00:06:59,860 --> 00:07:05,620 works and now we're going to share it with your teacher so there's a share button up here you 62 00:07:05,620 --> 00:07:13,699 click on it and then invite other people and this is the link you're going to share you can copy it 63 00:07:13,699 --> 00:07:20,100 and send it by email for example if i paste it up in a new tab you can see 64 00:07:20,100 --> 00:07:23,699 that i will be able to open the same exact circuit 65 00:07:23,699 --> 00:07:27,939 again here it is so this is the link you have 66 00:07:27,939 --> 00:07:29,860 to copy and paste that you're going to send 67 00:07:29,860 --> 00:07:34,660 and this way the teacher will be able to know if you've already done the exercise 68 00:07:34,660 --> 00:07:35,939 So, good luck!