MSP430 TOUCHSCREEN PIANO

0 Comments

[Rohit Gupta] wrote in to share this touchscreen piano project he built around the TI Launchpad. It provided a way for him to check out using a resistive digitizer discovered on a lot of mobile devices. These are simply stuck to the top of LCD screens as well as replacements are inexpensive, however salvaging one from old hardware is an option as well.

The very first thing he did was to test the four outputs of the digitizer with his multimeter. Logging the altering resistance will assist make sure you’re reading the appropriate wires as well as are able to zero in the settings before you start coding. [Rohit] uses the ADC on the MSP430 chip to read from the screen. He went with the algorithm from one of TI’s app notes to convert the readings in to X as well as Y coordinates.

He separated the screen into seven columns, each generating a different tone. Touching higher or lower on that column will change the pitch of the note produced. You can hear an example of this in the demo after the jump.

Leave a Reply

Your email address will not be published. Required fields are marked *