ESP32 and DRV8833 control

hoahoctro
Posts: 5
Joined: Thu Jul 11, 2019 3:47 pm

ESP32 and DRV8833 control

Postby hoahoctro » Tue Mar 24, 2020 4:28 pm

Anyone has tried using dual DRV8833 ?

Im making an RC car, diagram shown as picture, i write a motor lib myself, but it seems there is something wrong, 1 side run faster (image 1 side run with pwm 255 and 1 side is just 100-150) than the other, and if i disconnect 1 DRV8833, the other stop running too,

I found another DRV8833 lib and use it, both sides run with same speed, but just give 1 force ~ 150-200 pwm, i dont know how to increase it to max

Can someone give some guides ? Thanks

Link for ESP32 motor lib i found on github:https://github.com/JoaoLopesF/ESP32MotorControl

My lib write myself: https://pastebin.com/S4RBCFcp and https://pastebin.com/mG2Ewzyc

Image

Image

Who is online

Users browsing this forum: No registered users and 101 guests