Saltar navegación

Activa JavaScript para disfrutar de los vídeos de la Mediateca.

Arduino: blink (native speaker + sub) - Contenido educativo

Ajuste de pantalla

El ajuste de pantalla se aprecia al ver el vídeo en pantalla completa. Elige la presentación que más te guste:

Subido el 11 de julio de 2024 por David G.

8 visualizaciones

Descargar la transcripción

Good morning. So you've already registered in the www.tinkercad.com website. So you'll be able to 00:00:01
log in and you'll see something like this. In tinkercad.com, there are different possibilities. 00:00:10
We could create 3D designs, for example, but now we're going to create a circuit. So we click on 00:00:17
this label, circuits, and here it shows that there have already been some designs made, but 00:00:23
you will not have any yet. So you're going to click on create new circuit. If you click on it, 00:00:28
the screen will change and something like this will appear. Here on the right, we have our 00:00:36
library of components that we will click and drag to use. But the first thing we need for this 00:00:43
exercise is here in the basic components library. So we will scroll down a little bit and find the 00:00:49
protoboard. Click and drag it and now it will appear on the screen. The protoboard 00:00:56
is a way to connect things, we'll learn more about it in a minute. The next 00:01:02
component we need is the Arduino board, so click and drag. We will also need an 00:01:06
LED. An LED is a tiny bulb, a really really small one, and we will need a 00:01:12
resistor. So now we've clicked and dragged and we have everything we need 00:01:18
on the screen. But the first thing we need to change is the value of the resistance. 00:01:23
This one by default is in kilo ohms, but we need to change it to 220 ohms. And we have to be sure 00:01:30
that instead of having kilo ohms, we have ohms. So now we have the resistor and the resistor has 00:01:41
to be connected to the LED because the Arduino board will provide a lot of energy and the LED 00:01:49
doesn't support all of the energy that will be provided, so the resistor will take part of that 00:01:56
energy, and that's why it's called a protection resistor. Now the resistor is connected to the LED. 00:02:01
Why is it connected? Well, you can see that there are five green slots, and it means that these five 00:02:09
slots are all connected. Everything that is connected to one of these five slots is connected 00:02:16
because there is a metal stripe under the plastic so every one of the five is connected 00:02:22
but you can see that all of these are vertical but there are also four long horizontal lines 00:02:31
there's one here there's one here down here and down here and the rest of them are vertical so 00:02:38
now the resistor and the led are connected through these five vertical slots another thing we want is 00:02:50
to connect the arduino board to the led so we're going to connect them using wires using wires is 00:02:57
really easy the only thing you need to do is click in here and we are going to connect it to the 00:03:06
ground, tierra. First, the color of the wire will choose, it'll be black because that is the usual 00:03:14
color for ground connection. And ground connection in this context means the negative terminal of the 00:03:22
battery. The Arduino board will work as a battery, a battery that can be programmed, and we will 00:03:29
change its behavior according to what we want, but it's still a kind of battery. So now the ground is 00:03:35
connected to the straight part of the LED. There are two parts. One is straight, the other one is 00:03:42
not. The one that is straight is called the cathode in English, and the bent one is the anode. 00:03:47
The wire is always connected to the ground, or the one that is usually black has to be connected 00:03:56
here, and the other one will be connected to connector number 13. Why 13? Because we want to. 00:04:01
So now we have a closed circuit. This is the negative terminal and the negative terminal 00:04:10
is connected to the LED and to the resistors using these five green slots. So we have a 00:04:18
closed circuit, everything will work, but now we need to program the Arduino board. 00:04:26
So in order to program it we click on code and something appears here with the 00:04:37
programming window. There are already some blocks here and 00:04:42
we don't want those so we're going to click and drag them to 00:04:46
the left and they will disappear. Our first program will be the blinking 00:04:50
program. It's the first program everyone learns 00:04:56
when you're starting to learn programming. 00:04:58
We want the LED to shine for one second and then be off for one second. 00:05:01
So how can we program it? We are going to use two blocks Definir Pasador 00:05:07
and Alta. The translation is not the best but Pasador means connector. So there are 13 00:05:17
connectors here and because we're using number 13 we are going to program by selecting 13 00:05:24
and then the same for this one. And this block will be useful to turn it on and then the second 00:05:31
one will be useful to turn it off or low. That's why we're changing it to baja. If we connect these 00:05:42
two blocks, the high and the low, the program will not work. Well why? Because we want it to be high 00:05:51
for one second and then low for one second so we are going to need to make it wait so we need the 00:06:00
delay block the delay block is up here in control so we're going to select it and attach and now the 00:06:07
program will work 13 will be high for one second and then delayed for one second and then it will 00:06:17
be low for one second and then it'll wait another second. So now we have everything. We have the LED 00:06:26
connected to the protection resistor. The two components have been connected to the Arduino 00:06:34
board using the wires and now we can simulate it by clicking in this initiate simulation. 00:06:39
So we click on it and everything is working. Now you can see the LED is on for one second, 00:06:45
off for one second and it's repeated again and again and again so we can stop 00:06:52
the simulation as soon as we are sure that it works and now we're going to 00:06:58
share it with your teacher so there's a share button up here you click on it and 00:07:02
then invite other people and this is the link you're going to share you can copy 00:07:06
it and send it by email for example if I paste it up in a new tab you can see 00:07:13
that I will be able to open the same exact circuit again. Here it is. So this is the link you have to 00:07:20
copy and paste that you're going to send and this way the teacher will be able to know if you've 00:07:28
already done the exercise. So good luck! 00:07:33
Idioma/s:
en
Idioma/s subtítulos:
en
Autor/es:
David Gonzalez Arroyo, Alyssa Fantel
Subido por:
David G.
Licencia:
Reconocimiento - No comercial - Compartir igual
Visualizaciones:
8
Fecha:
11 de julio de 2024 - 20:21
Visibilidad:
Público
Centro:
IES MARIE CURIE Loeches
Duración:
07′ 44″
Relación de aspecto:
16:10 El estándar usado por los portátiles de 15,4" y algunos otros, es ancho como el 16:9.
Resolución:
770x480 píxeles
Tamaño:
14.22 MBytes

Del mismo autor…

Ver más del mismo autor


EducaMadrid, Plataforma Educativa de la Comunidad de Madrid

Plataforma Educativa EducaMadrid