Student Projects

cancel
Showing results for 
Search instead for 
Did you mean: 

Automatic Guitar Tuner Using myDAQ and LabVIEW

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:

  • 3.5 mm Jack microphone
  • 9V battery
  • TIP 120 Darlington Transistor
  • Parallax Continuous Rotation Servo Motor

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

hardware.png

     Software Front Panel and Block Diagram

front panel.png block diagram.png

Comments
Oliver2
Member
Member
on

impressive, doing bits in labview, would be interested in more detail on VI.

Contributors