nidayand / motor-on-roller-blind-ws

WebSocket and MQTT supported device code for the roller blind. As rework of the design and code is on its way there won't be any updates to this repository
https://www.thingiverse.com/thing:2392856
MIT License
110 stars 118 forks source link

Motor not rotating #17

Closed andrewjdavison closed 6 years ago

andrewjdavison commented 6 years ago

When I upload the sketch the web portals present themselves correctly, but I notice that D3 & D4 on the ULN2003 controller stay lit. On "starting" the motor, all four lights come on and the motor vibrates but does not rotate. It seems like the stepper algorithm isn't working correctly. Is this possibly another artefact of an updated library that hasn't been addressed as yet?

Can you tell us which versions of the libraries you have compiled with?

nidayand commented 6 years ago

It more sounds to me that your wiring is not correct. The stepper library hasn't changed for 2 years...

andrewjdavison commented 6 years ago

Sorry - I meant to close this. The board model was wrong so the DIO mapping was incorrect.

nidayand commented 6 years ago

👍