2011 NI myDAQ Intern Competition
Title: MyDAQ Automatic Guitar Tuner
Contact information:
Purpose:
This project is a guitar tuner implemented using MyDAQ and LabVIEW. The guitar tuner can function as a typical guitar tuner that identifies the note a user plays, and whether or not the note is sharp, flat, or in tune. If the motor is turned on, the user can select which string to tune, and attach the motor to the tuning peg. As they pluck the string, the motor automatically tunes the string to the correct pitch.
Equipment:
Set up Hardware:
Connect the red wire of the 9V battery connector to the collector of the Darlington transistor, and the black wire to ground. Connect Analog Output 0 to the base of the Darlington transistor. Connect Analog Output 1 to the white wire of the servo motor. Connect the emitter of the Darlington transistor to the red wire of the servo motor. Finally, attach the black wire of the servo motor to ground. Plug the microphone into the “Audio In” port on the MyDAQ.
Software Instructions:
Run Guitar Tuner.vi. If “MOTOR OFF” is selected, simply play a string and the front panel will display the string played, and if the string is sharp, flat, or in tune. If “MOTOR ON” is selected, choose a string to tune on the front panel, and attach the servo motor to the corresponding tuning peg. Pluck the string, and the servo motor will turn the tuning peg until the string is in tune.
Images:
Hardware Connection Diagram
Software Front Panel and Block Diagram
impressive, doing bits in labview, would be interested in more detail on VI.