Esp32CameraRover2
Esp32CameraRover2 copied to clipboard
Support L293D
Hi I'm working on a ESP32 open hardware bot: https://github.com/rosmo-robot/micro-bot/tree/master/Hardware/V2.11
Would your code support this hardware?
I guess the biggest change would be hall encoders?
Hall encoders need 2x pins each, so I don't think ESPcam has sufficient pins?
https://github.com/rosmo-robot/micro-bot/blob/master/Hardware/V2.11/Minisumo_V2.1.pdf
I'm one short I think, unless I can re-use TX/RX after flashing?
Edit: maybe it will work. I need 8 GPIO
Maybe with https://www.aliexpress.com/item/1005004360195123.html
Sorry I have not responded, I've been focused on Donkeycar. I'm back on this project. Yes I have one of the new Esp32 cams as well and they have more pins.
With the older cam we can still use the hall encoder but we would only use one channel per wheel. Alternatively we could change the bot so that it could not reverse - that gives use two pins to use which could be used for the second encoder channel on each wheel; however the second encoder channel allows us to determine the direction of the motion, so it would not really get use much (or at all) because if we can't go in reverse then we don't need the encoder to be able to detect this and so a single channel encoder is fine.
We can support the L293D with the current code I think because the L9110s and the L293D both use two PWM pins per motor to handle forward and reverse.