So, I've been wrestling with this project for a while. I am making a tuner for musical instuments. At first, I was planning on using a simple 555 timer. But I learned from an electrical engineer I talked to today, that it wasn't a sine wave. So here is the plan using the 555 (Which I'm not using now):
I have a 555 chip. I spend a long time solving systems of equations and solve for the frequency I want. I had this schematic to select between the 3 values, (R1, R2, and C). Then you select the note to tune and a comparator tells whether sharp or flat.
The new idea though, is to use a pll. (Phase Locked Loop) This changes things a lot becuase it must use a binary counter, which is stimulated by 88 push buttons instead of the selector. (Really busy on solving that 88 button problem!) The counter's whole goal is to divide the tones down into their respective ratio. Here is a list of the frequencies I need to nail down: (Sorry it's kinda sloppy:()
Octave0 Octave1 Octave2 Octave3 Octave4 Octave5
0 A 55.000-110.000-220.000-440.000-880.000-1,760.000
1 A#/Bb 58.270-116.541-233.082-466.164-932.328-1,864.655
2 B 61.735-123.471-246.942-493.883-987.767-1,975.533
3 C 65.406-130.813-261.626-523.251-1,046.502-2,093.005
4 C#/Db 69.296-138.591-277.183-554.365-1,108.731-2,217.461
5 D 73.416-146.832-293.665-587.330-1,174.659-2,349.318
6 D#/Eb77.782-155.563-311.127-622.254-1,244.508-2,489.016
7 E 82.407-164.814-329.628-659.255-1,318.510-2,637.020
8 F 87.307-174.614-349.228-698.456-1,396.913-2,793.826
9 F#/Gb92.499-184.997-369.994-739.989-1,479.978-2,959.955
10 G 97.999-195.998-391.995-783.991-1,567.982-3,135.963
11 G#/Ab103.826-207.652-415.305-830.61-1,661.21-3,322.438
12 A 110.000-220.000-440.000-880.000-1,760.000-3,520.000
So, the counter will divide it down using complex ratios. I need to have Double Bit Precision on this. I need as many decimal points as possible, So I can measure cents(a pitch unit).
On a simpler issue, I want to make this 7 color LED light that changes with the mood of the note. The whole color thing. It would be a feature that no other tuner has. That would be cool... I need some advice on 7 color leds though. I have never used one. PLLs are also new to me, so if there is any advice on that, I'd love it. I have plenty of time to learn new things. BTW, NO PROGRAMMABLE CHIPS! I loathe them, and can't blow the budget on some fancy programmer again....
Edited by Tanner
I have a 555 chip. I spend a long time solving systems of equations and solve for the frequency I want. I had this schematic to select between the 3 values, (R1, R2, and C). Then you select the note to tune and a comparator tells whether sharp or flat.
The new idea though, is to use a pll. (Phase Locked Loop) This changes things a lot becuase it must use a binary counter, which is stimulated by 88 push buttons instead of the selector. (Really busy on solving that 88 button problem!) The counter's whole goal is to divide the tones down into their respective ratio. Here is a list of the frequencies I need to nail down: (Sorry it's kinda sloppy:()
Octave0 Octave1 Octave2 Octave3 Octave4 Octave5
0 A 55.000-110.000-220.000-440.000-880.000-1,760.000
1 A#/Bb 58.270-116.541-233.082-466.164-932.328-1,864.655
2 B 61.735-123.471-246.942-493.883-987.767-1,975.533
3 C 65.406-130.813-261.626-523.251-1,046.502-2,093.005
4 C#/Db 69.296-138.591-277.183-554.365-1,108.731-2,217.461
5 D 73.416-146.832-293.665-587.330-1,174.659-2,349.318
6 D#/Eb77.782-155.563-311.127-622.254-1,244.508-2,489.016
7 E 82.407-164.814-329.628-659.255-1,318.510-2,637.020
8 F 87.307-174.614-349.228-698.456-1,396.913-2,793.826
9 F#/Gb92.499-184.997-369.994-739.989-1,479.978-2,959.955
10 G 97.999-195.998-391.995-783.991-1,567.982-3,135.963
11 G#/Ab103.826-207.652-415.305-830.61-1,661.21-3,322.438
12 A 110.000-220.000-440.000-880.000-1,760.000-3,520.000
So, the counter will divide it down using complex ratios. I need to have Double Bit Precision on this. I need as many decimal points as possible, So I can measure cents(a pitch unit).
On a simpler issue, I want to make this 7 color LED light that changes with the mood of the note. The whole color thing. It would be a feature that no other tuner has. That would be cool... I need some advice on 7 color leds though. I have never used one. PLLs are also new to me, so if there is any advice on that, I'd love it. I have plenty of time to learn new things. BTW, NO PROGRAMMABLE CHIPS! I loathe them, and can't blow the budget on some fancy programmer again....
Edited by Tanner