info:howto:water_vapor_pressure_project_notes
Differences
This shows you the differences between two versions of the page.
info:howto:water_vapor_pressure_project_notes [2010/09/26 18:35] – created tomgee | info:howto:water_vapor_pressure_project_notes [2010/09/26 18:37] (current) – tomgee | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | Comments from the W7100 asm program | ||
; Calculate vapor pressure from temperature and humidity | ; Calculate vapor pressure from temperature and humidity | ||
; DPTR points to start of stream of ASCII Humidity | ; DPTR points to start of stream of ASCII Humidity | ||
Line 5: | Line 6: | ||
; EX: 70F at 65% = 25.0*.65 = 16.25mbar | ; EX: 70F at 65% = 25.0*.65 = 16.25mbar | ||
; WVP (0-13400) returned in A(lsb)B(msb) and output as xxx.x | ; WVP (0-13400) returned in A(lsb)B(msb) and output as xxx.x | ||
+ | |||
+ | Here is the lookup table in the asm program: | ||
+ | |||
+ | ; Saturation vapor pressure is a table that starts at -30F and | ||
+ | ; continues to 125F in 5 degree steps | ||
+ | ; Values in the word table are interpreted with one decimal point (3 = .3) | ||
+ | ; Reduced accuracy byte table is interpreted as no decimal points (1 = 1.0) | ||
+ | | ||
+ | | ||
+ | | ||
+ | RET | ||
+ | | ||
+ | ; | ||
+ | ; | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | |
info/howto/water_vapor_pressure_project_notes.1285540501.txt.gz · Last modified: 2010/09/26 18:35 by tomgee