Analog inputs on the N+
Posted 16 September 2011 - 07:51 PM
-- H.L. Mencken, "What I Believe"
Posted 17 September 2011 - 02:27 AM
Also, is the 3.3V limit on the analog ports valid if they are in analog mode or also when they are used for other purposes (e.g. I2C), as is my guess?
Can't speak to your first question (analog accuracy with/without Ethernet connected). As for the second question, I'm pretty sure I've read that the 3.3v limit applies when pins are in analog mode but NOT when they're in digital mode. I.e. any pin in digital mode is 5v tolerant. I think this means that it's the ADC that can't handle more than 3.3v but that the ADC is "out of the loop" when the pin is in digital mode. Hopefully somebody will verify my assertion.
Posted 17 September 2011 - 02:58 AM
Posted 17 October 2011 - 05:34 AM
Posted 17 October 2011 - 05:38 AM
It's a matter of what you declare first:
How do you switch the analog inputs from digital to analog?
// Declares pin A0 as analog input AnalogInput Input = new AnalogInput(Pins.GPIO_PIN_A0); // Declares pin A0 as digital input InputPort Input = new InputPort(Pins.GPIO_PIN_A0, false, Port.ResistorMode.Disabled);
My .NETMF projects: .NETMF Toolbox / Gadgeteer Light / Some PCB designs
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users