-->
Page 1 of 1

Talking Bench Project - I have my ESP8266 now... help!

PostPosted: Fri Jan 08, 2021 2:01 pm
by Frog Jones
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

Re: Talking Bench Project - I have my ESP8266 now... help!

PostPosted: Sat Jan 09, 2021 8:56 pm
by QuickFix
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:

Re: Talking Bench Project - I have my ESP8266 now... help!

PostPosted: Sun Jan 10, 2021 2:36 pm
by UdenVH
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