Go Down

Topic: How to make an ultrasonic sensor (HC-SR04) trigger audio (WAV Trigger) (Read 91 times) previous topic - next topic

sparkedecho

Hello  :)

I want to make ultrasonic sensor HC-SR04, launch a trigger on the WAV Trigger board. The trigger is being run though an Arduino Uno. Everything seems to be connected properly from the sensor to the Arduino to the WAV Trigger.

It's the Arduino coding I'm less confident with.

Once the sensor detects an object at 25 cm, I want it to trigger that audio. I'm guessing the logic is something like IF sensor detects 25cm THEN trigger audio.

Any support would be greatly appreciated. I'm putting together a video sound installation in a gallery next week and this is hopefully going to be a component!

Thanks.

ProgettoCompany

Hi sparkedecho,
People are going to need more information to help you. Start with posting the following:
1) A schematic
2) The code you have so far (at least which libraries you're using).
All the best,
John Wolf
Progetto Company
Here at Progetto, we strive to help simplify your projects so you can spend more time working on the exciting stuff.

Go Up