dsPIC DSC –Modul A/D Conversia A/D Registre programare

Slides:



Advertisements
Similar presentations
Analog to digital converter
Advertisements

Electronics Design Lab TUTORIAL PIC Microcontrollers Francesco Tenore 2/10/2006.
Jordan Barry Victor Brzeski
Mark Neil - Microprocessor Course 1 Device Drivers – Digital Voltmeter.
C Examples 1.
Chung-Ta King National Tsing Hua University
Analog to Digital Conversion
Lecture 11 Digital-to-Analog Converters and Analog Comparators.
Analog/Digital Subsystem
Microprocessor Systems Design I Instructor: Dr. Michael Geiger Spring 2014 Lecture 32: PIC example programs: Analog to digital conversion.
Chapter 11 It’s an Analog World Learning to use the Analog to Digital Converter.
1 ADC – Analog to Digital Converter and PWM Waveform Generation with EZDSP2812 Professor: Chen, Pei-Chung 陳 沛 仲 Student: Thanh-Nhan Nguyen 阮 誠 仁 2008,
Analog to Digital Convertor MTT48 V1.0 ADC - 1 ANALOG TO DIGITAL CONVERTOR (ADC)
Analog Comparator Positive input chooses bet. PB2 and Bandgap Reference. Negative input chooses bet. PB3 and the 8 inputs of the A/D. ACME= Analog Comparator.
Lecture 5: PIC32 development board, Timers ADC and interrupts,
PIC16F bit 8-channel Analog-to-Digital Converter.
Kuliah Mikrokontroler AVR ADC AVR Eru©September 2009 PENS.
Data acquisition and manipulation
Explain the introduction to ADC, ADC characteristics, Programming ADC using PIC18, Introduction to DAC and DAC interfacing with PIC18.
0 - 1 © 2007 Texas Instruments Inc, Content developed in partnership with Tel-Aviv University From MATLAB ® and Simulink ® to Real Time with TI DSPs Class-D.
ECT 357 Ch 10 Analog to Digital COnversion. Today’s Quote: It’s better to die with a good name than to live with a bad one. It’s better to die with a.
Analog to Digital Converters (ADC)
S4525A Peripherals & Enhanced FLASH 1 © 1999 Microchip Technology Incorporated. All Rights Reserved. S4525A Peripherals & Enhanced FLASH 1 Peripherals.
EE396 Project Micromouse Team: Ocha. Team Members Kanoa Jou (Programmer) Ryan Sato (Hardware) KiWoon Ahn (Recorder) Alan Do (Programmer)
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Data Converters ELEC 330 Digital Systems Engineering Dr. Ron Hayne
Digital to Analogue Converter
Technical Training. 1 Configuration: 2558 Analog Input Module 1. Select voltage or current input mode for each channel 3. Select digital filtering, offset.
ELE2MIC Lecture 21 The AVR Sleep Modes ATMEGA128’s Analog to Digital Converter –Features –Block Diagram –Clock Source –Input Sources –Interrupts –BandGap.
SIGMA-DELTA ADC SD16_A Sigma-Delta ADC Shruthi Sujendra.
Mircea Bogdan, NSS2005 Oct , 2005 – Windham El Conquistador Resort, Puerto Rico1 Simultaneous Sampling ADC Data Acquisition System for the QUIET.
EEE527 Embedded Systems Lecture 10B:Chapter 11 Analogue to Digital Convertors (ADCs) (version 2: 25/11/13, see after slide 20 Ian McCrumRoom 5B18, Tel:
Renesas Electronics Corporation © 2010 Renesas Electronics America Inc. All rights reserved. RX 12 Bit Analog-to-Digital Converter A Rev /1/10.
ECE/CS-352: Embedded Microcontroller Systems The Silicon Laboratories C8051F020 Enhanced 8051 Part 4 Timer3, Temperature Sensor, AD0WINT.
The Silicon Laboratories C8051F020
CS224 I/O. Timers Timer1 is 16-bit timer 2^16-1 or 65,535 SYSCLK = 40MHz, Prescalers – 1:1, 1:8, 1:64, and 1:256 – Use T1CONbits.TCKPS=3 for 1:256 scaling.
The pin of ADC  12-bit ADC core with built-in dual sample- and-hold  Simultaneous sampling or sequential sampling modes  Analog input: 0 V to 3 V.
By James Cockrell and Justin Loveless
Analog to Digital Converter (ADC). Analog to Digital Converters  Microcontroller understands only digital language.  To convert the analog output from.
Microcontroller based system design Asst. Prof. Dr. Alper ŞİŞMAN.
Lab 3: ADC.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
Analog to Digital Converter (ADC)
Analog to Digital Conversion - ADC Mark Neil - Microprocessor Course 1 Device Drivers – Measuring Voltages.
2/June/2009LHCb Upgrade1 Single ended ADC Differential ADC –Convert single ended signal to differential (use AD8138 amp) –ASIC differential output ADC.
D ATA A CQUISITION AND M ANIPULATION. A NALOG V S. D IGITAL Q UANTITIES 2.
Sensing Algorithm using IR Sensor and ADC Soong-sil University. Robotics 기 정 두 원.
By: Shivanshi pandya(30) Ayushi chourasia (3) Pranavi chhikniwala(6)
CEng3361 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2011 Recitation 06.
Microcontrollers Part II BME 201. Overview ADC Serial.
 Mini-Computer ◦ Microprocessor  The Brains  Arithmetic Logic Unit (ALU)  Control Unit  Program/ Data Storage  Peripherals (Input/Output)  Low-Cost.
Digital-to-Analog Analog-to-Digital
Analog Comparator An analog comparator is available on pins PE2(AIN0), PE3(AIN1) The comparator operates like any other comparator. -when (+) exceeds (-)
DSC - fundamente MPU MCU DSP DSC Alternative Freescale
EECE.3170 Microprocessor Systems Design I
INT. TO EMBEDDED SYSTEMS DEVELOPMENT
ADC, DAC, and Sensor Interfacing
ADC, DAC, and Sensor Interfacing
ECE 354 Computer Systems Lab II
Chapter 10 It’s an Analog World
PIC18F458 Analog-to-Digital
ADC and DAC Programming in AVR
ADC and DAC Data Converter
輸出動作與輸入命令相同.
Device Drivers – Digital Voltmeter
Prof. Chung-Ta King Department of Computer Science
PIC Analog Input Tom Igoe, NYU-ITP
ADC and DAC Data Converter
PIC Microcontroller ADC interfacing Prof. Ashvini Kulkarni
The QUIET ADC Implementation
Presentation transcript:

dsPIC DSC –Modul A/D Conversia A/D Registre programare Secventa configurare

Converise A/D

Parametri conversie A/D

dsPIC 33 – Caracteristici modul A/D

Modul A/D 10 biti

Modul A/D 12 biti

Model programare

ADCON1

ADCON2

ADCON3

ADCHS

ADPCFG - ADCSSL

Configurare modul A/D a) Select port pins as analog inputs (AD1PCFGH<15:0> or AD1PCFGL<15:0>) b) Select voltage reference source to match expected range on analog inputs (AD1CON2<15:13>) c) Select the analog conversion clock to match desired data rate with processor clock (AD1CON3<7:0>) d) Determine how many S/H channels is used (AD1CON2<9:8> an AD1PCFGH<15:0> or AD1PCFGL<15:0>) e) Select the appropriate sample/conversion sequence (AD1CON1<7:5> and AD1CON3<12:8>) f) Select how conversion results are presented in the buffer (AD1CON1<9:8>) g) Turn on ADC module (AD1CON1<15>) 2. Configure ADC interrupt (if required): a) Clear the AD1IF bit b) Select ADC interrupt priority