RUVIDEO
Поделитесь видео 🙏

Stepper Motor Control with the Raspberry Pi and Python using L293D Motor driver

In this tutorial, I will show you how to setup a stepper motor with a Raspberry Pi. I’m using a 26 pin Raspberry Pi , L293d Motor driver & Python Script
https://github.com/roboasimo/RaspberryPi

My hardware setup and the wire mappings from Raspberry Pi to Stepper motor driver are as follows:
Input 1 to Pin 7
Input 2 to Pin 11
Input 3 to Pin 13
Input 4 to Pin 15
5- to Pin 6 (Black wire)
Stepper Motor: There are slight differences on how the different variant of stepper motors work (i.e. the 4 wires, 5 wires and 6 wires stepper motors)
Stepper motor is an impressive piece of engineering. Instead of making full turns like a normal motor, stepper motor makes steps, one small degree at a time. It is commonly used in photocopy machines, printers, CNC machines, robotics, etc where precision motion (steps) and controls are needed.
Stepper motors fall into 3 main categories namely Unipolar, Bipolar, or Hybrid (Unipolar + Bipolar).
A Unipolar stepper motor must be driven in Unipolar mode;
A Bipolar stepper motor must be driven in Bipolar mode;
A Hybrid stepper motor can be driven in Unipolar or Bipolar mode.

BASIC PRINCIPLES Although in reality there are several set of coils in a stepper motor forming what is known as a phase, for understanding purposes it is best to imagine that there are just 4 coils in a stepper motor.
If any one of the coil is energized, the motor will make one step, then stays in that place (after 1 step is completed). In order for the motor to complete one full revolution, it needed to make multiple steps. The coils need to be energized in the proper sequence to achieve this.

L293d Stepper motor driver:

Controlling a Stepper Motor With an H-Bridge As L293D IC has two H-Bridges,
each H-Bridge will drive one of the electromagnetic coils of a stepper motor. By energizing these electromagnetic coils in a specific sequence,
the shaft of a stepper can be moved forward or backward precisely in small steps.
However, the speed of a motor is determined by the how frequently these coils are energized.
More Info :
https://tutorials-raspberrypi.com/how-to-control-a-stepper-motor-with-raspberry-pi-and-l293d-uln2003a/

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Stepper Motor Control with the Raspberry Pi and Python using L293D Motor driver», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.