Saltar navegación

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

ROBOTIC - 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 31 de mayo de 2022 por Isabel L.

97 visualizaciones

Descargar la transcripción

Now we are going to talk about motors or engine and how we can use the different types of motors with the Arduino board. 00:00:00
It's very important because if you want to create a machine, an automatic machine, a robot or something similar, 00:00:11
motors are very important in in this type of machines because they are usually the output 00:00:19
of the wars both are digital outputs or they can be it seems that these are analogic but 00:00:29
indeed they are digital both this is the mini servo have three cables 00:00:39
one is brown or black and it must be connected to ground another is red and it's much connected to 00:00:45
a power sources and finally another is connected to a digital P the same in the other in the other 00:00:55
all the same and the connection to the board is always the same so the the ground you connect 00:01:04
the ground to the ground in the board and the red to five volts in the pin of five volts 00:01:15
and the other one in a digital pin for example it can be eight so this is the connection 00:01:26
one to ground ground to five volts and another to digital pin we have connected 00:01:37
the diminisher so now we need to create a program what happened obviously program must be programming 00:01:43
you must programming using Arduino language but everybody knows that the Arduino language is very 00:01:55
complicated and unfortunately you haven't servos in Tinkercad I think so 00:02:02
so if you want to create a program 00:02:16
you must choose something that make easier the program not just the Arduino 00:02:24
Because Arduino is a language very complicated. Well, indeed, it's dependent. If you learn, it's not so complicated. But yes, it's very unfriendly environment. It's quite complicated. 00:02:33
The other option can be Tinkercad, but in Tinkercad, we have used Tinkercad with LEDs, but in Tinkercad, you haven't got... 00:02:47
You have motors, but it's different, and there isn't any servo motor, so you can use Tinkercad to create servo motors. 00:03:13
So, other option is something similar to Tinkercad, which is, which name is BitBlock and is a BQ. 00:03:31
so bigblock.bq.com and here you can log in an account but it's not necessary 00:03:42
you can log in with a with one account and what happened is it needs to to pay something 00:04:04
if you want to have the full service. 00:04:20
But taking into consideration 00:04:24
that it's just only to practice, it's not necessary. 00:04:25
So click here in the command, 00:04:30
bblog-robotic, 00:04:33
and now you have a board. 00:04:36
Our board, you can, it's blocked, you can unblock it. 00:04:39
But, but, it doesn't matter because you can use, 00:04:45
for example, this one. 00:04:49
It's another word, but it doesn't matter 00:04:56
because the code is the same. 00:04:58
And apart from this, so now we use, for example, 00:05:01
the mini servo that is here. 00:05:05
So take the mini servo 00:05:13
and connect it in APN-8. 00:05:22
Now we are going to create a program. The program is the same that Scratch, Tinkercad, 00:05:24
it's all the same. So, here in components, move servo to 90 degrees. The problem with 00:05:39
the star bosses that just only can move from 0 to 180 so sometimes can be 00:05:48
complicated to use it wait a but not to not to second because it's too much half 00:05:57
a second so this is our program it's a program is a loop that is repeating all 00:06:08
the time till i disconnect the board so obviously we can use it if we have a the the driver for the 00:06:33
the board but it's not the train it's not the the case so what i'm going to do is click here in code 00:06:45
and then select all of these, copy it, and then paste in our Arduino Intel. 00:06:53
So now we have the program translated to Arduino language. 00:07:24
So I'm going to connect the Arduino board to the computer in a port and as always here we have to check 00:07:33
the board and the port. 00:07:45
And we will have to check this. Another important thing is to include a library 00:07:50
that is servo this library servo library so now check the program that is everything is 00:08:01
alright and computer understand what I want and download to the board so the result is what you 00:08:20
can see here it's not so difficult so we're going to repeat but now with the other circle all right 00:08:52
of the three cables ground power and digital pin i i had the connection the same as you have 00:09:18
tanning with yogurt exactly the same well so now go to the block take the board take the component 00:09:43
but in this case is the this one anything eight oh now we're going to create a very very easy 00:10:09
program, so we have it, and now I have the code, I copied it, plug the Arduino board, 00:10:38
check the Arduino, check the port, include the library, check the program, and download 00:11:35
the chord and the result is similar because we haven't enough time but it's not the same 00:12:10
And we need more time. 00:12:48
can get more time to have a complete uh 00:13:24
If I give more time I can have the total wheel, so depending the time I can have more wheels, 00:14:03
more rounds. 00:14:27
Well, that is the practice for today. 00:14:28
Idioma/s:
es
Autor/es:
Isabel Lafuente
Subido por:
Isabel L.
Licencia:
Reconocimiento - No comercial
Visualizaciones:
97
Fecha:
31 de mayo de 2022 - 15:55
Visibilidad:
Público
Centro:
IES JOSÉ SARAMAGO
Duración:
14′ 38″
Relación de aspecto:
1.78:1
Resolución:
1280x720 píxeles
Tamaño:
48.03 MBytes

Del mismo autor…

Ver más del mismo autor


EducaMadrid, Plataforma Educativa de la Comunidad de Madrid

Plataforma Educativa EducaMadrid