Hello! I am trying to make an Arduino device to place inside of a bird cage. The goal is to have the bird press a lever button that will trigger a song to play out of a speaker. Eventually I am hoping to have it play a random song out of a playlist but for now I would be happy to have it play just one. I am using an Arduino UNO R4 WIFI and a kit containing the boards and circuitry components. I've been viewing tutorials on how to do similar things but its taking me a while to learn the basics and so far all I have accomplished is powering an led. I am a Biologist and have very little knowledge on Arduino, breadboard circuits, or code writing so any help or advice is greatly appreciated!
Thanks
How far along are you in the project? Do you have a bird? Do you have a switch that the bird can press? Does the bird know how to press the switch? Begin with the beginning, not the computer part, add that when the fundamentals are done and working.
Where is the song?
If you have it as an MP3 on a SD card, then a device like DFPlayer - A Mini MP3 Player — Arduino Online Shop could help, and the tutorials on it should be good starting points.
The birds intuitively press the switch so no training is necessary. I am working with wild birds and will not be capturing any before the setup of the Arduino is completed.
Thank you for the advice! The song files are stored on a computer and I am hoping to play them off of there.
Then you are half the way there. Look at the Arduino IDE example programs. Pick one that monitors a switch closure and turns on a LED. That will be that starting point. When that works, then you can add the song playing code.
So you are asking for something that clicks "Play" on your computer? Look into something like:
https://docs.arduino.cc/built-in-examples/usb/KeyboardAndMouseControl/
Poor computer, birds are messy.. ![]()
So far I see only button and computer in your circuit. For what you need arduino ?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.