SlideShare a Scribd company logo
L. D. COLLEGE OF ENGINNERING
AHMEDABAD-380015
GUIDED BY:
PROF. P.P. PRAJAPATI
ASSISTANT PROFESSOR,
DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING.
L. D. COLLEGE OF ENGINEERING,
AHMEDABAD.
PREPARED BY:
MITUL LAKHANI
DHAVAL SONANI
VISHAL GONADALIYA
WHAT IS DAC??
 In electronics, a digital- to- analog
converter (DAC or D-to-A) is a device that
converts a digital (usually binary) code to an analog
signal ( current, voltage, or electric charge).
An analog digital converter (ADC) performs the
reverse operation. Signals are easily stored and
transmitted in digital form, but a DAC is needed for
the signal to be recognized by human senses or
other non-digital systems.
GENERAL USE OF DAC.
 A common use of digital-to- analog converters is
generation of audio signals from digital information
in music player.
 Digital video signals are converted to analog
in televisions and cell phones to display colors and
shades.
 Digital-to- analog conversion can degrade a signal,
so conversion details are normally chosen so that
the errors are negligible.
DAC USING MICROCONTROLLER
 The digital-to-analog converter (DAC) is a device
widely used to convert digital pulses to analog
signals.
 Recall from your digital electronics book the two
methods of creating a DAC:
Binary weighted and R/2R ladder.
 The vast majority of integrated circuit DACs,
including the MC1408 (DAC0808) used in this
section, uses the R/2R method since it can achieve
a much higher degree of precision.
STEP BY STEP PROCEDURE
FOR INTERFACING
MCU-DAC
COMPONENTS REQUIRED
 MCU (AT89C51)
 DAC0808/MC1408
 Resistors (10k,8.2k).
 Capacitors(33pF,10uF).
 Op-amp.
 Oscilloscope.
 Power Supply.
STEP BY STEP PROCEDURE
FOR INTERFACING
MCU-DAC
ALGORITHAM:
STEP BY STEP PROCEDURE
FOR INTERFACING
MCU-DAC
CIRCUIT DIAGRAM:
STEP BY STEP PROCEDURE
FOR INTERFACING
MCU-DAC
 Procedure to generate Sine wave:
 To generate a sine wave, first a table is designed
whose values represent the amplitude of the sine of
the angles between 0 and 360 degrees. The value
of the sine function varies from -1.0 to +1.0
 To generate the sine wave the output of DAC is
assumed to be 10V. Full scale output of the DAC is
achieved when all the data inputs of the DAC are
high. Therefore to achieve the full-scale 10V output,
we use following equation.
Vout = 5V + (5*sinø)
DATA TABLE FOR SINE WAVE GENERATION
FLOWCHART FOR OUR PROGRAM
START
INITIALISE VARIABLE
USE DPTR AS A POINTER TO
POINT TO THE LOOK UP TABLE
DATA ACCESSING USING INDEXED
ADDRESSING MODE
VALUE IS SENT TO THE PORT1
AND INCREMENT DPTR
DECREMENT
COUNTER=0??
END
NO
YES
ASSEMBLY LANGUAGE PROGRAM
START:MOV DPTR,#TABLE
MOV R1,#13
CLR A
LOOP: MOVC A,@A+DPTR
MOV P1,A
INC DPTR
DJNZ R1,LOOP
SJMP START
TABLE: ORG 200H
DB 128,192,238,255,238,192,128,64,17,0,17,64,128
IMAGE OF SINEWAVE WHICH WE GET
ON OSCILLOSCOPE….
QUERY????
Digital to Analog Converter by LDCE students

More Related Content

PPTX
Basics of arduino uno
PDF
Microprocessor 8051
PDF
Keypad Interfacing with 8051 Microcontroller
PPT
8085 interrupts
PPT
Microprocessor fundamentals
PPTX
Pic microcontroller architecture
PPT
PPTX
8255 PPI
Basics of arduino uno
Microprocessor 8051
Keypad Interfacing with 8051 Microcontroller
8085 interrupts
Microprocessor fundamentals
Pic microcontroller architecture
8255 PPI

What's hot (20)

