my project

I have to program something for my sculpture project and it involves using an Arduino board and I have code that allows a melody to be played each time it is complied into the board my problem is I have to make it so when a ball hits the bottle of water it makes a sound. How do I program it or hook it up using my circuit in order to achieve this out come. I need to make it so when the ball hits the bottle it makes a melody?

Hello earthman,
Greetings...
Kindly go through the post it will help you to describe your issue in more detail.
http://forum.arduino.cc/index.php/topic,148850.0.html

Good day.
:slight_smile:

While you know all about this project we don't and therefore can not offer any usefull advice. Things we need to know
How are you going to detect the ball hitting the bottle ..... Or is that what you are asking if so then we need to know about the bottle, size weight, is it fixed or can it move and so on. The ball, is it flying through the air, or rolling on the ground, will it break the bottle, make a noise move the bottle.

The melody, what code are you using, link it or post it.