Program to calculate the tempo of a real-time drum beat
- AtmelStudio IDE
- ATmega8515 microcontroller
- Driver ULN 2803
- 7-segment displays (x3)
- Piezoelectric Sensor
- 16 MHz Crystal Oscillator
- Connect 7-segment displays, piezoelectric sensor, and crystal to the ATmega8515 microcontroller as shown in the following diagram:
- Open AtmelStudio and create new project
- Choose ATmega8515 device
- Add drumReferenceMetronome.c file to project
- Build target
- Write the resulting hex file to the ATmega8515 microcontroller
Tapping the piezoelectric sensor, the tempo in beats per minute is displayed.
- Sahil Mahajan
This project intentionally has no license.