Motore di ricerca datesheet componenti elettronici
  Italian  ▼
ALLDATASHEETIT.COM

X  

DM300019 Scheda tecnica(PDF) 30 Page - Microchip Technology

Il numero della parte DM300019
Spiegazioni elettronici  Starter Development Board Userís Guide
PDF  50 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Produttore elettronici  MICROCHIP [Microchip Technology]
Homepage  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

DM300019 Scheda tecnica(HTML) 30 Page - Microchip Technology

Back Button DM300019 Datasheet HTML 26Page - Microchip Technology DM300019 Datasheet HTML 27Page - Microchip Technology DM300019 Datasheet HTML 28Page - Microchip Technology DM300019 Datasheet HTML 29Page - Microchip Technology DM300019 Datasheet HTML 30Page - Microchip Technology DM300019 Datasheet HTML 31Page - Microchip Technology DM300019 Datasheet HTML 32Page - Microchip Technology DM300019 Datasheet HTML 33Page - Microchip Technology DM300019 Datasheet HTML 34Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 30 / 50 page
background image
dsPICDEM™ 80-Pin Starter Development Board User’s Guide
DS51584B-page 26
© 2006 Microchip Technology Inc.
The dsPIC DSC device functionality used in this demonstration program includes:
• Setting up I/O ports
• Setting up timer interrupts
• Handling interrupts
To observe this demonstration, close jumper J4 to enable the LEDs, then operate the
switches.
3.3.2
Analog-to-Digital Conversion
To illustrate analog-to-digital conversion, the analog value of potentiometer R13 is
converted by the Analog-to-Digital Converter, ADC12, to a digital value that is
transmitted via UART1 to a PC.
When the HyperTerminal accessory in Microsoft Windows® is connected to the serial
port on the dsPICDEM 80-Pin Starter Development Board, it receives and displays a
stream of three-digit HEX codes that correspond to the 12-bit output value of ADC12.
As the potentiometer R13 is adjusted, the displayed HEX code changes within a range
from 000 to FFF.
The dsPIC30F device functionality used for this demonstration includes:
• Conversion of an analog signal to a 12-bit digital signal
• Conversion of the 12-bit ADC value to HEX and ASCII format
• UART communication handling
To implement this demonstration, connect the J1 connector on the dsPICDEM 80-Pin
Starter Development Board to the RS-232 serial port on the PC with a DB9 cable. Using
the HyperTerminal program available as a Microsoft Windows communications
accessory, configure the serial port to 2400 baud, 8 bits with 1 stop bit, no parity and
no flow control.
3.3.3
Digital-to-Analog Conversion
To illustrate digital-to-analog conversion, the dsPICDEM 80-Pin Starter Development
Board uses the MCP41010 digital potentiometer and MCP6022 Operational Amplifier
(configured as a low-pass filter) to deliver an audio tone to the LINE OUT pin. The
digital input is derived from a table of HEX values in data memory. The demo program
cycles through the table and delivers the selected value to the digital potentiometer via
the Serial Peripheral Interface (SPI) module on the dsPIC DSC device. The table
values cover the full range of the digital potentiometer.
The program communicates a new table value to the digital potentiometer every 125
microseconds, which generates a 400 Hz audio signal out of the low-pass filter.
Switches S1 and S2 are used to change the output frequency to 800 Hz and 1600 Hz,
respectively.
The dsPIC DSC device functionality used for this demonstration includes:
• Mapping of data memory to program memory with PSV addressing
• Initialization of the SPI port
• Loading and transmission of data using hardware SPI
To observe this demonstration, connect an oscilloscope probe to pin 2 of J9 (the LINE
OUT pin).



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50


Scheda tecnica Scarica

Go To PDF Page


Link URL



Lei ha avuto il aiuto da alldatasheet?  [ DONATE ] 

Di alldatasheet   |   Richest di pubblicita   |   contatti   |   Privacy Policy   |   Collegamento alla scheda tecnica    |   scambio Link   |   Ricerca produttore
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com