this post was submitted on 04 Sep 2025
19 points (100.0% liked)
Ask Electronics
3838 readers
12 users here now
For questions about component-level electronic circuits, tools and equipment.
Rules
1: Be nice.
2: Be on-topic (eg: Electronic, not electrical).
3: No commercial stuff, buying, selling or valuations.
4: Be safe.
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
In that case, I would suggest looking at a different motor driver. The driver you've specified doesn't seem to have any provisions to detect a motor stall, which is something that other drivers can potentially do. Ideally, the driver would detect the back EMF from the stall and inform the microcontroller, which would then decide to stop movement.
An external current sensor might work, but that's adding to the part count and might not be as capable as built-in functionality within the motor driver. Plus, fancier motor drivers have some neat features that you could take advantage of as well. I think it would be more prudent to consider a different driver before adding additional parts.
Ah... Since I am not a smart man, I have already invested too much (for the project) in several of these motor drivers. :-(
Out of curiosity, what is this project?
It is a networked window opener/closer for my house, all with parts sourced from China, since the commercially available openers are very overpriced IMHO. Which I guess also speaks a lot to the fact that I am a man with more time than money...
I like it!
I once endeavored to do something similar, but it would have been for opening the blinds in the morning and closing them after sunset.
Thanks. It has been fun, both doing the software, where I feel at home, but also the challenge of trying to do electronics, where I am completely lost :D You can't imagine the amount of DC converters I have burnt out, or my absolute confusion why I couldn't turn a motor on and off using a couple of relays! I must confess I still don't understand, but at least now I know.