Arduino is powered through a 9V battery and the motor driver with 12V battery... Bluetooth, LCD , distance sensor are powered from arduino's 5V,
QuoteArduino is powered through a 9V battery and the motor driver with 12V battery... Bluetooth, LCD , distance sensor are powered from arduino's 5V, Your main problem is that a small 9 volt battery will never be able to supply enough current for those devices, not enough current capacity. Even with a proper battery with enough current you will still be limited by the arduino 5V current capacity to power that much external stuff. You will need to use an external +5vdc power source with enough current capacity for all that stuff. How much current? Can't say without looking at the datasheets for each of the external devices to see what they require.
Do i need capacitors to protect the system from noise, surges ,spikes and generally make power more smooth ?
A small 9V battery isn't up to putting out 100mA for very long. And they just aren't meant to supply that much current for any length of time. So the voltage is going to drop off much more quickly than the mAh ratings might indicate.http://www.powerstream.com/9V-Alkaline-tests.htmSo, yes, the problem may very well be your battery.Yes, you should have bypass capacitors around the circuit.http://www.vagrearg.org/content/decoupling
It is important to pay attention to where the ground lines run, too, not just Vcc.
Quote from: polymorph on Jul 19, 2014, 01:21 amIt is important to pay attention to where the ground lines run, too, not just Vcc.All of those 6 images are poor as the traces between IC pins and decouplingcapacitor are narrow signal traces, not low-inductance wide traces. This ismore important than where you route the wires to the regulator, there must beas low-inductance a path from chip to the fast decoupling cap as possible. At leastthey are short traces, but it shows a lack of understanding of Maxwell and Heaviside'sequations...Also its perfectly fine to use planes in place of traces for GND and/or Vcc. Planesare as low-inductance as you can get!
Hi, I hate to repeat what everybody has asked, but , what SIZE is your 9V battery?A picture of your project would help us to see what you have and provide accurate information.Tom.....
so its better to solder them on the motor,