SlideShare a Scribd company logo
1 of 14
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

What's hot

Herz & marconi antenna
Herz & marconi antennaHerz & marconi antenna
Herz & marconi antennaNavin Mandal
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulationAhmed Diaa
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog ConverterHossam Zein
 
interfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfinterfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfSrikrishna Thota
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architectureDominicHendry
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingAnkur Mahajan
 
8051 addressing modes & instruction set
8051 addressing modes & instruction set8051 addressing modes & instruction set
8051 addressing modes & instruction setManoj Babar
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O portsanishgoel
 
signal space analysis.ppt
signal space analysis.pptsignal space analysis.ppt
signal space analysis.pptPatrickMumba7
 
Schmitt trigger circuit
Schmitt trigger circuitSchmitt trigger circuit
Schmitt trigger circuittaranjeet10
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller Gaurav Verma
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level codingsrkrishna341
 
Amplitude modulation & demodulation
Amplitude modulation & demodulation Amplitude modulation & demodulation
Amplitude modulation & demodulation Bikz013
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor Mustapha Fatty
 
Line coding presentation
Line coding presentationLine coding presentation
Line coding presentationDibyendu Porey
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram descriptionAkhil Singal
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing ModesSenthil Kumar
 

What's hot (20)

Herz & marconi antenna
Herz & marconi antennaHerz & marconi antenna
Herz & marconi antenna
 
M ary psk modulation
M ary psk modulationM ary psk modulation
M ary psk modulation
 
Line coding
Line codingLine coding
Line coding
 
DAC , Digital to analog Converter
DAC , Digital to analog ConverterDAC , Digital to analog Converter
DAC , Digital to analog Converter
 
interfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdfinterfacing of temperature sensor LM 35 with 8051.pdf
interfacing of temperature sensor LM 35 with 8051.pdf
 
Pic microcontroller architecture
Pic microcontroller architecturePic microcontroller architecture
Pic microcontroller architecture
 
Microcontroller 8051 and its interfacing
Microcontroller 8051 and its interfacingMicrocontroller 8051 and its interfacing
Microcontroller 8051 and its interfacing
 
Delta Modulation
Delta ModulationDelta Modulation
Delta Modulation
 
8051 addressing modes & instruction set
8051 addressing modes & instruction set8051 addressing modes & instruction set
8051 addressing modes & instruction set
 
8051 Microcontroller I/O ports
8051 Microcontroller I/O ports8051 Microcontroller I/O ports
8051 Microcontroller I/O ports
 
signal space analysis.ppt
signal space analysis.pptsignal space analysis.ppt
signal space analysis.ppt
 
Schmitt trigger circuit
Schmitt trigger circuitSchmitt trigger circuit
Schmitt trigger circuit
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 
8051 microcontroller
8051 microcontroller 8051 microcontroller
8051 microcontroller
 
Correlative level coding
Correlative level codingCorrelative level coding
Correlative level coding
 
Amplitude modulation & demodulation
Amplitude modulation & demodulation Amplitude modulation & demodulation
Amplitude modulation & demodulation
 
Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor  Architecture of 8086 Microprocessor
Architecture of 8086 Microprocessor
 
Line coding presentation
Line coding presentationLine coding presentation
Line coding presentation
 
8086 pin diagram description
8086 pin diagram description8086 pin diagram description
8086 pin diagram description
 
8051 Addressing Modes
8051 Addressing Modes8051 Addressing Modes
8051 Addressing Modes
 

Viewers also liked

Contributor Personality Development- L. D. College of Engineering
Contributor Personality Development- L. D. College of EngineeringContributor Personality Development- L. D. College of Engineering
Contributor Personality Development- L. D. College of EngineeringMitul Lakhani
 
Contributor personality developement
Contributor personality developementContributor personality developement
Contributor personality developementAlka Sanghani
 
Cpd ch 1 contributor
Cpd ch 1 contributorCpd ch 1 contributor
Cpd ch 1 contributorKamlesh Joshi
 
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNSCONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNSklezeh
 
