Remote-processing RPC-330 Uživatelský manuál Strana 37

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 48
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 36
ANALOG INPUT SECTION 10
Page 10-3 RPC-330
40 NEXT
This next program saves data to RAM segment 1 in a
system with 128K of RAM. It takes approximately 2 mS
per data point and is not affected by the memory location
saved to.
10 A = 0
20 FOR X=0 TO 999
30 POKE W1,A,AIN(0)
40 A=A+2
50 NEXT
Data is retrieved using the PEEK W command.
Noise Notes
An input channel can appear to be noisy (change
readings at random) if unuse d inputs are allowed to float.
To minimize noise (and increase accur acy), connect all
unused inputs to ground.
A high impedance input is, by definition, sensitive to
voltage pickup. Noise is minimized by running wires
away from AC power lines. A low impedance voltage
source helps to reduce noise pick up. Shielded cable can
help reduce noise from high impedance sources. Make
sure the shield is not used for power ground. Using the
shield for power ground defeats its purpose.
Wire pairs can also be twisted. 5-6 twists/foot provides
a reasonable amount of noise cancellation.
Noise is defined in this section as any random change
from a known input. The amount of noise you can
exp ect und er nor mal operatin g ci rc um sta nce s is ±3
counts for any input range.
One way to compensate for noise is to take a number of
samples and average the results. Taking 6 or more
samples would, in theory, cancel out any effects of
noise. A problem with this is noise tends to group
together. Taking 6 readings at one time might show no
change fr om the norm. Another 6 readings might be all
high. If possible, try to spread out readings over a
period of time (several seconds if possible).
Noise is, by definition, random. If you were to plot out
the deviations from a norm, it would roughly resemble a
bell shaped curve. Exper iments on the RPC-330 have
shown that 99% of the readings are within the ±3 count
reading. N oise read ings wer e made with all inputs
shorted to ground.
Temperature Measurement
Reference IC U14 outputs a voltage pr oportiona l to its
temperature.
Vo = 2.1(T + 273)
or
T = Vo/2. 1 - 273
or
T = Vc * .581428 - 273
Where T = Te mp er atu re in °C
Vo = Output voltage in mV
Vc = Count returned using AIN, 0 -
5V range
At 25°C the output voltage is approximately 630 mV, or
516 counts.
The output from U14 must be buffered. To measure
temperature, jumper H1[1-3]. Remove resistor R13.
Jumper H1[2-4]. Temperature is read at analog channel
0.
100 T = AIN(0) * .581428 - 273
T returns the temperature in celsius.
The output from the temperature sensor varies from unit
to unit.
You can increase the output voltage from the
temperature sensor by lowering R12 and grounding H1
pin 5 (jumper H1-5 to H1-7).
Data logging on a timer tick
Some applications require that data is read at fixed
intervals. The ONTICK construct can be used to take
data in intervals from 0.01 to 327 seconds. T he exam ple
below takes 1 sample per second until 100 samples have
been obtained.
10 DIM A(100)
20 ONTICK 1,500
30 REM THE REST OF YOUR PROGRAM
40 REM CONTINUES
80 GOTO 30
500 A(N) = AIN(3)
510 N=N+1
520 IF N = 100 THEN ONTICK 0,500
530 RETI
Zobrazit stránku 36
1 2 ... 32 33 34 35 36 37 38 39 40 41 42 ... 47 48

Komentáře k této Příručce

Žádné komentáře

LG GRJ-324PM manuály

Uživatelské manuály a uživatelské příručky pro ne LG GRJ-324PM.
Poskytujeme 1 manuály pdf LG GRJ-324PM ke stažení zdarma podle typů dokumentů: Uživatelský manuál


Lg GRJ-324PM Uživatelský manuál (56 strany)


Značka: Lg | Kategorie: No info | Velikost: 3.40 MB |

 

Tabulka s obsahem



1

 

2



3

 

4



5

 

6



7

 

8



9

 

10



11



12



13



13



13



14



14

™Smart Diagnosis

15

Smart Diagnosis

16



16



17



18



18



18



19

 

20



21



21



21

 

22



23



24



24



25

 

26



27



28



29



30



31



32



33



33



33



34



35



36



37

 

38



39

 

40



41

 

42



43

 

44



45



46



47



48



49



50



51

 

52



53



54



55



56





Další produkty a příručky pro ne LG

Modely Typ Dokumentu
GR-P257BVK Uživatelský manuál   LG GR-P257BVK manuel du propriétaire, 28 stránky
PF80G Uživatelský manuál   LG PF80G دليل المالك, 72 stránky
F0914WW Uživatelský manuál   LG F0814WW1,SC3-1794TW,F0914WW دليل المالك [ro] , 48 stránky
KA60510S Uživatelský manuál   LG KA60510S دليل المالك, 40 stránky
FH4U1JBSK6 Uživatelský manuál   LG FH4U1JBSK6 دليل المالك, 64 stránky
GN-V191R Uživatelský manuál   LG GN-V231RL,GN-V191R manual del propietario [sk] , 8 stránky
GR-P227STG Uživatelský manuál   LG GR-P227STG دليل المالك [ro] , 27 stránky
LSS304JDVL Uživatelský manuál   LG LSS304JDVL دليل المالك [el] , 56 stránky
LP-C302RA0 Uživatelský manuál   LG LP-C302RA0 Owner’s Manual, 27 stránky
32LJ550Z Uživatelský manuál   LG 32LJ550Z دليل المالك [ro] , 35 stránky
55EA9800 Uživatelský manuál LG 55EA9800,55EA98000 راهنمای كاربر, 215 stránky
73063 Uživatelský manuál   LG 73063 Owner’s Manual, 140 stránky
29FS2RNP Uživatelský manuál   LG 29FS2RNP Owner’s Manual, 32 stránky
MP9289JS Uživatelský manuál   LG MP9289JS manuel du propriétaire [ro] , 39 stránky
L1750S Uživatelský manuál   LG L1750S دليل المالك [ro] , 21 stránky
TD-V70120E Uživatelský manuál   LG TD-V70120E دليل المالك, 28 stránky
65UJ670Y Uživatelský manuál   LG 49UJ670Y,55UJ670Y,65UJ670Y دليل المالك, 41 stránky
47LS35A-5B Uživatelský manuál   LG 47LS35A-5B Owner’s Manual, 78 stránky
MS0742XT Uživatelský manuál   LG MS0742XT manual del propietario, 19 stránky
LPC12 Uživatelský manuál   LG LPC12 دليل المالك, 8 stránky