So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Frog Jones
#90125 Hello,

I have a ESP8266 based project I need help with.

My project in short is that I want to create a park bench, that when a user sits on it some music will play. After they leave I want the audio to stop and the next time someone sits, a new (random) track plays. I want to set up an IR sensor, with a music board, amplifier and speakers.

I will be using the Adafruit Audio FX Sound Board + 2x2W Amp - WAV/OGG Trigger - 2MB alongside a IR Break Beam sensor.

I just now need some help setting up the script on the ESP8266 to make my project happen. Where can I start with this?

Any information would be much appreciated,

Thanks,
F. Jones
User avatar
By QuickFix
#90142 You do know the ESP is a controller with WiFi hardware?

For what you describe a simple Arduino board with MP3 shield (or the Audio FX board you mention) should get you going in no time; no need for an ESP8266. :idea:
User avatar
By UdenVH
#90148 you can use ( a translation of ) the following project as basis for the code. it uses an old telephone as input for playing a song.
see https://pd1rh.jouwweb.nl/ardufoon

the corresponding code on github is in english.
see https://github.com/reijndert/ardufoon