Using Arduino R4 for sensing vibration to then playback sound

Hello,

I'm newer to Adruino so forgive me for my ignorance.

My objective is the following:

  1. Use Hiletgo 5pcs SW-420 Vibration Sensor along with my Adruino Uno R4 to sense vibration/walking/stomping on my ceiling.
  2. Once vibration is detected on the vibration sensor to have my R4 communicate with a paired bluetooth speaker to play back a sound.

I am not sure what other hardware I need but so far have acquired.

  1. Hiletgo 5pcs SW-420 Vibration Sensor
  2. Arduino Uno R4 (due to reading it was Bluetooth compatible vs. R3)
  3. Bluetooth speaker that is mounted to my ceiling.

Is there any other hardware or peripherals I need to add to what I currently have to make this work?

I keep reading about R3's need a bluetooth module and figured my R4 already has that and thus not necessary.

I read another forum about the "SparkFun Music Instrument Shield" but not sure if that is needed for what I am trying to accomplish.

Thanks,

Scott

A complex project like this has to be done in stages.

The first stage would be to verify that the R4 and the vibration sensor can in fact detect the vibrations of interest. Test by lighting up an LED.

If that works, you need to learn how to generate and play the desired sounds. A Bluetooth speaker is one of many options, but technically very difficult. A DFmini MP3 player would be much simpler.

1 Like

That sounds like noisy upstairs neighbors. Have some fun with it and simply generate a single drum boom, then a bell, skip and start over, that should drive them bonkers. Then once in a long while add the sound of wood splitting. It should be just loud enough they hear it but not know where it is coming from. Maybe if it is in the kitchen place the sound so it hits there bedroom. They hear it but cannot see it. Have fun!

While the R4 WiFi has an ESP processor in it, I am not at all sure if it can do a Bluetooth audio streaming. Check out it can before you buy one.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.