Hi! Some days ago, I posted here about some issues related to abnormal behaviour of a proximity sensor when I turn on 2 DC motors (to move the wheels of my project). One forum member helps me, telling me that it is a common decoupling problem and I need to use somo capacitors / inductors to solve it. I read something about it, but I'm not an electronic expert (I'm a programmer) and I have some doubts. (indeed, I've read that if you use a wrong capacitor it can explode!)
So, I'll very thankfull if somebody can help me with the schematics. I've created some schematics with fritzing. The first one, is the present configuration (proximity sensor goes crazy)
The second one is my aproximation of the solution, but I'm not sure that it will be right. Anybody can validate or correct it? If I miss some important data, tell me and I post any information you want.
In the schematics, I only represent the motor shield and not the arduino one itself, to make it better to read.