ESP32-COOP / ESP32-COOP-DOC

Create an affordable and accessible automatic coop door using ESP32. DIY your chicken coop with customizable behavior based on time and light levels. Control it through a dedicated Bluetooth-enabled app. Find comprehensive build instructions, wiring diagrams.
156 stars 3 forks source link

Motor Control Issue #6

Open helidave opened 5 months ago

helidave commented 5 months ago

Hi. Firstly thank you for posting this project. I do not currently have a motor with embedded encoder but I can connect the encoder I do have to the motor shaft and read the rotation. However when I try to operate the motor from the app it does try to turn the motor (maybe 1/10th of a turn) and always in the same direction. I do not see a change in encoder value when I look at the ESP serial output. Any pointers as to what I am doing incorrectly? Thanks, David

helidave commented 5 months ago

please close above thread. I worked out what my problem was. I needed pull up resistors on the signal lines of my encoder.

JohnMcLear commented 3 months ago

@helidave you can close this yourself.