00:04Welcome! In this video, we will study the activation of a stepper motor, but...
00:08A stepper motor is essentially an electromechanical converter that transforms
00:13electrical energy is converted into mechanical energy, but in such a peculiar way that it currently constitutes a
00:17It is indeed a separate category, while a conventional motor rotates freely when a
00:23voltage contained within certain limits that the stepper motor is designed to be
00:27in such a way that it rotates a certain angle proportional to the voltage coding applied to its
00:32entries in this way if, for example, the number of degrees per step is 180 degrees to complete
00:39One revolution will require 200 steps for unipolar stepper motors in terms of construction
00:45They are very similar to those described above except for the winding of their stator sequence
00:51There are two basic ways to make stepper motors functional within the control circuit, taking into account
00:56With each excitation pulse, the rotor advances one full step.
01:01each excitation pulse, and therefore its sequence must correspond to that described above
01:07Okay, once the theoretical part has been described, I will move on to the programming in Basque first.
01:12The microprocessor we describe as being the Alt Mega 328p, which is present on the Simulino card.
01:18lilipad then we declare the internal 4 megahertz oscillator, then we define a variable x to a
01:25We define port c as output byte, we establish a time variable, we make the declaration
01:30for next from 1 to 12 in which using go sub with the pause variable perform at the times
01:36necessary in binary with next after a one-second wait then we perform the same
01:42Programming with time-based voting, the sequence is repeated, we proceed to compile, it is observed that it is correct in its
01:51In programming, we observe the configuration of the output pins of the port in C, the simulino lilipad
01:58We declare the port pins in C according to the configuration established for Proteo once
02:03Having clarified this, we simulated and observed that the operation is correct. Don't forget...
02:09Give it a like and subscribe until next time
Comentarios