Input Voltage Read

Discussion to talk about software related topics only.
Post Reply
jokes304
Posts: 23
Joined: Wed Jun 02, 2010 12:13 pm

Input Voltage Read

Post by jokes304 »

I was wondering if there was a way to read input voltage to a certain pin, in such a way that I can use my 5234 as a sort of DAC. Please let me know if y'all know of anything. Thanks.
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: Input Voltage Read

Post by rnixon »

Hi,

A DAC is an output. Do you mean ADC?
jokes304
Posts: 23
Joined: Wed Jun 02, 2010 12:13 pm

Re: Input Voltage Read

Post by jokes304 »

Yes.
v8dave
Posts: 333
Joined: Thu Dec 31, 2009 8:31 pm

Re: Input Voltage Read

Post by v8dave »

There is no ADC built into the MOD5234 so you will need an external ADC to do this.

If your speed of input is not so fast, check out the MCP3424 from Microchip as this is programmable from 12 bit to 18 bit and works over an I2C bus. I use this with the MOD5234 and it works extremely well. It has a built in reference and can read from 0-2.5V on each of the 4 inputs and if you are careful with the layout and power input, is it nice and quiet too.

If you need a different voltage input, you can use an OP-AMP ahead of it or use a potential divider, depending on the needs of your design.

There are other ADC's you can use with the MOD5234, with SPI, I2C etc, this is just one I am familiar with.

Dave...
Post Reply