Difference: Lecture10:DigitalToAnalogueConversion (1 vs. 2)

Revision 22017-10-31 - uli

Line: 1 to 1
 
META TOPICPARENT name="LectureSlides"

Start Presentation

Slide 1: Digital to Analogue Conversion: the mcp4275

Line: 27 to 27
  A digital to analogue converter does not really convert into a continuous waveform
Since we have digital values as a base, there will be steps in the output waveform
The size of these steps depends on the resolution of the DAC
What is the smallest step a 12 bit DAC can produce on a 0..5V scale?
Added:
>
>

Can we smooth the output signal?

Yes, it is possible to smooth out these steps.

We need a low-pass filter, which filters out high frequencies

(the abrupt steps we have in the output signal) and lets pass only slower transitions.

When looking carefully at the output of our sine generator you will

also see these steps. In this case however they come from the

limited number of sine values (100) we calculate. To improve the resolution

we would have to increase the number of samples and the frequency

with which we send these values to the DAC.

The MCP4725 12 bit DAC

As a demo device we bought the MCP4725 DAC
This is a 12 bit DAC which can be accesses by the I2C bus
Here is its data sheet

and here a photo of the device

dac_front.png

 %SLIDESHOWEND%

-- Uli Raich - 2017-10-31

Line: 34 to 62
 

Comments

<--/commentPlugin-->
\ No newline at end of file
Added:
>
>
META FILEATTACHMENT attachment="dac_front.png" attr="" comment="" date="1509473022" name="dac_front.png" path="dac_front.png" size="1123972" user="uli" version="1"
META FILEATTACHMENT attachment="pinout.png" attr="" comment="" date="1509473022" name="pinout.png" path="pinout.png" size="34449" user="uli" version="1"
META FILEATTACHMENT attachment="resolution.png" attr="" comment="" date="1509473022" name="resolution.png" path="resolution.png" size="18028" user="uli" version="1"
META FILEATTACHMENT attachment="settlingHigh.png" attr="" comment="" date="1509473022" name="settlingHigh.png" path="settlingHigh.png" size="32205" user="uli" version="1"
META FILEATTACHMENT attachment="settlingLow.png" attr="" comment="" date="1509473022" name="settlingLow.png" path="settlingLow.png" size="31130" user="uli" version="1"
META FILEATTACHMENT attachment="settlingTime.png" attr="" comment="" date="1509473022" name="settlingTime.png" path="settlingTime.png" size="17280" user="uli" version="1"
META FILEATTACHMENT attachment="addressing.png" attr="" comment="" date="1509473034" name="addressing.png" path="addressing.png" size="31875" user="uli" version="1"
META FILEATTACHMENT attachment="blockDiagram.png" attr="" comment="" date="1509473034" name="blockDiagram.png" path="blockDiagram.png" size="26858" user="uli" version="1"
META FILEATTACHMENT attachment="connection.png" attr="" comment="" date="1509473034" name="connection.png" path="connection.png" size="31653" user="uli" version="1"
META FILEATTACHMENT attachment="dacSpecs.png" attr="" comment="" date="1509473034" name="dacSpecs.png" path="dacSpecs.png" size="34714" user="uli" version="1"
META FILEATTACHMENT attachment="eqation.png" attr="" comment="" date="1509473034" name="eqation.png" path="eqation.png" size="17431" user="uli" version="1"
META FILEATTACHMENT attachment="INL_Def.png" attr="" comment="" date="1509473034" name="INL_Def.png" path="INL_Def.png" size="29564" user="uli" version="1"
META FILEATTACHMENT attachment="inlDiag.png" attr="" comment="" date="1509473034" name="inlDiag.png" path="inlDiag.png" size="25183" user="uli" version="1"
META FILEATTACHMENT attachment="mcp4725Desc.png" attr="" comment="" date="1509473035" name="mcp4725Desc.png" path="mcp4725Desc.png" size="39400" user="uli" version="1"

Revision 12017-10-31 - uli

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="LectureSlides"

Start Presentation

Slide 1: Digital to Analogue Conversion: the mcp4275

Lecture 10

Uli Raich

UCC semester 2017/2018

Slide 2: Analogue versus digital

Up to now we only treated digital signals:

  • on/off for the LEDs
  • on/off to read the LED state
  • Powering or not powering coils to generate magnetic fields in a stepping motor
However:
The world is mostly analogue:
  • Temperatures are changing continuously and not in steps
  • Pressure is an analogue value
  • Distance, time, current, resistance … are all analogue values

Slide 3: Converting from digital to analogue

Since our computer is a digital device we must

  • Convert digital values to analogue voltage levels
    Digital to Analogue Conversion (DAC)
  • … and we must convert external analogue values to digital
    Analogue to Digital Conversion (ADC)

Slide 4: Digital to analogue conversion

A digital to analogue converter does not really convert into a continuous waveform
Since we have digital values as a base, there will be steps in the output waveform
The size of these steps depends on the resolution of the DAC
What is the smallest step a 12 bit DAC can produce on a 0..5V scale?

-- Uli Raich - 2017-10-31

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback