Basic A/D question (newbie looking for help)

  • Thread starter Thread starter hertelbrian
  • Start date Start date
AI Thread Summary
A user is seeking advice on interfacing an A/D converter with a limited number of I/O lines on a single board computer running Linux for an embedded application. They propose using one line for data streaming and another as a control line to step through A/D values. The discussion highlights the need for clarification on the type of A/D converters being used, particularly whether they support serial interfaces like SPI or I2C, which could simplify the connection. Suggestions include exploring low-cost ADCs that utilize these serial protocols, such as the AD7476, AD7477, and AD7478. Further details about the application's requirements, such as sampling frequency and power needs, are necessary for more tailored recommendations.
hertelbrian
Messages
2
Reaction score
0
i'm a software guy trying to solve a little A/D problem i have...

i hve a daq that has a small number of I/O's and i have an A/D that i need to get data from. is there a chip in existence that can stream over one data line? my idea was to use one line to use as the data stream and the other line to step through the A/D value.

so if the output is 110101 i could change the state of a control line and when that state changes, the bit stream line would represent the next bit.

does this exist? and if so how does it work... does the control line listen for just a state change or only when it goes from low to high

thanks everyone in advnace!
 
Engineering news on Phys.org
I'm not real clear on what you would like to do. It sounds like you have a DIO card for your PC with some number of digital IOs, and an A/D converter card also. And maybe a DAC card with an analog output capability too? Or is the ADC a discrete chip or board that you need to acquire data from to get it into your PC? And maybe your ADC chip has a parallel output that you want to serialize for some reason to get it into your PC via some DIO lines?

Maybe try painting the picture again so that we can help you understand your options.
 
what i have is a single board computer running linux. this is for an embedded systems application. the board has 8 I/Os on it and i need to use them sparingly i can hook up all 8 i/os to the A/D since i need to run 2 of them as well as a few other things...

so i was thinking use 2 data lines per A/D.. one as a control line and one as a data stream line..

any help is appreciated
 
What are the A/Ds? Do they have a serial interface mode like SPI or I2C? If they are only parallel (how wide? what interface?), then you might be able to use an SPI or I2C serial-to-parallel IO expander of some type to do what you want.
 
There are many low-cost ADCs which use I2C (a two-wire protocol) and SPI (generally a three-wire protocol).

Look into, for example, the AD7476, AD7477, and AD7478. If you want more specific suggestions, you will need to tell us some of following information about your application:

What sampling frequency, bandwidth, or accuracy (effective bits) do you need? Are there any power requirements? What voltages are you intending to sample? How fast can you toggle or read your I/O lines?

- Warren
 
Thread 'Electromagnet magnetic field issue'
Hi Guys We are a bunch a mechanical engineers trying to build a simple electromagnet. Our design is based on a very similar magnet. However, our version is about 10 times less magnetic and we are wondering why. Our coil has exactly same length, same number of layers and turns. What is possibly wrong? PIN and bracket are made of iron and are in electrical contact, exactly like the reference design. Any help will be appreciated. Thanks. edit: even same wire diameter and coil was wounded by a...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top