Project

# Title Team Members TA Documents Sponsor
42 Position-Sound Accurate Electric Snare Drum
Kadin Shaheen
Oscar Li
Tim Dager
Aniket Chatterjee design_document1.pdf
proposal1.pdf
Team Members:
Tim Dager (timcd2)
Kadin Shaheen (kadinas2)
Oscar Li (hongyil9)

Problem

Modern electronic snare drums are unable to replicate the detail of sound that changes continuously based on how and where you strike an acoustic drum. They generally relegate hits to one of three zones: head, center, or rim, with some degree of velocity sensitivity. The issue with determining strike zones through dedicated zone sensors is a limited resolution sound profile.

Our goal is to develop a digital snare that utilizes time difference of arrival (TDOA) with piezoelectric sensors to pinpoint drum strikes to a centimeter level of precision to realistically emulate the sound profile of an acoustic drum. Further positional detection improvements and low-latency benchmarks will be treated as stretch goals.

Solution

We will utilize three piezoelectric sensors with analog processing components feeding to an STM32 microcontroller to measure and calculate strike position. The piezos will be placed equidistantly from the center of the drum mesh and will detect the first arrival of a wave to triangulate the strike position. Signal processing will account for reflected waves from the rim of the snare drum as well as attenuation across the mesh. The STM32 microcontroller will be used for its DAC module, digital signal processing, and communication through USB as a MIDI device. The drum pad will divide into four subsystems including the piezo sensor array, analog pcb, MCU, and power subsystem.

Solution Components

Subsystem 1: Piezo Sensor Array

A set of concentrically spaced, commonly available piezo vibration sensors will be mounted to an inexpensive single zone mesh drum. A minimum of three sensors are needed to perform the time difference of arrival (TDOA) algorithm, but more may be added (while maintaining concentricity) to allow for cross referencing if necessary. The placement of these sensors will mimic implementations of TDOA systems in similar applications.

Subsystem 2: Analog PCB

An analog preprocessing board will take inputs from each of the piezo sensors, and convert them into usable analog inputs in the range of the microcontroller. It will consist of an op-amp as an impedance buffer for each piezo, a voltage translator to align our analog signal with the specification of the microcontroller (0 - 3.3v for STM 32), and a clamping circuit to protect from voltage spikes.

Subsystem 3: MCU (computation + data output)

An STM32 with a 12 bit ADC will be used to accept the three analog signals, perform the TDOA algorithm to compute a positional estimate, and generate the appropriate usb signals as MIDI, that the user may use for triggering drums, or other purposes.

Subsystem 4: Power

The power subsystem will take input from a USB source and output correct voltage levels to the Analog PCB Subsystem and to the MCU. The device will be powered from a 5V USB input with USB-C preferred. A 3.3V onboard regulator will generate the primary logic and analog supply rail for the STM32 microcontroller and other 3.3 V compatible components.

The subsystem will include input protection, local decoupling/bulk capacitors to maintain a stable 3.3V rail. If later component selection requires an additional power supply voltage for the analog subsystem, or other circuitry, an additional regulated rail may be added.


Criterion For Success

The drum must be capable of distinguishing between a minimum of 10 distinct radial zones, each of which may be mapped to different midi notes to confirm zone accuracy
Drum pad USB device endpoint is recognized as a MIDI interface
Net latency measured from impact time to USB handshake should be minimal enough to avoid causing an audio-tactile mismatch (delay between strike and sound) sensed by the player- roughly 40ms.

Covert Communication Device

Ahmad Abuisneineh, Srivardhan Sajja, Braeden Smith

Covert Communication Device

Featured Project

**Partners (seeking one additional partner)**: Braeden Smith (braeden2), Srivardhan Sajja (sajja3)

**Problem**: We imagine this product would have a primary use in military/law enforcement application -- especially in dangerous, high risk missions. During a house raid or other sensitive mission, maintaining a quiet profile and also having good situational awareness is essential. That mean's that normal two way radios can't work. And alternatives, like in-ear radios act as outside->in communication only and also reduce the ability to hear your surroundings.

**Solution**: We would provide a series of small pocketable devices with long battery that would use LoRa radios to provide a range of 1-5 miles. They would be rechargeable and have a single recessed soft-touch button that would allow someone to find it inside of pockets and tap it easily. The taps would be sent in real-time to all other devices, where they would be translated into silent but noticeable vibrations. (Every device can obviously TX/RX).

Essentially a team could use a set of predetermined signals or even morse code, to quickly and without loss of situational awareness communicate movements/instructions to others who are not within line-of-sight.

The following we would not consider part of the basic requirements for success, but additional goals if we are ahead of schedule:

We could also imagine a base-station which would allow someone using a computer to type simple text that would be sent out as morse code or other predetermined patterns. Additionally this base station would be able to record and monitor the traffic over the LoRa channels (including sender).

**Solutions Components**:

- **Charging and power systems**: the device would have a single USB-C/Microusb port that would connect to charging circuitry for the small Lithium-ion battery (150-500mAh). This USB port would also connect to the MCU. The subsystem would also be responsible to dropping the lion (3.7-4.2V to a stable 3.3V logic level). and providing power to the vibration motor.

- **RF Communications**: we would rely on externally produced RF transceivers that we would integrate into our PCB -- DLP-RFS1280, https://www.sparkfun.com/products/16871, https://www.adafruit.com/product/3073, .

-**Vibration**: We would have to research and source durable quiet, vibration motors that might even be adjustable in intensity

- **MCU**: We are likely to use the STM32 series of MCU's. We need it to communicate with the transceiver (probably SPI) and also control the vibration motor (by driving some transistor). The packets that we send would need to be encrypted (probably with AES). We would also need it to communicate to a host computer for programming via the same port.

- **Structural**: For this prototype, we'd imagine that a simple 3d printed case would be appropriate. We'd have to design something small and relatively ergonomic. We would have a single recessed location for the soft-touch button, that'd be easy to find by feel.

**Basic criterion for success:** We have at least two wireless devices that can reliably and quickly transfer button-presses to vibrations on the other device. It should operate at at *least* 1km LOS. It should be programmable + chargeable via USB. It should also be relatively compact in size and quiet to use.

**Additional Success Criterion:** we would have a separate, 3rd device that can stay permanently connected to a computer. It would provide some software that would be able to send and receive from the LoRa radio, especially ASCII -> morse code.