PDF
ARM Architecture
PDF
Introduction to pic microcontroller
PPTX
8086 microprocessor-architecture
PPTX
Transistor Transistor Logic
PPTX
8051 Microcontroller PPT's By Er. Swapnil Kaware
PPTX
Interfacing Stepper motor with 8051
PPTX
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
PPTX
Introduction to 8085 Microprocessor
PPTX
Basics of digital electronics
PPTX
PPT on 8085 Microprocessor
PPTX
Interrupts on 8086 microprocessor by vijay kumar.k
PDF
Unit 2 mpmc
PPT
8255 presentaion.ppt
PPTX
Memory interfacing
PPTX
23. serial and parallel data communication
PPTX
MICROCONTROLLER 8051- Architecture & Pin Configuration
PPTX
ADC & DAC
PPTX
Ec8791 unit 5 processes and operating systems
PDF
PPTX
Interrupts and types of interrupts
ARM Architecture
Introduction to pic microcontroller
8086 microprocessor-architecture
Transistor Transistor Logic
8051 Microcontroller PPT's By Er. Swapnil Kaware
Interfacing Stepper motor with 8051
8085 MICROPROCESSOR ARCHITECTURE AND ITS OPERATIONS
Introduction to 8085 Microprocessor
Basics of digital electronics
PPT on 8085 Microprocessor
Interrupts on 8086 microprocessor by vijay kumar.k
Unit 2 mpmc
8255 presentaion.ppt
Memory interfacing
23. serial and parallel data communication
MICROCONTROLLER 8051- Architecture & Pin Configuration
ADC & DAC
Ec8791 unit 5 processes and operating systems
Interrupts and types of interrupts
Ad

Viewers also liked (20)

PDF
Contributor Personality Development- L. D. College of Engineering
PPTX
Contributor personality developement
PPTX
Cpd ch 2 identity
PPT
Cpd ch 1 contributor
PDF
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
PPT
Interfacing 8051 with Real World
PPTX
Interfacing with Atmega 16
PPTX
Arrays in C language
PPTX
Power Series,Taylor's and Maclaurin's Series
PPTX
8255:ppi & 8259:pic
PPTX
Smart Home Automation by LDCE student
PPTX
Cpd ch 9 engage deeply
PPT
Interfacing adc
PPS
Contributor personality development
PPTX
Contributor example and google as a contributor
PPTX
Contributor and non contributor
PPT
Interfacing LCD with 8051 Microcontroller
PPTX
Microcontroller 8051 and its interfacing
PDF
Sample project abstract
DOC
8051 Microcontroller Notes
Contributor Personality Development- L. D. College of Engineering
Contributor personality developement
Cpd ch 2 identity
Cpd ch 1 contributor
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
Interfacing 8051 with Real World
Interfacing with Atmega 16
Arrays in C language
Power Series,Taylor's and Maclaurin's Series
8255:ppi & 8259:pic
Smart Home Automation by LDCE student
Cpd ch 9 engage deeply
Interfacing adc
Contributor personality development
Contributor example and google as a contributor
Contributor and non contributor
Interfacing LCD with 8051 Microcontroller
Microcontroller 8051 and its interfacing
Sample project abstract
8051 Microcontroller Notes
Ad

Similar to Digital to Analog Converter by LDCE students (20)

PPTX
R-2R Ladder Digital to Analog Converter.pptx
PPT
ADDA_Lecture_P1. digital techniques lecture
PPT
ADDA_Lecture_P1.ppt
PPTX
adcanddac hai kya bhayy me know if-01.pptx
PPTX
Design and testing of Voltage Regulator using 723
PPTX
8051_interface_DAC.pptx for iii ece III ECE MPMC jntu k syllabus this is ver...
PPTX
PPT
DAC-digital to analog converter
PDF
dac-180418111805 (1).pdf
PPTX
Data convertors
PPTX
Unit 6.pptx
PPTX
R2 r dac
PPTX
Ditial to Analog Converter
PDF
Group1 141018102550-conversion-gate01
PPTX
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
PPT
adc dac converter
PPTX
Adc &dac ppt
PPTX
Pic ppt 13104022(4th_year)
PPTX
LIC UNIT IV.pptx
PPTX
ADC and DAC Best Ever Pers
R-2R Ladder Digital to Analog Converter.pptx
ADDA_Lecture_P1. digital techniques lecture
ADDA_Lecture_P1.ppt
adcanddac hai kya bhayy me know if-01.pptx
Design and testing of Voltage Regulator using 723
8051_interface_DAC.pptx for iii ece III ECE MPMC jntu k syllabus this is ver...
DAC-digital to analog converter
dac-180418111805 (1).pdf
Data convertors
Unit 6.pptx
R2 r dac
Ditial to Analog Converter
Group1 141018102550-conversion-gate01
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
adc dac converter
Adc &dac ppt
Pic ppt 13104022(4th_year)
LIC UNIT IV.pptx
ADC and DAC Best Ever Pers

