-
Notifications
You must be signed in to change notification settings - Fork 4
Not working on ESP32 #1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi, I've freshly downloaded the ESP32 Arduino IDE package by following the new instructions - https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/boards_manager.md If you have working code form Arduino Uno, you just need to plugin some third party analogWrite function (or write your own, this library can be an example), that's missing form ESP32 - espressif/arduino-esp32#4 to generate PWM using the ESP32 Ledc API. As for general tips, you should check that the pin numbers and their functions match physical wiring and Arduino code between TB6612FNG board and ESP32. Some ESP32 pins are input-only and not suitable for usage - https://www.reddit.com/r/esp32/comments/5g14iw/which_gpio_pins_are_usable/daomxrq/ The constructor signatures are: Also ESP32 and motors should be best powered form separate power sources (or batteries), because load from motors drops voltage, making ESP32 to brownout and hang or reboot. Hope this helps. |
Ok, have tried again with MH-ET Live Mini board, and it's working. Same for my usual esp32 devboards. this time i used the pins from the code, my god I feel stupid now. Awesome little lib ! |
Hi All,
i've just tried this library on my esp32 and it seems it's not working at all.
I'm using the standard configuration and pin attribution on a standard esp32dev board.
The module is running fine on an Arduino Uno.
Please let me know if you have any idea about this issue.
The text was updated successfully, but these errors were encountered: