I have an Arduino Mega and I ordered a motor shield for it:
(http://www.amazon.com/gp/product/B00EYT1CBE?psc=1&redirect=true&ref_=oh_aui_detailpage_o00_s00)
Currently I'm running a PING Sensor, a Piezo buzzer, and a servo off of the Mega:
The servo is no issue because the shield has headers for it. My issue is: How am I supposed to power the Ping sensor and piezo buzzer or any other components that I plan to add on to my project in the future?
How am I supposed to power the Ping sensor and piezo buzzer or any other components that I plan to add on to my project in the future?
By connecting it to a 5V power source.
You solder (AHggggggg!) wires to the header or the shield.
Don't ask why it doesn't have stackable headers, if that's what you need you have just made a bad choice of shield, but the shield you have does seem to have all bases covered, including extenal power. In the top left corner there is a group of pads for A0>A5 along with power and ground. You can can install headers in there and programme A0>A5 as digital pins if you need to.
LoL - it looks a much better choice if soldering scares you.
I am not familiar with either shield.
Nick_Pyner:
LoL - it looks a much better choice if soldering scares you.
I am not familiar with either shield.
Its not that I'm afraid, its just that I'm no quite confident in using one. And no one I know, knows how to use one.
There is bound to be something on Youtube. It isn't hard, just remember that cleanliness is more important than godliness. So now is the time to be the first kid on your block to do it, and achieve instant fame.......
BruceBerrios:
Would this shield make a better choice?
Take a look at "L298N" boards on ebay. They can do the same thing as the shield and cost $3.