I'm tied to using 5V as I will be placing this board inside a guiutar that already has 5V inside it - I want to tap into that supply for my circuit.
The circuit itself works, but I need to refine the Automatic Gain Control 'decisions' made by the PIC - & I'm still very much finding my feet wrt PIC Programming!
For example I need to modify the the code to make a decision something along these lines...
"If the present incoming AtoD sample if 40% bigger than the last AtoD sample then do nothing - just keep looping until the sample falls in level to equal a user determined level"
(In the situation above, it means a new note on the guitar has just been plucked - however, at the minute, my circuit's Automatic gain control sees the incoming larger signal of the plucked string & cranks the gain down - but it then struggles to get the gain up in time after the initial high pluck signal strength has dropped out!)
Bookmarks