Home
last modified time | relevance | path

Searched refs:motor (Results 1 – 7 of 7) sorted by relevance

/hal_espressif-3.4.0/examples/peripherals/mcpwm/mcpwm_brushed_dc_control/
DREADME.md7motor by generating two specific PWM signals. This example assumes an [L298N](https://www.st.com/c…
17 * A separate 12V power supply for brushed DC motor and H-bridge (the voltage depends on the motor m…
18 * A motor driving board to transfer pwm signal into driving signal
19 * A brushed DC motor, e.g. [25GA370](http://www.tronsunmotor.com/data/upload/file/201807/e03b98802b…
66 Testing brushed motor with PID...
80 | 5. Try 'motor' to start motor in several seconds or stop it |
105 mcpwm-motor>
112 mcpwm-motor> help
117 Enable or disable PID and set motor control period
119 -T, --period=<ms> Set motor control period
[all …]
/hal_espressif-3.4.0/examples/peripherals/rmt/step_motor/main/
Dstep_motor_main.c51 step_motor_t *motor = NULL; in app_main() local
52 ESP_ERROR_CHECK(step_motor_create_rmt(a4988_io, &dev_config, &motor)); in app_main()
54 step_motor_init(motor); in app_main()
59 step_motor_set_step(motor, 1, STEP_MOTOR_DIRECTION_POSITIVE); in app_main()
63 step_motor_step(motor, 10, 1000); in app_main()
66 step_motor_step(motor, 100, 1000); in app_main()
69 step_motor_step(motor, 1000, 1200); in app_main()
72 step_motor_step(motor, 5000, 1400); in app_main()
76 step_motor_smooth_step(motor, 5000, 1000, 500, 1400); in app_main()
81 step_motor_step(motor, UINT32_MAX, 1000); in app_main()
[all …]
/hal_espressif-3.4.0/docs/en/api-reference/peripherals/
Dmcpwm.rst15 …to collect inputs such as ``SYNC SIGNALS``, detect ``FAULT SIGNALS`` like motor overcurrent or ove…
26 …on of MCPWM's **Timer** and **Generator** submodules to provide the basic motor control functional…
32 * `Operate`_ the outputs to drive a motor
33 * `Adjust`_ how the motor is driven
44 …pends on the motor type, in particular how many outputs and inputs are required, and what will be …
46motor that is using only some of the available MCPWM's resources. An example circuit is shown belo…
57 1. Selection of a MCPWM unit that will be used to drive the motor. There are two units available on…
58 …cpwm_gpio_init`. The two output signals are typically used to command the motor to rotate right or…
68 To operate a motor connected to the MCPWM unit, e.g. turn it left or right, or vary the speed, we s…
72 …signal_low`. This will make the motor to turn with a maximum speed or stop. Depending on selected …
[all …]
/hal_espressif-3.4.0/examples/peripherals/mcpwm/mcpwm_bldc_hall_control/
DREADME.md4 # MCPWM BLDC Hall motor control Example
8 … driver to control BLDC motor with hall sensor feedback. In the example, a timer is running at the…
16 1. The BLDC motor used in this example has a hall sensor capture sequence of `6-->4-->5-->1-->3-->2…
71 I (367) example: Please turn on the motor power
/hal_espressif-3.4.0/examples/peripherals/rmt/step_motor/components/step_motor/src/
Dstep_motor_rmt.c84 static esp_err_t rmt_step_motor_init(step_motor_t *motor) in rmt_step_motor_init() argument
86 rmt_step_motor_t *rmt_handle = __containerof(motor, rmt_step_motor_t, base); in rmt_step_motor_init()
94 static esp_err_t rmt_step_motor_deinit(step_motor_t *motor) in rmt_step_motor_deinit() argument
96 rmt_step_motor_t *rmt_handle = __containerof(motor, rmt_step_motor_t, base); in rmt_step_motor_deinit()
105 static esp_err_t rmt_step_motor_step_impl(step_motor_t *motor, uint32_t n, uint32_t speed) in rmt_step_motor_step_impl() argument
107 rmt_step_motor_t *rmt_handle = __containerof(motor, rmt_step_motor_t, base); in rmt_step_motor_step_impl()
/hal_espressif-3.4.0/examples/peripherals/rmt/step_motor/
DREADME.md10 This example will show how to control an A4988 based step motor driver to step accurately with simp…
18 * A 4-wire (A+, A-, B+, B-) step motor
/hal_espressif-3.4.0/examples/peripherals/mcpwm/mcpwm_servo_control/
DREADME.md15 * A RC servo motor, e.g. [SG90](http://www.ee.ic.ac.uk/pcheung/teaching/DE1_EE/stores/sg90_datashee…