ESP32-D0WDQ6电机PWM

pjch13131
Posts: 2
Joined: Sat Jul 03, 2021 1:59 am

ESP32-D0WDQ6电机PWM

Postby pjch13131 » Sat Jul 03, 2021 2:16 am

如题:硬件设计需驱动4路直流电机(2路电机调速(测速)+正反转;2路正反转),总共需要10路Timer
1、ESP32-D0WDQ6的PWM能驱动几路直流电机?
2、LED PWM是否支持A B相霍尔传感器?

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: ESP32-D0WDQ6电机PWM

Postby ESP_LJH » Wed Jul 07, 2021 3:55 am


pjch13131
Posts: 2
Joined: Sat Jul 03, 2021 1:59 am

Re: ESP32-D0WDQ6电机PWM

Postby pjch13131 » Wed Jul 07, 2021 7:38 am

1、GPIO15 & GPIO2 Used as IIC interface for sensors。If the other ports can use for PWM?
2、The Hall sensor I need four ports(2-way A and B phase),does the ESP32-D0WDQ6 support?
Attachments
IIC.jpg
IIC.jpg (65.5 KiB) Viewed 4833 times

ESP_LJH
Posts: 387
Joined: Tue May 18, 2021 9:21 am

Re: ESP32-D0WDQ6电机PWM

Postby ESP_LJH » Wed Jul 07, 2021 11:56 am

1. Both IIC and PWM could be mapped to any GPIO via IO_matrix, what you denote are default IIC pin from IO_MUX. So feel free to select other GPIOs as IIC.
2. ESP32 does not support this function.

Who is online

Users browsing this forum: No registered users and 51 guests