công cụ tìm kiếm bảng dữ liệu linh kiện điện tử
  Vietnamese  ▼
ALLDATASHEET.VN

X  

MPX2202DP bảng dữ liệu(PDF) 395 Page - Motorola, Inc

tên linh kiện MPX2202DP
Giải thích chi tiết về linh kiện  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
nhà sản xuất  MOTOROLA [Motorola, Inc]
Trang chủ  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MPX2202DP bảng dữ liệu(HTML) 395 Page - Motorola, Inc

Back Button MPX2202DP Datasheet HTML 391Page - Motorola, Inc MPX2202DP Datasheet HTML 392Page - Motorola, Inc MPX2202DP Datasheet HTML 393Page - Motorola, Inc MPX2202DP Datasheet HTML 394Page - Motorola, Inc MPX2202DP Datasheet HTML 395Page - Motorola, Inc MPX2202DP Datasheet HTML 396Page - Motorola, Inc MPX2202DP Datasheet HTML 397Page - Motorola, Inc MPX2202DP Datasheet HTML 398Page - Motorola, Inc MPX2202DP Datasheet HTML 399Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 395 / 670 page
background image
AN1315
3–249
Motorola Sensor Device Data
www.motorola.com/semiconductors
Figure 5. DEVB–158 Software Flowchart
TIMER
INTERRUPT
SERVICE TIMER REGISTERS
SETUP COUNTER FOR NEXT INTERRUPT
SERVICE LIQUID CRYSTAL DISPLAY
RETURN
ACCUMULATE 100 A/D CONVERSIONS
COMPUTE INPUT PRESSURE
CONVERT TO DECIMAL/SEGMENT DATA
PLACE IN RESULT OUTPUT BUFFER
COMPUTE SLOPE CONSTANT
INITIALIZE DISPLAY I/O PORTS
INITIALIZE TIMER REGISTERS
DETERMINE SENSOR TYPE
ENABLE INTERRUPTS
START
The “C” compiler used in this project was provided by BYTE
CRAFT LTD. (519) 888–6911. A compiler listing of the
program is included at the end of this document. The following
is a brief explanation of the routines:
delay()
Used to provide a software loop delay.
read_a2d()
Performs 100 reads on the A/D converter on
multiplexer channel 0 and returns the accumulation.
fixcompare()
Services the internal timer for 15 ms. timer
compare interrupts.
TIMERCMP()
Alternates the data and backplane inputs to
the liquid crystal display.
initio()
Sets up the microprocessor’s I/O ports, timer and
enables processor interrupts.
adzero()
This routine is called at powerup time. It delays
to let the power supply and the transducer stabilize. It then
calls “read_atod()” and saves the returned value as the
sensors output voltage with zero pressure applied.
cvt_bin_dec(unsigned long arg)
This routine converts
the unsigned binary argument passed in “arg” to a five
digit decimal number in an array called “digit.” It then uses
the decimal results for each digit as an index into a table
that converts the decimal number into a segment pattern
for the display. This is then output to the display.
display_psi()
This routine is called from “main()” never to
return. The A/D converter routine is called, the pressure
is calculated based on the type sensor detected and the
pressure applied to the sensor is displayed. The loop
then repeats.
sensor_type()
This routine determines the type of sensor
from reading J1 to J3, setting the full scale pressure for
that particular sensor in a variable for use by display_psi().
sensor_slope()
This routine determines the slope
constant to be used by display_psi() for engineering units
output.
main()
This is the main routine called from reset. It calls
“initio()” to setup the system’s I/O. “display_psi()” is called
to compute and display the pressure applied to the
sensor.
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com



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 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


bảng dữ liệu tải về

Go To PDF Page


Link URL



Cho đến nay ALLDATASHEET có giúp ích cho doanh nghiệp của bạn hay không?  [ DONATE ] 

Alldatasheet là   |   Quảng cáo   |   Liên lạc với chúng tôi   |   Chính sách bảo mật   |   Liên kết đến bảng dữ liệu    |   Trao đổi link   |   Tìm kiếm theo nhà sản xuất
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