This question already has an answer here:

I want to control DC motors with L293D IC using my Raspberry Pi. I wanted to set it up similarily to this:


But then I found one article on Instructabiles, which said that it would work, but correct solution was this:


So my question is, why is the second circuit better? What do the capacitators do? I´m fairly new to electronics, so this may be a dumb question, but I really can´t figure it out.


marked as duplicate by Daniel Grillo, Bence Kaulics, Voltage Spike, Dave Tweed Sep 7 '16 at 0:14

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Browse other questions tagged or ask your own question.