Interfacing 8051 with Real World
Interfacing 8051 with Real WorldInterfacing 8051 with Real World
Interfacing 8051 with Real WorldDr. Ritula Thakur
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16Ramadan Ramadan
 
Power Series,Taylor's and Maclaurin's Series
Power Series,Taylor's and Maclaurin's SeriesPower Series,Taylor's and Maclaurin's Series
Power Series,Taylor's and Maclaurin's SeriesShubham Sharma
 
8255:ppi & 8259:pic
8255:ppi & 8259:pic 8255:ppi & 8259:pic
8255:ppi & 8259:pic Adarsh Patel
 
Smart Home Automation by LDCE student
Smart Home Automation by LDCE studentSmart Home Automation by LDCE student
Smart Home Automation by LDCE studentMitul Lakhani
 
Cpd ch 9 engage deeply
Cpd ch 9 engage deeplyCpd ch 9 engage deeply
Cpd ch 9 engage deeplyKamlesh Joshi
 
Contributor example and google as a contributor
Contributor example and google as a contributorContributor example and google as a contributor
Contributor example and google as a contributorstudent(MCA)
 
Contributor and non contributor
Contributor and non contributorContributor and non contributor
Contributor and non contributorstudent(MCA)
 
Sample project abstract
Sample project abstractSample project abstract
Sample project abstractklezeh
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller NotesDr.YNM
 
Building Healthier Communities: TEDMED 2016
Building Healthier Communities: TEDMED 2016Building Healthier Communities: TEDMED 2016
Building Healthier Communities: TEDMED 2016Luminary Labs
 
How to Stream to Facebook Live Like a Pro
How to Stream to Facebook Live Like a ProHow to Stream to Facebook Live Like a Pro
How to Stream to Facebook Live Like a ProLeslie Samuel
 

Viewers also liked (20)

Contributor Personality Development- L. D. College of Engineering
Contributor Personality Development- L. D. College of EngineeringContributor Personality Development- L. D. College of Engineering
Contributor Personality Development- L. D. College of Engineering
 
Contributor personality developement
Contributor personality developementContributor personality developement
Contributor personality developement
 
Cpd ch 2 identity
Cpd ch 2 identityCpd ch 2 identity
Cpd ch 2 identity
 
Cpd ch 1 contributor
Cpd ch 1 contributorCpd ch 1 contributor
Cpd ch 1 contributor
 
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNSCONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
CONSEQUENCES OF INTEGRATION IN DIGITAL SYSTEM DESIGNS
 
Interfacing 8051 with Real World
Interfacing 8051 with Real WorldInterfacing 8051 with Real World
Interfacing 8051 with Real World
 
Interfacing with Atmega 16
Interfacing with Atmega 16Interfacing with Atmega 16
Interfacing with Atmega 16
 
Arrays in C language
Arrays in C languageArrays in C language
Arrays in C language
 
Power Series,Taylor's and Maclaurin's Series
Power Series,Taylor's and Maclaurin's SeriesPower Series,Taylor's and Maclaurin's Series
Power Series,Taylor's and Maclaurin's Series
 
8255:ppi & 8259:pic
8255:ppi & 8259:pic 8255:ppi & 8259:pic
8255:ppi & 8259:pic
 
Smart Home Automation by LDCE student
Smart Home Automation by LDCE studentSmart Home Automation by LDCE student
Smart Home Automation by LDCE student
 
Cpd ch 9 engage deeply
Cpd ch 9 engage deeplyCpd ch 9 engage deeply
Cpd ch 9 engage deeply
 
Contributor personality development
Contributor personality developmentContributor personality development
Contributor personality development
 
Contributor example and google as a contributor
Contributor example and google as a contributorContributor example and google as a contributor
Contributor example and google as a contributor
 
Contributor and non contributor
Contributor and non contributorContributor and non contributor
Contributor and non contributor
 
Interfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 MicrocontrollerInterfacing LCD with 8051 Microcontroller
Interfacing LCD with 8051 Microcontroller
 
Sample project abstract
Sample project abstractSample project abstract
Sample project abstract
 
8051 Microcontroller Notes
8051 Microcontroller Notes8051 Microcontroller Notes
8051 Microcontroller Notes
 
Building Healthier Communities: TEDMED 2016
Building Healthier Communities: TEDMED 2016Building Healthier Communities: TEDMED 2016
Building Healthier Communities: TEDMED 2016
 
How to Stream to Facebook Live Like a Pro
How to Stream to Facebook Live Like a ProHow to Stream to Facebook Live Like a Pro
How to Stream to Facebook Live Like a Pro
 

Similar to Digital to Analog Converter by LDCE students

INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
 INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER   INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER SIRILsam
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...NimeshSingh27
 
Unit IV DA & AD Convertors and Phase Locked Loop
Unit IV  DA & AD Convertors and Phase Locked LoopUnit IV  DA & AD Convertors and Phase Locked Loop
Unit IV DA & AD Convertors and Phase Locked LoopDr.Raja R
 
MODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxMODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxManjunathtv2
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)Luckysaw
 
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS TechnologyIRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS TechnologyIRJET Journal
 
M-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATIONM-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATIONSubhajit Shaw
 
Implementation of 4-bit R-2R DAC on CADENCE Tools
Implementation of 4-bit R-2R DAC on CADENCE ToolsImplementation of 4-bit R-2R DAC on CADENCE Tools
Implementation of 4-bit R-2R DAC on CADENCE Toolsjournal ijrtem
 
Data Acquisition System, a side for Electrical Engg.
Data Acquisition System, a side for Electrical Engg.Data Acquisition System, a side for Electrical Engg.
Data Acquisition System, a side for Electrical Engg.AdnanZafar83
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORAnil Yadav
 
LIC UNIT IV.pptx
LIC UNIT IV.pptxLIC UNIT IV.pptx
LIC UNIT IV.pptxArunS118525
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital convertershrutishreya14
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptdaredevil15082004
 
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice ToolDesign and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice ToolIJERA Editor
 

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

INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
 INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER   INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
INTERFACING ANALAOG TO DIGITAL CONVERTER (ADC0808/09) TO 8051 MICROCONTROLLER
 
Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...Interfacing with peripherals: analog to digital converters and digital to ana...
Interfacing with peripherals: analog to digital converters and digital to ana...
 
Ad and da convertor
Ad and da convertorAd and da convertor
Ad and da convertor
 
Ad and da convertor
Ad and da convertorAd and da convertor
Ad and da convertor
 
Unit IV DA & AD Convertors and Phase Locked Loop
Unit IV  DA & AD Convertors and Phase Locked LoopUnit IV  DA & AD Convertors and Phase Locked Loop
Unit IV DA & AD Convertors and Phase Locked Loop
 
MODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptxMODULE-2_SIGNAL_CONDITIONING.pptx
MODULE-2_SIGNAL_CONDITIONING.pptx
 
ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)ADC - Types (Analog to Digital Converter)
ADC - Types (Analog to Digital Converter)
 
Analog to digital converter (ACD)
Analog to digital converter (ACD)Analog to digital converter (ACD)
Analog to digital converter (ACD)
 
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS TechnologyIRJET-  	  Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
IRJET- Implementation of 16-Bit Pipelined ADC using 180nm CMOS Technology
 
M-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATIONM-TECH 4th SEM PRESENTATION
M-TECH 4th SEM PRESENTATION
 
Implementation of 4-bit R-2R DAC on CADENCE Tools
Implementation of 4-bit R-2R DAC on CADENCE ToolsImplementation of 4-bit R-2R DAC on CADENCE Tools
Implementation of 4-bit R-2R DAC on CADENCE Tools
 
Data Acquisition System, a side for Electrical Engg.
Data Acquisition System, a side for Electrical Engg.Data Acquisition System, a side for Electrical Engg.
Data Acquisition System, a side for Electrical Engg.
 
ANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTORANALOG TO DIGITAL CONVERTOR
ANALOG TO DIGITAL CONVERTOR
 
LIC UNIT IV.pptx
LIC UNIT IV.pptxLIC UNIT IV.pptx
LIC UNIT IV.pptx
 
Lica 7th chapter slides
Lica 7th chapter slidesLica 7th chapter slides
Lica 7th chapter slides
 
R2 r dac
R2 r dacR2 r dac
R2 r dac
 
Analog to digital converter
Analog to digital converterAnalog to digital converter
Analog to digital converter
 
analog to digital adn digital to analog .ppt
analog to digital adn digital to analog .pptanalog to digital adn digital to analog .ppt
analog to digital adn digital to analog .ppt
 
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice ToolDesign and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
Design and Simulation of First Order Sigma-Delta Modulator Using LT spice Tool
 
Adc &dac ppt
Adc &dac pptAdc &dac ppt
Adc &dac ppt
 

Recently uploaded

An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptNarmatha D
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...VICTOR MAESTRE RAMIREZ
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESNarmatha D
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfROCENODodongVILLACER
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfAsst.prof M.Gokilavani
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxRomil Mishra
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating SystemRashmi Bhat
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleAlluxio, Inc.
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncssuser2ae721
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)Dr SOUNDIRARAJ N
 
The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsDILIPKUMARMONDAL6
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxsiddharthjain2303
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024Mark Billinghurst
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptMadan Karki
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptSAURABHKUMAR892774
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfRajuKanojiya4
 

Recently uploaded (20)

An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Industrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.pptIndustrial Safety Unit-IV workplace health and safety.ppt
Industrial Safety Unit-IV workplace health and safety.ppt
 
Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...Software and Systems Engineering Standards: Verification and Validation of Sy...
Software and Systems Engineering Standards: Verification and Validation of Sy...
 
Industrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIESIndustrial Safety Unit-I SAFETY TERMINOLOGIES
Industrial Safety Unit-I SAFETY TERMINOLOGIES
 
Risk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdfRisk Assessment For Installation of Drainage Pipes.pdf
Risk Assessment For Installation of Drainage Pipes.pdf
 
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdfCCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
CCS355 Neural Networks & Deep Learning Unit 1 PDF notes with Question bank .pdf
 
Mine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptxMine Environment II Lab_MI10448MI__________.pptx
Mine Environment II Lab_MI10448MI__________.pptx
 
Virtual memory management in Operating System
Virtual memory management in Operating SystemVirtual memory management in Operating System
Virtual memory management in Operating System
 
Correctly Loading Incremental Data at Scale
Correctly Loading Incremental Data at ScaleCorrectly Loading Incremental Data at Scale
Correctly Loading Incremental Data at Scale
 
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
🔝9953056974🔝!!-YOUNG call girls in Rajendra Nagar Escort rvice Shot 2000 nigh...
 
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsyncWhy does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
Why does (not) Kafka need fsync: Eliminating tail latency spikes caused by fsync
 
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
UNIT III ANALOG ELECTRONICS (BASIC ELECTRONICS)
 
The SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teamsThe SRE Report 2024 - Great Findings for the teams
The SRE Report 2024 - Great Findings for the teams
 
Energy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptxEnergy Awareness training ppt for manufacturing process.pptx
Energy Awareness training ppt for manufacturing process.pptx
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024IVE Industry Focused Event - Defence Sector 2024
IVE Industry Focused Event - Defence Sector 2024
 
Indian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.pptIndian Dairy Industry Present Status and.ppt
Indian Dairy Industry Present Status and.ppt
 
Arduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.pptArduino_CSE ece ppt for working and principal of arduino.ppt
Arduino_CSE ece ppt for working and principal of arduino.ppt
 
National Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdfNational Level Hackathon Participation Certificate.pdf
National Level Hackathon Participation Certificate.pdf
 

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….