поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

MPXM2102AS датащи(PDF) 369 Page - Motorola, Inc

номер детали MPXM2102AS
подробное описание детали  Sensor
PDF  670 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  MOTOROLA [Motorola, Inc]
домашняя страница  http://www.freescale.com
Logo MOTOROLA - Motorola, Inc

MPXM2102AS датащи(HTML) 369 Page - Motorola, Inc

Back Button MPXM2102AS Datasheet HTML 365Page - Motorola, Inc MPXM2102AS Datasheet HTML 366Page - Motorola, Inc MPXM2102AS Datasheet HTML 367Page - Motorola, Inc MPXM2102AS Datasheet HTML 368Page - Motorola, Inc MPXM2102AS Datasheet HTML 369Page - Motorola, Inc MPXM2102AS Datasheet HTML 370Page - Motorola, Inc MPXM2102AS Datasheet HTML 371Page - Motorola, Inc MPXM2102AS Datasheet HTML 372Page - Motorola, Inc MPXM2102AS Datasheet HTML 373Page - Motorola, Inc Next Button
Zoom Inzoom in Zoom Outzoom out
 369 / 670 page
background image
AN1305
3–223
Motorola Sensor Device Data
www.motorola.com/semiconductors
Figure 5. DEVB–114 Software Flowchart
YES
START
NO
INITIALIZE DISPLAY I/O PORTS
INITIALIZE TIMER REGISTERS
ALLOW INTERRUPTS
PERFORM AUTO ZERO
TIMER
INTERRUPT
J1 OUT?
ACCUMULATE 100 A/D CONVERSIONS
COMPUTE INPUT PRESSURE
CONVERT TO DECIMAL
PLACE IN RESULT OUTPUT BUFFER
SERVICE TIMER REGISTERS
SETUP COUNTER FOR NEXT INTERRUPT
SERVICE LIQUID CRYSTAL DISPLAY
RETURN FROM INTERRUPT
SLOPE = 64
SLOPE = 63
J2 OUT?
NO
SLOPE = 65
YES
The 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 approximately a 20 ms loop.
read_a2d() Performs one hundred reads on the analog to
digital converter on multiplexer channel 5 and returns the
accumulation.
fixcompare() Services the internal timer for 30 ms timer
compare interrupts.
TIMERCMP() Alternates the data and backplane for the
liquid crystal display.
initio() Sets up the microcomputer’s I/O ports, timer, allows
processor interrupts, and calls adzero().
adzero() This routine is necessary at power–up time
because it delays the power supply and allows the
transducer to 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. It is then output to the display.
display_psi() This routine is called from ‘main()’. The ana-
log to digital converter routine is called, the pressure is
calculated, and the pressure applied to the sensor is dis-
played. The loop then repeats.
main() This is the main routine called from reset. It calls
‘initio()’ to set up 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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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