Arduino Project Hub
Project in progress

Piezo Activated Drumlights © TAPR-OHL

Piezos used as contact microphones to activate LEDs and shine lights through Samba drums.

  • 1,054 views
  • 0 comments
  • 3 respects

Components and supplies

Necessary tools and machines

09507 01
Soldering iron (generic)
Hy gluegun
Hot glue gun (generic)

Apps and online services

About this project

The Idea

One of my colleagues is a member of the Adelaide Samba drumming club - SaSamba. I guess he was a bit jealous of the feathered samba dancers getting all the attention during a gig. So he brought up the idea of a sound/drumming activated light system for the band.

We aimed to get the set-up ready for the Adelaide Fringe parade. The parade takes place at night with plenty of opportunity to show off different sorts of lights.

The Issue

For the first prototype I used an electret microphone with a pre-amplifier. With the right threshold, taps and claps would activate the LED strips I had hooked up to it. There were only 5 RGB LEDs on the test strip, but I was pushing my luck driving them directly from an Arduino Nano GPIO. An n-channel Mosfet is needed for safely sinking the current required for meter long strips. The other trouble with this approach was the cross-talk between drums. Without fancy FIR filters identifying particular drums, there was no reliable way of lighting only the drum being hit. In a band surrounded by screaming crowds, an omni-directional electret microphone is definitely not the way to go.

The Solution

After a conversation with Pix at the Adelaide Hackerspace I decided to switch to a contact-mic based approach, using a piezo as a knock sensor. Piezos can produce very large voltages in open circuit conditions, so I loaded this one with a 1M Ohm resistor tacked directly onto the disk. Soldering on piezos is tricky; you have to use flux, a hot iron and be quick. The disk acts as a heat sink and cools down pretty fast.

The piezo outputs only a few millivolts with this load (16-20 out of the 1024 max on the Arduino ADC range). This could be improved with pre-amp (opamp configured as a charge amplifier); however, it is sufficient for thresholding and briefly flashing the LEDs on drum hits.

My drummer colleague tested this with the whole band, and it shows pretty good isolation, as well. We went on to make 10 of these on protoboard and incorporated an overkill DPAK Mosfet (30V, 58A). These were covered in heatshrink and used with a LiPo at the fringe parade in front of around 70,000 people. I wonder how many appreciated the fudging that went into making them.

Video Demonstration

SaSamba warm up pre-parade

Schematics

Code

Drumlights Arduino
Arduino code to respond to piezo signal

Comments

Similar projects you might like

Arduino 101 BLE App

Project in progress by Alexis Santiago Allende

  • 1,304 views
  • 8 comments
  • 16 respects

Avoid Injuries with Smart Backpack

Project tutorial by Chathuranga Liyanage

  • 760 views
  • 2 comments
  • 11 respects

FM radio

Project tutorial by Patrick Müller

  • 6,697 views
  • 1 comment
  • 30 respects

Aquariumatic

Project in progress by Craig Hissett

  • 1,237 views
  • 2 comments
  • 12 respects

Arduino Temperature Control

Project tutorial by Team pandhoit

  • 724 views
  • 3 comments
  • 9 respects

Italian Word Clock

Project tutorial by Tittiamo

  • 1,002 views
  • 2 comments
  • 8 respects
Add projectSign up / Login