Search found 4 matches

by MrOngCW
Sun Jan 23, 2022 4:44 pm
Forum: ESP32 Arduino
Topic: rosserial unable to work with ESP32
Replies: 0
Views: 3220

rosserial unable to work with ESP32

Hi, I am trying to use rosserial on ESP32 but I am getting this error on the Serial Monitor (using PlatformIO) when not connected to WiFi. rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO,...
by MrOngCW
Mon Jan 03, 2022 3:37 am
Forum: Hardware
Topic: How many motors can the MCPWM peripheral control?
Replies: 2
Views: 2715

Re: How many motors can the MCPWM peripheral control?

I'm using the typical yellow TT motors, which only requires 2 connections so i presume a total of 6 can be controlled in this case?
by MrOngCW
Sun Jan 02, 2022 6:08 pm
Forum: ESP32 Arduino
Topic: Driving motor with MCPWM
Replies: 0
Views: 3076

Driving motor with MCPWM

Hi, I am trying to learn MCPWM but i cant seem to drive multiple motors at once with a DRV8833 Only 1 motor (MCPWM_UNIT_0 , MCPWM_TIMER_0) runs.. Is there anything wrong with the code? void setup() { mcpwm_config_t pwm_config; pwm_config.frequency = 1000; pwm_config.cmpr_a = 0; pwm_config.cmpr_b = 0...
by MrOngCW
Sun Jan 02, 2022 2:38 pm
Forum: Hardware
Topic: How many motors can the MCPWM peripheral control?
Replies: 2
Views: 2715

How many motors can the MCPWM peripheral control?

Hi, I am new to ESP32, and trying to learn MCPWM for motor control. 1. Am i correct to say that each MCPWM Unit can control 3 motors and hence 6 as there are 2 units? 2. Does it work such that MCPWM Unit 0 PWM0A & PWM0B controls 1 motor independently PWM1A & PWM1B controls 1 motor independently PWM2...