Skip to content

Latest commit

 

History

History
57 lines (37 loc) · 2.4 KB

README.md

File metadata and controls

57 lines (37 loc) · 2.4 KB

VOICE

This was a small project for some students in Industrial Design class for Installation Art.

This example uses 3 off the shelf DIY microphones each connected to one of the ADC's Norally these micrphones only supported ON/OFF output for detecting sound but the output could be used to measure the votlage representing the intesity of the sound which can be used for trigging different responses.

We read each ADC inputs for 100 times each and accumulate a total for each channel. When the value it low, the sound recorded was low, and a high value indicated loud sound. The longer the sound, the higher the value is. A short abut loud "shout" will still result in a low value.

The total of values is divided in 4 ranges Based on each range of values an mp3 file is played with the dflplayer.

There are 3 LEDS connected to the digital out pins. When recording starts the LED will be lit so the person know when to start speaking.

The microphones are very sensitive, just a small amount of sound will increase the value a lot So the micrphones must be distanced and isolated from each as much as possible to prevent sound bleed.

Updating MP3 files can be done using the USB connector.

  1. Set the switch is set in "ON" position
  2. Connect a computer is to the DFPlayer USB connector
  3. Connect powerto the Arduino
  4. The dfplayer will act an an USB drive and files can be moved from the PC to the dfplayer.
  5. Disconnect the usb connectors
  6. Set the switch to "OFF"
  7. Power on the Arduino.

** Material List **

  • [uno] - Arduino Uno
  • speaker - 2W or more speaker (3W recommended)
  • dfplayer - DFplayer Mini
  • usb - USB type B connector
  • switch - Mini Push Button Switch Latching DPDT
  • Some resistors
  • microphone - Electret micrphpone breakout board

Note: watch the video in VLC media player [uno]: https://www.arduino.cc/