Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • 1
    Maybe if you try controlling pin 11, where the pump is connected, and not pin 13, it may help. Also I can't understand your wiring there (but it looks wrong - there are components missing). Please provide a schematic (which you can do using the schematic editor available when you edit your question). Commented Dec 30, 2016 at 12:18
  • 1
    As for where to place a speaker - how about pin 12, like you have already decided in your code? Commented Dec 30, 2016 at 12:26
  • Thank you, I uploaded a diagram i wire them exactly like the diagram. Commented Dec 30, 2016 at 15:06
  • What model transistor is that? Commented Dec 30, 2016 at 15:07
  • it says BC5478, It came with Arduino Starter Kit. Commented Dec 30, 2016 at 15:11