Re: interfacing 8051 with adc



On 9 Jan 2007 17:54:25 -0800, "gautham" <gautham01986@xxxxxxxxx>
wrote:

well,to be more specific,the data input to the microcontroller comes
from a 220v, 50Hz power line,representing the power flow,voltage
etc.this analog data is interfaced with the microcontroller with an
adc.the frequency of the signal being less,any frequency on the upward
of 1MHz would work very fine.the resolution that i want is in the order
of a few hundred millivolt.therefore,i am planning to use a 14 bit
adc.my question is regarding the hardware interfacing of this adc with
the microcontroller. for example,how do i tune the microcontroller to
the frequency of the adc?would the results be accurate?the rf segment
is to connect the microcontrolller wireless to a remote host computer,
where detailed analysis of the data would be done.

The first step is to select an ADC that suits your task, and is easy
to interface. I've used ADCs and DACs that communicate with the 8051
using SPI bus. I did the SPI communications using "manual
bit-banging", but there may be some 8051 (or other micro) versions
with a SPI interface.

Depending on the accuracy you need, you may want a voltage reference
IC to provide the reference voltage for the ADC - but some ADCs have
an internal reference.


.



Relevant Pages

  • Re: MATLAB/Simulink + RTW and generating code for a microcontroller
    ... run on a microcontroller (any microcontroller, not only those TI chips on ... It should be able to read some data from a ADC, ... I have no idea how to interface to ADC and DAC. ...
    (comp.arch.embedded)
  • MATLAB/Simulink + RTW and generating code for a microcontroller
    ... I want to convert a Simulink model with one input and one output to a C program that I could run on a microcontroller. ... It should be able to read some data from a ADC, do some processing and send the result to a DAC. ... I have no problem generating the "middle part", i.e. processing, but I have no idea how to interface to ADC and DAC. ...
    (comp.arch.embedded)
  • Re: interfacing 8051 with adc
    ... an adc & an rf transceiver.what are the steps that i have to take to ... interface the ... microcontroller with the adc and the rf transmitter?i am planning to ... There should be some kind of scaling system in between. ...
    (sci.electronics.design)
  • Re: interfacing 8051 with adc
    ... an adc & an rf transceiver.what are the steps that i have to take to ... interface the ... microcontroller with the adc and the rf transmitter?i am planning to ... There should be some kind of scaling system in between. ...
    (sci.electronics.design)
  • Re: Generating a negated clock
    ... I interfaced my DSP code with base code of the board (an ADC board). ... Xilinx core because the fifo's depth is about 12000, ... In any case I doubt there's much value in their ADC interface code. ... At the end they use Xilinx Fifo core to build the large one, ...
    (comp.arch.fpga)