Це відео відноситься до openHPI курсу Wie programmiere ich meinen ersten Mini-Computer?. Бажаєте побачити більше?
An error occurred while loading the video player, or it takes a long time to initialize. You can try clearing your browser cache. Please try again later and contact the helpdesk if the problem persists.
Прокрутити до поточної позиції
- 00:00Welcome to the second week. Last week
- 00:02we've familiarized ourselves with some sensors
- 00:04made. This week several projects
- 00:06Use engines. But what are available for engines and
- 00:10how do they differ?
- 00:11A motor is used to drive an to trigger a movement. For example
- 00:16you can shoot things with it and
- 00:18and move it around. engines also make it possible for you to
- 00:22bspw can move water, for example, by using it
- 00:25pump. You will also about the pins of your
- 00:28microcontrollers.
- 00:30You need some types of engine
- 00:33motor driver, quasi a Amplifier to move the motor.
- 00:37Because compared to the most sensors, need
- 00:40engines much more power.
- 00:42But the data pins of the ESP microcontrollers
- 00:46aren't made for it, that there's a lot of electricity flowing over it.
- 00:49The power pins, so ground, 3.3 and 5V,
- 00:54have already more . . .and I'm going to get out of here. Also, the
- 00:58Control of motors through the use of a
- 01:00library is facilitated,
- 01:01which takes over the logic for the control.
- 01:04In the next lesson.
- 01:06show advantages, because in the Basically every sensor and
- 01:10any engine even without Library controllable
- 01:13but with the library of the Code becomes much simpler.
- 01:17We distinguish three types of engines.
- 01:20On the left you see a DC motor, next to it a
- 01:22Servo motor and all right a stepper motor.
- 01:25We have here certain characteristics in the
- 01:28Comparison that is most interesting for you
- 01:30will be. On the one hand, the engines have
- 01:32different number of connections. The DC motor has
- 01:35only two connections for plus and minus. The
- 01:38Servo and Stepper Motors have more than
- 01:402 connections to connect the Motors also control to
- 01:42can. So we are already with one of the
- 01:45the biggest differences. The DC motor can be
- 01:48but you can't don't know how much
- 01:50degrees or rounds he spun.
- 01:51The Servo the engine goes
- 01:54to the degree accurate between 0 and 180 degrees.
- 01:57But neither on. After 180 degrees.
- 01:59That's the end of it. just back. At
- 02:01Stepper motor happens
- 02:03turning in steps. So you can give him
- 02:04say: "turn yourself around Step further" and the
- 02:07he'll do it. One step in this process has a
- 02:09fixed angles, for example ½ degrees. If you're
- 02:12then says: "Turn 180 times a step",
- 02:15then he turned 90 degrees at the end. In contrast
- 02:18to the servo you can also use the stepper motor
- 02:20as many times as you want.
- 02:22The control for the DC motor and stepper motor is done with
- 02:26a motor driver. At Servo is the already
- 02:29is built in. You can so just put the pins on
- 02:32connect the microcontroller. An insert for
- 02:35the DC motor would be a ventilator, for example, because
- 02:40because it doesn't matter, how far the engine will go
- 02:42It's just that it's spinning. At
- 02:46Servo motor offers a robot arm, which is
- 02:48must precisely adjust certain angles.
- 02:50Stepper engines are used in most 3D printers
- 02:54to move the print head.
- 02:56That's it with the overview. to engines. In the
- 02:59next lesson will be we're headed for one.
Щоб увімкнути запис, виберіть мову в меню налаштувань відео.