Hello All!,
My apologies for this being my first post as I'm not very active on internet forums...I'm the guy who actually solders your Teensy 3.2's and have worked closely with Paul on some projects (monolith!) so please DON'T BE A GRUMPY CURMUDGEON.
I'm working on a project right now that requires 20 pots connected to all of Teensy 3.2's ADCs. This particular circuit is susceptible to high noise due to the fact that the variety of users who will use this product will be using a garbage 9v switching power supply that is usually used with guitar effects pedals.
To compensate for this noise, I'm using an LM2940 LDO to generate my 5v supply rail which will be responsible for powering the Teensy. I would like to use that 5v rail into an LM4040 to generate an external 3v reference for the AREF pin.
My reason for needing a precision reference with a pot is because I'm using a switch case statement on a pot that is supposed to have 98 discreet values across it's range. This function of this pot is to select wave tables on a synthesizer, so no glitching! I'm aware I can do both hardware and software filtering (which I will be doing) but ensuring what is coming off the wall is clean is a primary concern of mine, especially across a production run of 50 units.
Proposed circuit:
9v wall wart => LM2940 => LM4040 => Buffer => AREF + Pots
all ICs riddled with bypass caps at power inlets and outlets
My questions are as follows:
1.) I have read that ratio metric sensors such as potentiometers (which I'm using) should be powered directly from the 3v3 pin on Teensy 3.2 rather than an external reference. My first prototype did exactly this, but because the original power supply for my application was so shitty (7805) I was getting very noisy pots (almost 0.6vpp!). Should I just use the LDO and the onboard 3v3 regulator instead of using the AREF pin with an LM4040?
2.) In the event that I should use the external reference rather than the onboard 3v3 regulator, I am trying to calculate the value for Rs from the LM4040 datasheet (pg. 1). I am receiving conflicting information from multiple posts on the forum in regards to the AREF pin. I have read that there is a 470ohm series resistor on the AREF pin on Teensy 3.2 meant to be used with an external shunt regulator and am a bit confused as to how that application would match what I'm working with. Isn't it true that Rs would still need to exist to make sure the LM4040 has a load on it? Is the 470ohm series resistor going to mess with the correct value of Rs? I'm not an EE, I'm from an art school background and these types of things usually trip me up. If what I'm reading is correct, would I simply connect the 5v (supply) and 3v (reference) nodes from the LM4040 to the AREF pin with no Rs and then just use the output of that node to connect to my pots?:
LM4040 datasheet (page 1 for reference)
http://www.ti.com/lit/ds/symlink/lm4040-n.pdf
Thank you all and sorry for the long winded post. If I had the capability to send screenshots of my schematic I would. Please let me know if you would like me to clarify anything.
Best,
Ross Fish
Chief Dork
Moffenzeef Modular
My apologies for this being my first post as I'm not very active on internet forums...I'm the guy who actually solders your Teensy 3.2's and have worked closely with Paul on some projects (monolith!) so please DON'T BE A GRUMPY CURMUDGEON.
I'm working on a project right now that requires 20 pots connected to all of Teensy 3.2's ADCs. This particular circuit is susceptible to high noise due to the fact that the variety of users who will use this product will be using a garbage 9v switching power supply that is usually used with guitar effects pedals.
To compensate for this noise, I'm using an LM2940 LDO to generate my 5v supply rail which will be responsible for powering the Teensy. I would like to use that 5v rail into an LM4040 to generate an external 3v reference for the AREF pin.
My reason for needing a precision reference with a pot is because I'm using a switch case statement on a pot that is supposed to have 98 discreet values across it's range. This function of this pot is to select wave tables on a synthesizer, so no glitching! I'm aware I can do both hardware and software filtering (which I will be doing) but ensuring what is coming off the wall is clean is a primary concern of mine, especially across a production run of 50 units.
Proposed circuit:
9v wall wart => LM2940 => LM4040 => Buffer => AREF + Pots
all ICs riddled with bypass caps at power inlets and outlets
My questions are as follows:
1.) I have read that ratio metric sensors such as potentiometers (which I'm using) should be powered directly from the 3v3 pin on Teensy 3.2 rather than an external reference. My first prototype did exactly this, but because the original power supply for my application was so shitty (7805) I was getting very noisy pots (almost 0.6vpp!). Should I just use the LDO and the onboard 3v3 regulator instead of using the AREF pin with an LM4040?
2.) In the event that I should use the external reference rather than the onboard 3v3 regulator, I am trying to calculate the value for Rs from the LM4040 datasheet (pg. 1). I am receiving conflicting information from multiple posts on the forum in regards to the AREF pin. I have read that there is a 470ohm series resistor on the AREF pin on Teensy 3.2 meant to be used with an external shunt regulator and am a bit confused as to how that application would match what I'm working with. Isn't it true that Rs would still need to exist to make sure the LM4040 has a load on it? Is the 470ohm series resistor going to mess with the correct value of Rs? I'm not an EE, I'm from an art school background and these types of things usually trip me up. If what I'm reading is correct, would I simply connect the 5v (supply) and 3v (reference) nodes from the LM4040 to the AREF pin with no Rs and then just use the output of that node to connect to my pots?:
LM4040 datasheet (page 1 for reference)
http://www.ti.com/lit/ds/symlink/lm4040-n.pdf
Thank you all and sorry for the long winded post. If I had the capability to send screenshots of my schematic I would. Please let me know if you would like me to clarify anything.
Best,
Ross Fish
Chief Dork
Moffenzeef Modular