ECE 4180: MPR121 I2C Capacitive Touch Sensor Electric Keyboard

Collaborated with: Jong Hwa Jang and Gavin McWilliams

/media/uploads/rhuang77/overview.jpg

Description

The electric keyboard uses the MPR121 I2C Capactive Touch Sensor with a Speaker, uLCD-144-G2, and RGB LED to emulate a standard electric keyboard. The features of the keyboard are controlled through Adafruit Bluefruit. The user is able to select between a PLAY mode and a LEARN mode. The LEARN mode teaches the user a select few songs to follow along with. The uLCD displays the correct note to be played on the touch sensor and the RGB LED indicates whether the user is hitting the correct square on the touch sensor. The PLAY mode allows the user to listen to the song they are learning from the LEARN mode. When LEARN and PLAY are not in use, the touch sensor acts as a standard keyboard allowing users to play freely. Bluefruit has the ability to control some features on the standard keyboard such as volume, octave, and song choice.

MPR121 I2C Capacitive Touch Sensor

touch /media/uploads/rhuang77/wired.jpg

Adafruit Bluefruit

blue blue

Class D Amp and Speaker

amp speaker wire

RGB LED

RGB schem

Video

Code

Import programelectric_piano

ece 4180 project 2019


Please log in to post comments.