Recently uploaded (20)

PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
additive manufacturing of ss316l using mig welding
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Welding lecture in detail for understanding
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
UNIT 4 Total Quality Management .pptx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PPTX
web development for engineering and engineering
PPT
Mechanical Engineering MATERIALS Selection
Automation-in-Manufacturing-Chapter-Introduction.pdf
CH1 Production IntroductoryConcepts.pptx
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
additive manufacturing of ss316l using mig welding
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Welding lecture in detail for understanding
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Mitigating Risks through Effective Management for Enhancing Organizational Pe...
Operating System & Kernel Study Guide-1 - converted.pdf
IOT PPTs Week 10 Lecture Material.pptx of NPTEL Smart Cities contd
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
UNIT 4 Total Quality Management .pptx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
web development for engineering and engineering
Mechanical Engineering MATERIALS Selection

Digital to Analog Converter by LDCE students

  • 1. L. D. COLLEGE OF ENGINNERING AHMEDABAD-380015 GUIDED BY: PROF. P.P. PRAJAPATI ASSISTANT PROFESSOR, DEPARTMENT OF ELECTRONICS & COMMUNICATION ENGINEERING. L. D. COLLEGE OF ENGINEERING, AHMEDABAD. PREPARED BY: MITUL LAKHANI DHAVAL SONANI VISHAL GONADALIYA
  • 2. WHAT IS DAC??  In electronics, a digital- to- analog converter (DAC or D-to-A) is a device that converts a digital (usually binary) code to an analog signal ( current, voltage, or electric charge). An analog digital converter (ADC) performs the reverse operation. Signals are easily stored and transmitted in digital form, but a DAC is needed for the signal to be recognized by human senses or other non-digital systems.
  • 3. GENERAL USE OF DAC.  A common use of digital-to- analog converters is generation of audio signals from digital information in music player.  Digital video signals are converted to analog in televisions and cell phones to display colors and shades.  Digital-to- analog conversion can degrade a signal, so conversion details are normally chosen so that the errors are negligible.
  • 4. DAC USING MICROCONTROLLER  The digital-to-analog converter (DAC) is a device widely used to convert digital pulses to analog signals.  Recall from your digital electronics book the two methods of creating a DAC: Binary weighted and R/2R ladder.  The vast majority of integrated circuit DACs, including the MC1408 (DAC0808) used in this section, uses the R/2R method since it can achieve a much higher degree of precision.
  • 5. STEP BY STEP PROCEDURE FOR INTERFACING MCU-DAC COMPONENTS REQUIRED  MCU (AT89C51)  DAC0808/MC1408  Resistors (10k,8.2k).  Capacitors(33pF,10uF).  Op-amp.  Oscilloscope.  Power Supply.
  • 6. STEP BY STEP PROCEDURE FOR INTERFACING MCU-DAC ALGORITHAM:
  • 7. STEP BY STEP PROCEDURE FOR INTERFACING MCU-DAC CIRCUIT DIAGRAM:
  • 8. STEP BY STEP PROCEDURE FOR INTERFACING MCU-DAC  Procedure to generate Sine wave:  To generate a sine wave, first a table is designed whose values represent the amplitude of the sine of the angles between 0 and 360 degrees. The value of the sine function varies from -1.0 to +1.0  To generate the sine wave the output of DAC is assumed to be 10V. Full scale output of the DAC is achieved when all the data inputs of the DAC are high. Therefore to achieve the full-scale 10V output, we use following equation. Vout = 5V + (5*sinø)
  • 9. DATA TABLE FOR SINE WAVE GENERATION
  • 10. FLOWCHART FOR OUR PROGRAM START INITIALISE VARIABLE USE DPTR AS A POINTER TO POINT TO THE LOOK UP TABLE DATA ACCESSING USING INDEXED ADDRESSING MODE VALUE IS SENT TO THE PORT1 AND INCREMENT DPTR DECREMENT COUNTER=0?? END NO YES
  • 11. ASSEMBLY LANGUAGE PROGRAM START:MOV DPTR,#TABLE MOV R1,#13 CLR A LOOP: MOVC A,@A+DPTR MOV P1,A INC DPTR DJNZ R1,LOOP SJMP START TABLE: ORG 200H DB 128,192,238,255,238,192,128,64,17,0,17,64,128
  • 12. IMAGE OF SINEWAVE WHICH WE GET ON OSCILLOSCOPE….