7 years, 10 months ago.

Guitar Input

Hello all, I am using a landtiger LPC1768 Dev board to make a simple guitar tuner. Basically a frequency counter, does anyone have an idea of how to connect a guitar to act as an input to the board so that the ADC can execute the program and measure the frequency? Any ideas? Thanks everyone

2 Answers

7 years, 10 months ago.

Hi Brandon,

Sounds like an interesting project (no pun intended...).

As for a starting point, I would recommend looking at the input's voltage range then building an AC amplifier to match the lpc's ADC input range - this will help you maximize sample resolution.

After that, you're just looking at writing some code to sample the input, identify the voltage peaks, then measure the time between those peaks to get the frequency.

Hope that helps you to get started :)

7 years, 10 months ago.

Take a look at this page. It shows an interface circuit for a microphone and has software that does an FFT on the collected analog input samples. The FFT could give you the frequency spectrum when you select a high enough resolution.