| The Datasheet Archive - 100 Million Datasheets from 7500 Manufacturers. |
Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T t
Top Searches for this datasheet19-4990; 10/09 Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T temperature logger iButtons® rugged, self-sufficient systems that measure temperature record result protected memory section. recording done user-defined rate. total 8192 8-bit readings 4096 16-bit readings, taken equidistant intervals ranging from 273hr, stored. Additionally, bytes SRAM store application-specific information bytes store calibration data. mission collect data programmed begin immediately, after user-defined delay, after temperature alarm. Access memory control functions password protected. DS1922L/DS1922T configured communicate with host-computing device through serial 1-Wire® protocol, which requires only single data lead ground return. Each DS1922L/DS1922T factory lasered with guaranteed unique 64-bit registration number that allows absolute traceability. durable stainless-steel package highly resistant environmental hazards such dirt, moisture, shock. Accessories permit DS1922L/DS1922T mounted almost object, including containers, pallets, bags. Two-Level Password Protection Memory Configuration Registers Communicates Host with Single Digital Signal 15.4kbps Standard Speed 125kbps Overdrive Mode Using 1-Wire Protocol Operating Temperature Range: DS1922L: -40°C +85°C; DS1922T: +125°C DS1922L/DS1922T Common iButton Features Digital Identification Information Momentary Contact Unique Factory-Lasered 64-Bit Registration Number Ensures Error-Free Device Selection Absolute Traceability Because Parts Alike Built-In Multidrop Controller 1-Wire Chip-Based Data Carrier Compactly Stores Information Data Accessed While Affixed Object Button Shape Self-Aligning with Cup-Shaped Probes Durable Stainless-Steel Case Engraved with Registration Number Withstands Harsh Environments Easily Affixed with Self-Stick Adhesive Backing, Latched Flange, Locked with Ring Pressed Onto Presence Detector Acknowledges When Reader First Applies Voltage Meets (4th Edit.); Intrinsically Safe Apparatus: Approved Under Entity Concept Class Division Group Locations Applications High-Temperature Logging (Process Monitoring, Industrial Temperature Monitoring) Temperature Logging Cold Chain, Food Safety, Science, Pharmaceutical Medical Products Features Automatically Wakes Measures Temperature, Stores Values Data-Log Memory 8-Bit 16-Bit Format Digital Thermometer Measures Temperature with 8-Bit (0.5°C) 11-Bit (0.0625°C) Resolution Accuracy ±0.5°C from -10°C +65°C (DS1922L), 0.5°C from +20°C +75°C (DS1922T), with Software Corrections Water Resistant Waterproof Placed Inside DS9107 iButton Capsule (Exceeds Water Resistant ARequirements) Sampling Rate from 273hr Programmable High Trip Points Temperature Alarms Programmable Recording Start Delay After Elapsed Time Upon Temperature Alarm Trip Point Quick Access Alarmed Devices Through 1-Wire Conditional Search Function Bytes General-Purpose Memory Plus Bytes Calibration Memory Ordering Information PART DS1922L-F5# DS1922T-F5# TEMP RANGE -40°C +85°C +125°C PIN-PACKAGE iButton iButton #Denotes RoHS-compliant device that include lead(Pb) that exempt under RoHS requirements. Examples Accessories PART DS9096P DS9101 DS9093RA DS9093A DS9092 ACCESSORY Self-Stick Adhesive Multipurpose Clip Mounting Lock Ring Snap-in iButton Probe Configuration appears data sheet. iButton 1-Wire registered trademarks Maxim Integrated Products, Inc. Maxim Integrated Products pricing, delivery, ordering information, please contact Maxim Direct 1-888-629-4642, visit Maxim's website www.maxim-ic.com. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T ABSOLUTE MAXIMUM RATINGS Voltage Range .-0.3V Sink Current.20mA Operating Temperature Range DS1922L .-40°C +85°C DS1922T .0°C +125°C *Storage operation above +50°C significantly reduces battery life. Stresses beyond those listed under "Absolute Maximum Ratings" cause permanent damage device. These stress ratings only, functional operation device these other conditions beyond those indicated operational sections specifications implied. Exposure absolute maximum rating conditions extended periods affect device reliability. Junction Temperature .+150°C Storage Temperature Range* DS1922L.-40°C +85°C* DS1922T .0°C +125°C* ELECTRICAL CHARACTERISTICS (VPUP +3.0V +5.25V.) PARAMETER Operating Temperature PIN: GENERAL DATA 1-Wire Pullup Resistance Input Capacitance Input Load Current High-to-Low Switching Threshold Input Voltage Low-to-High Switching Threshold Switching Hysteresis Output Voltage RPUP (Notes (Note VPUP (Notes (Notes (Notes (Note (Note Standard speed, RPUP 2.2k Overdrive speed, RPUP 2.2k Overdrive speed, directly prior reset pulse; RPUP 2.2k (Note Standard speed Time-Slot Duration (Note SLOT Overdrive speed, VPUP 4.5V Overdrive speed (Note Standard speed, VPUP 4.5V Standard speed (Note Overdrive speed, VPUP 4.5V Overdrive speed (Note Standard speed, VPUP 4.5V Presence-Detect High Time Standard speed (Note Overdrive speed (Note Presence-Detect Fall Time (Note Standard speed, VPUP 4.5V tFPD Standard speed Overdrive speed 0.15 63.5 0.09 SYMBOL CONDITIONS DS1922L (Note DS1922T (Note +125 UNITS Recovery Time (Note tREC Rising-Edge Hold-Off Time tREH PIN: 1-Wire RESET, PRESENCE-DETECT CYCLE Reset Time (Note tRSTL Temperature Logger iButton with Data-Log Memory ELECTRICAL CHARACTERISTICS (continued) (VPUP +3.0V +5.25V.) PARAMETER SYMBOL CONDITIONS Standard speed, VPUP 4.5V Presence-Detect Time Standard speed (Note Overdrive speed, VPUP 4.5V (Note Overdrive speed (Note Standard speed, VPUP 4.5V tMSP Standard speed Overdrive speed PIN: 1-Wire WRITE Standard speed Write-Zero Time (Note Write-One Time (Notes PIN: 1-Wire READ Read Time (Notes Read Sample Time (Notes REAL-TIME CLOCK Accuracy Frequency Deviation TEMPERATURE CONVERTER Conversion Time (Note Thermal Response Time Constant (Note Conversion Error Without Software Correction Conversion Error with Software Correction tCONV RESP DS1922L/DS1922T 71.5 1.95 1.95 1.95 UNITS Presence-Detect Sample Time (Note tW0L Overdrive Speed, VPUP 4.5V (Note Overdrive speed (Note Standard speed Overdrive speed Standard speed Overdrive speed Standard speed Overdrive speed tW1L tMSR Accuracy graphs -40°C +85°C min/ month -300 -600 +125°C 8-bit mode 16-bit mode bits) iButton package (Notes (Notes Temperature Accuracy graphs Temperature Accuracy graphs Note Note Note Note Note Note Note Guaranteed design, production tested -40°C +125°C. System requirement. Maximum allowable pullup resistance function number 1-Wire devices system 1-Wire recovery times. specified value here applies systems with only device with minimum 1-Wire recovery times. more heavily loaded systems, active pullup such that found DS2480B required. Capacitance data could 800pF when VPUP first applied. 2.2k resistor used pull data line, 2.5µs after VPUP been applied, parasite capacitance does affect normal communications. VTL, function internal supply voltage. Voltage below which, during falling edge logic detected. voltage must less than equal VILMAX whenever master drives line low. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T ELECTRICAL CHARACTERISTICS (continued) (VPUP +3.0V +5.25V.) Note Note Note Note Note Note Note Note Note Note Note Note Voltage above which, during rising edge logic detected. After crossed during rising edge voltage must drop detected logic characteristic linear voltages less than earliest recognition negative edge possible tREH after been previously reached. Numbers bold compliance with published iButton standards. Comparison Table. Interval during negative edge beginning presence-detect pulse between time which voltage VPUP time which voltage VPUP. Figure represents time required pullup circuitry pull voltage from VTH. Figure represents time required pullup circuitry pull voltage from input-high threshold master. conserve battery power, 8-bit temperature logging whenever possible. This number derived from test conducted Cemagref Antony, France, July 2000: Test Report E42. Includes +0.1/-0.2°C calibration chamber measurement uncertainty. Warning: sole method measuring tracking temperature products articles that could affect health safety persons, plants, animals, other living organisms, including limited foods, beverages, pharmaceuticals, medications, blood blood products, organs, flammable, combustible products. User shall assure that redundant other primary) methods testing determining handling methods, quality, fitness articles products should implemented. Temperature tracking with this product, where health safety aforementioned persons things could adversely affected, only recommended when supplemental redundant information sources used. Data-logger products 100% tested calibrated time manufacture Maxim ensure that they meet data sheet parameters, including temperature accuracy. User shall responsible proper storage this product. with sensor-based product, user shall also responsible occasionally rechecking temperature accuracy product ensure still operating properly. Assumes using calibration memory with calibration equations error compensation. Includes +0.1/-0.2°C calibration chamber measurement uncertainty. Guaranteed design. Note COMPARISON TABLE LEGACY VALUES PARAMETER STANDARD SPEED SLOT (including tREC) tRSTL tW0L (undefined) (undefined) OVERDRIVE SPEED (undefined) DS1922L/DS1922T VALUES STANDARD SPEED (undefined) 63.5 OVERDRIVE SPEED (undefined) *Intentional change; longer recovery time requirement modified 1-Wire front-end. Note: Numbers bold compliance with published iButton standards. iButton PHYSICAL SPECIFICATION SIZE WEIGHT SAFETY Package Information section. grams Meets (4th Edit.); Intrinsically Safe Apparatus, approval under Entity Concept Class Division Group Locations. Temperature Logger iButton with Data-Log Memory DS1922L Minimum Product Lifetime Temperature, Slow Sampling DS1922L/DS1922T EVERY MINUTE SAMPLES 8-BIT MINIMUM PRODUCT LIFETIME (YEARS) EVERY MINUTES OSCILLATOR EVERY MINUTES EVERY MINUTES TEMPERATURE (°C) EVERY MINUTE SAMPLES 11-BIT MINIMUM PRODUCT LIFETIME (YEARS) EVERY MINUTES OSCILLATOR EVERY MINUTES EVERY MINUTES EVERY MINUTES EVERY MINUTES TEMPERATURE (°C) Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T DS1922L Minimum Product Lifetime Temperature, Fast Sampling EVERY SECOND EVERY SECONDS 8-BIT MINIMUM PRODUCT LIFETIME (DAYS) EVERY SECONDS EVERY SECONDS EVERY SECONDS TEMPERATURE (°C) EVERY SECOND EVERY SECONDS EVERY SECONDS EVERY SECONDS EVERY SECONDS 11-BIT MINIMUM PRODUCT LIFETIME (DAYS) TEMPERATURE (°C) Temperature Logger iButton with Data-Log Memory DS1922T Minimum Product Lifetime Temperature, Slow Sampling DS1922L/DS1922T EVERY MINUTE EVERY MINUTES 8-BIT MINIMUM PRODUCT LIFETIME (YEARS) EVERY MINUTES SAMPLES EVERY MINUTES OSCILLATOR TEMPERATURE (°C) EVERY MINUTE EVERY MINUTES 11-BIT MINIMUM PRODUCT LIFETIME (YEARS) EVERY MINUTES SAMPLES EVERY MINUTES OSCILLATOR EVERY MINUTES EVERY MINUTES TEMPERATURE (°C) Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T DS1922T Minimum Product Lifetime Temperature, Fast Sampling EVERY SECOND EVERY SECONDS EVERY SECONDS EVERY SECONDS EVERY SECONDS 8-BIT MINIMUM PRODUCT LIFETIME (DAYS) TEMPERATURE (°C) EVERY SECOND EVERY SECONDS 11-BIT MINIMUM PRODUCT LIFETIME (DAYS) EVERY SECONDS EVERY SECONDS EVERY SECONDS TEMPERATURE (°C) Temperature Logger iButton with Data-Log Memory DS1922L Minimum Product Lifetime Sample Rate DS1922L/DS1922T +40°C -40°C +60°C 8-BIT MINIMUM PRODUCT LIFETIME (YEARS) +75°C +85°C 0.01 0.01 MINUTES BETWEEN SAMPLES +40°C -40°C +60°C +75°C +85°C 11-BIT MINIMUM PRODUCT LIFETIME (YEARS) 0.01 0.001 0.01 MINUTES BETWEEN SAMPLES Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T DS1922T Minimum Product Lifetime Sample Rate +40°C +60°C 8-BIT MINIMUM PRODUCT LIFETIME (YEARS) +75°C +85°C +95°C +110°C +125°C 0.01 0.01 MINUTES BETWEEN SAMPLES +40°C +60°C +75°C 11-BIT MINIMUM PRODUCT LIFETIME (YEARS) +85°C +95°C +110°C +125°C 0.01 0.001 0.01 MINUTES BETWEEN SAMPLES Temperature Logger iButton with Data-Log Memory DS1922L Temperature Accuracy DS1922L/DS1922T ERROR (°C) UNCORRECTED MAXIMUM ERROR CORRECTED MAXIMUM ERROR CORRECTED MINIMUM ERROR -0.5 UNCORRECTED MINIMUM ERROR -1.0 TEMPERATURE (°C) NOTE: GRAPHS BASED 11-BIT DATA. DS1922T Temperature Accuracy ERROR (°C) CORRECTED MAXIMUM ERROR -0.5 -1.0 -1.5 -2.0 -2.5 CORRECTED MINIMUM ERROR UNCORRECTED MINIMUM ERROR UNCORRECTED MAXIMUM ERROR TEMPERATURE (°C) NOTE: GRAPHS BASED 11-BIT DATA. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T DS1922L Accuracy (Typical) DRIFT (MINUTES/MONTH) -1.0 -2.0 -3.0 -4.0 -5.0 TEMPERATURE (°C) DS1922T Accuracy (Typical) -2.0 DRIFT (MINUTES/MONTH) -4.0 -6.0 -8.0 -10.0 -12.0 TEMPERATURE (°C) Temperature Logger iButton with Data-Log Memory Detailed Description DS1922L ideal device monitor extended periods time temperature object attached shipped with, such fresh produce, medical drugs supplies, refrigerators freezers. With shifted temperature range, DS1922T suited monitor processes that require temperatures close boiling point water, such pasteurization food items. Note that initial sealing level DS1922L/DS1922T achieves equivalent IP56. Aging conditions degrade integrity seal over time, applications with significant exposure liquids, sprays, other similar environments, recommended place DS1922L/DS1922T DS9107 iButton capsule. DS9107 provides watertight enclosure that been rated IP68 (refer Application Note 4126: Understanding (Ingress Protection) Ratings iButton Data Loggers Capsules Software setup data retrieval through 1-Wire interface available free download from iButton website (www.ibutton.com). This software also includes drivers serial port routines access general-purpose memory storing application-specific equipment-specific data files. eight function commands: Read ROM, Match ROM, Search ROM, Conditional Search ROM, Skip ROM, Overdrive-Skip ROM, Overdrive-Match ROM, Resume. Upon completion Overdrive command executed standard speed, device enters overdrive mode, where subsequent communication occurs higher speed. protocol required these function commands described Figure After function command successfully executed, memory control functions become accessible master provide eight available commands. protocol these memory control function commands described Figure data read written least significant first. DS1922L/DS1922T Parasite Power block diagram (Figure shows parasite-powered circuitry. This circuitry "steals" power whenever input high. provides sufficient power long specified timing voltage requirements met. advantage parasite power that battery exhausted reason, still read. 64-Bit Lasered Each DS1922L/DS1922T contains unique code that bits long. first bits 1-Wire family code. next bits unique serial number. last bits cyclic redundancy check (CRC) first bits (see Figure details). 1-Wire generated using polynomial generator consisting shift register gates shown Figure polynomial Additional information about 1-Wire available Application Note Understanding Using Cyclic Redundancy Checks with Maxim iButton Products. shift register bits initialized Then, starting with least significant family code, time shifted After family code been entered, serial number entered. After last serial number been entered, shift register contains value. Shifting bits returns shift register Overview block diagram Figure shows relationships between major control memory sections DS1922L/DS1922T. devices have main data components: 64-bit lasered ROM; 256-bit scratchpad; 512-byte general-purpose SRAM; 256-bit register pages timekeeping, control, status, counter registers, passwords; bytes calibration memory; 8192 bytes data-logging memory. Except scratchpad, other memory arranged single linear address space. data-logging memory, counter registers, several other registers read only user. Both register pages write protected while device programmed mission. password registers, read password another read/write password, only written, never read. Figure shows hierarchical structure 1-Wire protocol. master must first provide Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T 1-Wire PORT FUNCTION CONTROL 64-BIT LASERED PARASITE-POWERED CIRCUITRY LITHIUM MEMORY FUNCTION CONTROL 256-BIT SCRATCHPAD DS1922L DS1922T GENERAL-PURPOSE SRAM (512 BYTES) 32.768kHz OSCILLATOR INTERNAL TIMEKEEPING, CONTROL REGISTERS, COUNTERS REGISTER PAGES BYTES) THERMAL SENSE CALIBRATION MEMORY BYTES) CONTROL LOGIC DATA-LOG MEMORY Figure Block Diagram Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T MASTER 1-Wire OTHER DEVICES DS1922L/DS1922T COMMAND LEVEL: AVAILABLE COMMANDS: READ MATCH SEARCH CONDITIONAL SEARCH SKIP RESUME OVERDRIVE-SKIP OVERDRIVE-MATCH DATA FIELD AFFECTED: 64-BIT ROM, RC-FLAG 64-BIT ROM, RC-FLAG 64-BIT ROM, RC-FLAG 64-BIT ROM, RC-FLAG, ALARM FLAGS, SEARCH CONDITIONS RC-FLAG RC-FLAG RC-FLAG, OD-FLAG 64-BIT ROM, RC-FLAG, OD-FLAG 1-Wire FUNCTION COMMANDS DS1922L/DS1922T-SPECIFIC MEMORY/CONTROL FUNCTION COMMANDS WRITE SCRATCHPAD READ SCRATCHPAD COPY SCRATCHPAD WITH READ MEMORY WITH CLEAR MEMORY WITH FORCED CONVERSION START MISSION WITH STOP MISSION WITH 256-BIT SCRATCHPAD, FLAGS 256-BIT SCRATCHPAD 512-BYTE DATA MEMORY, REGISTERS, FLAGS, PASSWORDS MEMORY, REGISTERS, PASSWORDS MISSION TIMESTAMP, MISSION SAMPLES COUNTER, START DELAY, ALARM FLAGS, PASSWORDS MEMORY ADDRESSES 020Ch 020Dh FLAGS, TIMESTAMP, MEMORY ADDRESSES 020Ch 020Dh (WHEN LOGGING) FLAGS Figure Hierarchical Structure 1-Wire Protocol 8-BIT CODE 48-BIT SERIAL NUMBER 8-BIT FAMILY CODE (41h) Figure 64-Bit Lasered POLYNOMIAL STAGE STAGE STAGE STAGE STAGE STAGE STAGE STAGE INPUT DATA Figure 1-Wire Generator Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Memory Figure shows DS1922L/DS1922T memory map. Pages contain bytes general-purpose SRAM. various registers control device fill pages called register pages (see Figure details). Pages provide storage space calibration data. They alternatively used extension generalpurpose memory. data-log logging memory starts address 1000h (page 128) extends over pages. memory pages reserved future extensions. scratchpad additional page that acts buffer when writing SRAM memory register pages. data memory written time. calibration memory holds data from device calibration that used further improve accuracy 11-bit temperature readings. Software Correction Algorithm Temperature section details. last byte calibration memory page stores 8-bit preceding bytes. Page exact copy data page While calibration memory overwritten user, this recommended. Security Password section ways protect memory. access type register pages register-specific depends whether device programmed mission. Figure shows details. data-log memory read only user. written solely under supervision on-chip control logic. special behavior write access logic (write scratchpad, copy scratchpad), recommended only write full pages time. This also applies register pages calibration memory. Address Registers Transfer Status section details. 32-BYTE INTERMEDIATE STORAGE SCRATCHPAD ADDRESS 0000h 001Fh 0020h 01FFh 0200h 021Fh 0220h 023Fh 0240h 025Fh 0260h 027Fh 0280h 0FFFh 1000h 2FFFh 32-BYTE GENERAL-PURPOSE SRAM (R/W) GENERAL-PURPOSE SRAM (R/W) 32-BYTE REGISTER PAGE 32-BYTE REGISTER PAGE CALIBRATION MEMORY PAGE (R/W) CALIBRATION MEMORY PAGE (R/W) (RESERVED FUTURE EXTENSIONS) DATA-LOG MEMORY (READ ONLY) PAGE PAGES PAGE PAGE PAGE PAGE PAGES PAGES Figure Memory Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T ADDRESS 0200h 0201h 0202h 0203h 0204h 0205h 0206h 0207h 0208h 0209h 020Ah 020Bh 020Ch 020Dh 020Eh 020Fh 0210h 0211h 0212h 0213h 0214h 0215h 0216h 0217h 0218h Byte CENT 12/24 Years Byte High Byte Threshold High Threshold Function with DS1922L/DS1922T) Function with DS1922L/DS1922T) High Byte Function with DS1922L/DS1922T) Function with DS1922L/DS1922T) SUTA WFTA MEMCLR TLFS ETHA EHSS ETLA EOSC Seconds Minutes Hour AM/PM Hour FUNCTION ACCESS* Single Seconds Single Minutes Single Hours Single Date Single Months Single Years Sample Rate Temperature Alarms Latest Temperature Temperature Alarm Enable Control Mission Control Alarm Status General Status Start Delay Counter RealTime Clock Registers Date Months Byte Center Byte High Byte *The left entry ACCESS column valid between missions. right entry shows applicable access type while mission progress. Figure Register Pages Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T ADDRESS 0219h 021Ah 021Bh 021Ch 021Dh 021Eh 021Fh 0220h 0221h 0222h 0223h 0224h 0225h 0226h 0227h 0228h 022Fh 0230h 0237h 0238h 023Fh Function; These Bytes Read 00h) CENT 12/24 Years Function; Reads 00h) Byte Center Byte High Byte Byte Center Byte High Byte Configuration Code First Byte Eighth Byte First Byte Eighth Byte Seconds Minutes Hour AM/PM Hour FUNCTION ACCESS* Single Seconds Single Minutes Single Hours Single Date Single Months Single Years Mission Samples Counter Device Samples Counter Flavor Control Read Access Password Full Access Password Mission Timestamp Date Months *The left entry ACCESS column valid between missions. right entry shows applicable access type while mission progress. Figure Register Pages (continued) Temperature Logger iButton with Data-Log Memory Detailed Register Descriptions Timekeeping Calendar calendar information accessed reading/writing appropriate bytes register page, address 0200h 0205h. readings valid, registers must read sequentially starting address 0200h. Some bits These bits always read regardless they written. number representation registers binary-coded decimal (BCD) format. DS1922L/DS1922T's either 12hr 24hr mode. Hours register (address 0202h) defined 12hr- 24hr-mode select bit. When high, 12hr mode selected. 12hr mode, AM/PM with logic being 24hr mode, 20hr (20hr 23hr). CENT bit, Months register, written user. This changes state when years counter transitions from calendar logic designed automatically compensate leap years. every year value that either multiple device adds 29th February. This works correctly (but including) year 2100. DS1922L/DS1922T Sample Rate content Sample Rate register (addresses 0206h, 0207h) specifies time elapse seconds EHSS minutes EHSS between temperature-logging events. sample rate value from 16,383, coded unsigned 14-bit binary number. EHSS shortest time between logging events longest (sample rate 3FFFh) 4.55hr. EHSS shortest 1min longest time 273.05hr (sample rate 3FFFh). EHSS located Control register address 0212h. important that user sets EHSS accordingly while setting Sample Rate register. Writing sample rate 0000h results sample rate 0001h, causing DS1922L/DS1922T temperature either every minute every second depending upon state EHSS bit. Registers Bitmap ADDRESS 0200h 0201h 0202h 0203h 0204h 0205h CENT 12/24 Years Seconds Minutes Hour AM/PM Hour Single Seconds Single Minutes Single Hours Single Date Single Months Single Years Date Months Note: During mission, there only read access these registers. cells marked always read cannot written Sample Rate Register Bitmap ADDRESS 0206h 0207h Sample Rate Sample Rate High Note: During mission, there only read access these registers. cells marked always read cannot written Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Temperature Conversion DS1922L's temperature range begins -40°C ends +85°C. temperature range DS1922T begins ends +125°C. Temperature values represented 8-bit 16-bit unsigned binary number with resolution 0.5°C 8-bit mode 0.0625°C 16-bit mode. higher temperature byte always valid. 16-bit mode, only three highest bits lower byte valid. five lower bits read undefined device 8-bit temperature mode. out-of-range temperature reading indicated 0000h when cold FFE0h when hot. With representing decimal equivalent temperature reading, temperature value calculated (°C) TRH/2 TRL/512 (16-bit mode, TLFS address 0213h) (°C) TRH/2 (8-bit mode, TLFS address 0213h) This equation valid converting temperature readings stored data-log memory well data read from Latest Temperature Conversion Result register. "-41" applies DS1922L. DS1922T, "-1" instead "-41." specify temperature alarm thresholds, previous equations resolved TALM (°C) "+82" applies DS1922L. DS1922T, "+2." Because temperature alarm threshold only byte, resolution temperature increment limited 0.5°C. TALM value must converted into hexadecimal format before written Temperature Alarm Threshold registers (Low Alarm address 0208h; High Alarm address 0209h). Independent conversion mode (8-bit 16-bit), only most significant byte temperature conversion used determine whether alarm generated. Latest Temperature Conversion Result Register Bitmap ADDRESS 020Ch 020Dh BYTE Table Temperature Conversion Examples MODE 8-Bit 8-Bit 16-Bit 16-Bit DECIMAL DECIMAL DS1922L -29.5 1.000 -29.3125 (°C) DS1922T 41.0 10.5 41.000 10.6875 Table Temperature Alarm Threshold Examples (°C) 65.5 30.0 TALM (DS1922T) DECIMAL (°C) 25.5 -10.0 TALM (DS1922L) DECIMAL Temperature Logger iButton with Data-Log Memory Temperature Sensor Control Register Bitmap ADDRESS 0210h ETHA ETLA DS1922L/DS1922T Note: During mission, there only read access this register. Bits have function. They always read cannot written Control Register Bitmap ADDRESS 0212h EHSS EOSC Note: During mission, there only read access this register. Bits have function. They always read cannot written Temperature Sensor Alarm DS1922L/DS1922T have Temperature Alarm Threshold registers (address 0208h, 0209h) store values that determine whether critical temperature been reached. temperature alarm generated device measures alarming temperature alarm signaling enabled. bits ETLA ETHA that enable temperature alarm located Temperature Sensor Control register. temperature alarm flags found Alarm Status register address 0214h. Enable Temperature High Alarm (ETHA). This controls whether, during mission, temperature high alarm flag (THF) set, temperature conversion results value equal higher than value Temperature High Alarm Threshold register. ETHA temperature high alarms enabled. ETHA temperature high alarms generated. Enable Temperature Alarm (ETLA). This controls whether, during mission, temperature alarm flag (TLF) set, temperature conversion results value equal lower than value Temperature Alarm Threshold register. ETLA temperature alarms enabled. ETLA temperature alarms generated. Control minimize power consumption DS1922L/ DS1922T, oscillator should turned when these devices use. oscillator on/off located Control register. This register also includes EHSS bit, which determines whether sample rate specified seconds minutes. Enable High-Speed Sample (EHSS). This controls speed sample rate counter. When logic sample rate specified minutes. When logic sample rate specified seconds. Enable Oscillator (EOSC). This controls crystal oscillator RTC. When logic oscillator starts. When written logic oscillator stops device low-power data-retention mode. This must normal operation. Forced Conversion Start Mission command automatically starts changing EOSC logic Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Mission Control Register Bitmap ADDRESS 0213h SUTA TLFS Note: During mission, there only read access this register. Bits have function. They always read cannot written Bits control functions that available with DS1922L/DS1922T. must Under this condition setting becomes "don't care." Mission Control DS1922L/DS1922T operation writing appropriate data special function registers, which located register pages. settings Mission Control register determine which format bits) applies whether data overwritten data once data-log memory full. additional control tell DS1922L/DS1922T wait with logging data until temperature alarm encountered. Start Mission Upon Temperature Alarm (SUTA). This specifies whether mission begins immediately (includes delayed start) temperature alarm required start mission. this device performs 8-bit temperature conversion selected sample rate begins with data logging only alarming temperature (high alarm alarm) found. first logged temperature when alarm occurred. However, mission sample counter does increment. This functionality guaranteed design production tested. Rollover Control (RO). This controls whether, during mission, data-log memory overwritten with data whether data logging stopped once data-log memory full. Setting this enables rollover data logging continues beginning, overwriting previously collected data. this logging conversions stop once data-log memory full. However, continues remains until Stop Mission command performed. Temperature Logging Format Selection (TLFS). This specifies format used store temperature readings data-log memory. this data stored 8-bit format. this 16-bit format used (higher resolution). With 16-bit format, most significant byte stored lower address. Enable Temperature Logging (ETL). device temperature-logging mission, this must logic recorded temperature values start address 1000h. Temperature Logger iButton with Data-Log Memory Alarm Status Register Bitmap ADDRESS 0214h DS1922L/DS1922T Note: There only read access this register. Bits have function. They always read Bits have function with DS1922L/DS1922T. They always read alarm status bits cleared simultaneously when Clear Memory Function invoked. Memory Control Functions section details. General Status Register Bitmap ADDRESS 0215h WFTA MEMCLR Note: There only read access this register. Bits have function. Alarm Status fastest determine whether programmed temperature threshold exceeded during mission reading Alarm Status register. networked environment that contains multiple DS1922L/ DS1922T iButtons, devices that encountered alarm quickly identified means Conditional Search command (see 1-Wire Function Commands section). temperature alarm only occurs enabled (see Temperature Sensor Alarm section). alarm always enabled. Battery-On Reset Alarm (BOR). this reads device performed power-on reset. This indicates that device experienced shock enough interrupt internal battery power supply. device still appear functional, lost factory calibration. data found data-log memory should disregarded. Temperature High Alarm Flag (THF). this reads there least temperature conversion during mission revealing temperature equal higher than value Temperature High Alarm register. forced conversion affect bit. This also with initial alarm SUTA mode. Temperature Alarm Flag (TLF). this reads there least temperature conversion during mission revealing temperature equal lower than value Temperature Alarm register. forced conversion affect bit. This also with initial alarm SUTA mode. General Status information General Status register tells host computer whether mission-related command executed successfully. Individual status bits indicate whether DS1922L/DS1922T performing mission, waiting temperature alarm trigger logging data, whether data from latest mission been cleared. Waiting Temperature Alarm (WFTA). this reads Mission Start Upon Temperature Alarm selected Start Mission command successfully executed, device experienced temperature alarm. This cleared after temperature alarm event, affected Clear Memory command. Once set, WFTA remains mission stopped before temperature alarm occurs. clear WFTA manually before starting mission, high temperature alarm (address 0209h) -40°C perform forced conversion. Memory Cleared (MEMCLR). this reads Mission Timestamp, Mission Samples Counter, alarm flags Alarm Status register have been cleared preparation mission. Executing Clear Memory command clears these memory sections. MEMCLR returns soon mission started using Start Mission command. memory must cleared mission start. Mission Progress (MIP). this reads device been mission this mission still progress. returns from logic logic when mission ended. Start Mission with Password Stop Mission with Password sections. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Mission Start Delay Counter Register Bitmap ADDRESS 0216h 0217h 0218h Delay Byte Delay Center Byte Delay High Byte Note: During mission, there only read access this register. Mission Timestamp Register Bitmap ADDRESS 0219h 021Ah 021Bh 021Ch 021Dh 021Eh CENT 12/24 Years Seconds Minutes Hours AM/PM Hours Single Seconds Single Minutes Single Hours Single Date Single Months Single Years Date Months Note: There only read access this register. Mission Samples Counter Register Bitmap ADDRESS 0220h 0221h 0222h Byte Center Byte High Byte Note: There only read access this register. Mission Start Delay content Mission Start Delay Counter register tells many minutes must expire from time mission started until first measurement mission takes place (SUTA until device starts testing temperature temperature alarm (SUTA Mission Start Delay stored unsigned 24-bit integer number. maximum delay 16,777,215min, equivalent 11,650 days roughly years. start delay nonzero SUTA first delay must expire before device starts testing temperature alarms begin logging data. typical mission, Mission Start Delay mission long single DS1922L/DS1922T store readings selected sample rate, several devices Mission Start Delay second device start recording soon memory first device full, Mission Control register (address 0213h) must prevent overwriting collected data once data-log memory full. Mission Timestamp Mission Timestamp register indicates date time first temperature sample mission. There only read access Mission Timestamp register. Mission Progress Indicator Depending settings Mission Control register (address 0213h), DS1922L/DS1922T temperature 8-bit 16-bit format. Mission Samples Counter together with starting address logging format bits) provide information identify valid blocks data that have been gathered during current (MIP latest mission (MIP Data-Log Memory Usage section illustration. number read from Mission Samples Counter indicates often DS1922L/DS1922T woke during mission measure temperature. number format 24-bit unsigned integer. Mission Samples Counter reset through Clear Memory command. Temperature Logger iButton with Data-Log Memory Device Samples Counter Register Bitmap ADDRESS 0223h 0224h 0225h Byte Center Byte High Byte DS1922L/DS1922T Note: There only read access this register. Device Configuration Register Bitmap ADDRESS 0226h PART DS2422 DS1923 DS1922L DS1922T DS1922E Note: There only read access this register. Password Control Register Bitmap ADDRESS 0227h Note: During mission, there only read access this register. Other Indicators Device Samples Counter register similar Mission Samples Counter register. During mission this counter increments whenever DS1922L/DS1922T wake measure data when these devices testing temperature alarm SUTA mode. Between missions, counter increments whenever Forced Conversion command executed. This Device Samples Counter register functions like gauge battery that powers iButton. Device Samples Counter register reset zero when iButton assembled. counter increments couple times during final test. number format 24-bit unsigned integer. maximum number that represented this format 16,777,215. code Device Configuration register allows master distinguish between DS2422 chip different versions DS1922 iButtons. Device Configuration Register table shows codes assigned various devices. Security Password DS1922L/DS1922T designed passwords that control read access full access. Reading from writing scratchpad well Forced Conversion command does require password. password must transmitted immediately after command code memory control function. password checking enabled, password transmitted compared passwords stored device. data pattern stored Password Control register determines whether password checking enabled. enable password checking, bits need form binary pattern 10101010 (AAh). default pattern different from AAh. pattern different from AAh, pattern accepted long length exactly bits. Once enabled, changing passwords disabling password checking requires knowledge current fullaccess password. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Read Access Password Register Bitmap ADDRESS 0228h 0229h 022Eh 022Fh RP55 RP63 RP54 RP62 RP53 RP61 RP52 RP60 RP15 RP14 RP13 RP12 RP51 RP59 RP50 RP58 RP49 RP57 RP48 RP56 RP11 RP10 Note: There only write access this register. Attempting read password reports zeros. password cannot changed while mission progress. Full Access Password Register Bitmap ADDRESS 0230h 0231h 0236h 0237h FP55 FP63 FP54 FP62 FP53 FP61 FP52 FP60 FP15 FP14 FP13 FP12 FP51 FP59 FP50 FP58 FP49 FP57 FP48 FP56 FP11 FP10 Note: There only write access this register. Attempting read password reports zeros. password cannot changed while mission progress. Before enabling password checking, passwords read-only access well full access (read/write/control) must written password registers. Setting password enabling/disabling password checking done same writing data memory location; only address different. Since they located same memory page, both passwords redefined same time. Read Access Password must transmitted exactly sequence RP0, RP1.RP62, RP63. This password only applies Read Memory with function. DS1922L/DS1922T deliver requested data only password transmitted master correct password checking enabled. full-access password must transmitted exactly sequence FP0, FP1.FP62, FP63. affects functions Read Memory with CRC, Copy Scratchpad, Clear Memory, Start Mission, Stop Mission. DS1922L/DS1922T execute command only password transmitted master correct password checking enabled. special behavior write-access logic, Password Control register both passwords must written same time. When setting passwords, always verify (read back) scratchpad before sending Copy Scratchpad command. After password successfully copied from scratchpad memory location, erase scratchpad filling with data (Write Scratchpad command). Otherwise, copy passwords remains scratchpad public read access. Temperature Logger iButton with Data-Log Memory TLFS 1000h TLFS 1000h WITH 16-BIT FORMAT, MOST SIGNIFICANT BYTE STORED LOWER ADDRESS. 8192 8-BIT ENTRIES TEMPERATURE 4096 16-BIT ENTRIES TEMPERATURE 2FFFh 2FFFh Figure Temperature Logging Data-Log Memory Usage Once mission, DS1922L/DS1922T temperature measurements equidistant time points entry after entry their data-log memory. data-log memory store 8192 entries 8-bit format 4096 entries 16-bit format (Figure 16-bit format, higher bits entry stored lower address. Knowing starting time point (Mission Timestamp) interval between temperature measurements, reconstruct time date each measurement. There alternatives DS1922L/ DS1922T behave after data-log memory filled with data. user program device either stop further recording (disable rollover) overwrite previously recorded data (enable rollover), entry time, starting again beginning respective memory section. contents Mission Samples Counter conjunction with sample rate Mission Timestamp allow reconstructing time points values stored data-log memory. This gives exact history over time most recent measurements taken. Earlier measurements cannot reconstructed. Missioning typical task DS1922L/DS1922T iButtons recording temperature. Before devices perform this function, they need properly. This procedure called missioning. First, DS1922L/DS1922T must have their valid time date. This reference time local time, when used inside mobile unit, (also called GMT, Greenwich Mean Time), other time standard that agreed upon. oscillator must running (EOSC memory assigned store Mission Timestamp, Mission Samples Counter, alarm flags must cleared using Memory Clear command. enable device mission, must These general settings that must made case, regardless type object monitored duration mission. alarm signaling desired, temperature alarm high thresholds must defined. Temperature Conversion section convert temperature value into binary code written threshold registers. addition, temperature alarm must enabled and/or high threshold. This makes device respond Conditional Search command (see 1-Wire Function Commands section), provided that alarming condition been encountered. setting (rollover enable) sample rate depends duration mission monitoring requirements. most recently logged data important, rollover should enabled Otherwise, should estimate duration mission minutes divide number 8192 (8-bit format) 4096 (16-bit format) calculate value sample rate (number minutes between conversions). example, estimated duration mission days 14400min), 8192-byte capacity data-log memory would sufficient store 8-bit value every 1.8min (110s). DS1922L/DS1922T's data-log memories large enough store readings, several devices Mission Start Delay values that make second device start logging soon memory first device full, must disable rollover that would otherwise overwrite logged data. After Mission Start Delay set, sample rate must written Sample Rate register. sample rate value from 16,383, coded unsigned 14-bit binary number. fastest sample rate sample second (EHSS sample rate 0001h) slowest sample every 273.05hr (EHSS sample rate 3FFFh). sample every 6min, example, sample rate value must (EHSS decimal (equivalent 0168h EHSS there risk unauthorized access DS1922L/ DS1922T manipulation data, should define passwords read access full access. Before passwords become effective, their must enabled. Security Password section more details. DS1922L/DS1922T Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T last step begin mission issue Start Mission command. soon they have received this command, DS1922L/DS1922T flag clear MEMCLR flag. With immediate/delayed start mode (SUTA after many minutes specified Mission Start Delay over, device wakes copies current date time Mission Timestamp register, logs first entry mission. This increments both Mission Samples Counter Device Samples Counter. subsequent entries made specified value Sample Rate register EHSS bit. start upon temperature alarm mode chosen (SUTA temperature logging enabled (ETL DS1922L/DS1922T first wait until start delay over. Then device wakes intervals specified sample rate EHSS measures temperature. This increments Device Samples Counter register only. first sample mission logged when temperature alarm occurred. However, Mission Sample Counter does increment. sample period later Mission Timestamp register set. From then both Mission Samples Counter Device Samples Counter registers increment same time. subsequent entries made specified value Sample Rate register EHSS bit. general-purpose memory operates independently other memory sections write protected during mission. DS1922L/DS1922T's memory read time, e.g., watch progress mission. Attempts read passwords read bytes instead data that stored password registers. Memory Access Address Registers Transfer Status Because serial data transfer, DS1922L/ DS1922T employ three address registers called TA1, TA2, (Figure Registers must loaded with target address which data written from which data sent master upon Read command. Register acts like byte counter Transfer Status register. used verify data integrity with Write commands. Therefore, master only read access this register. lower bits register indicate address last byte that been written scratchpad. This address called ending offset. DS1922L/DS1922T require that ending offset always Copy Scratchpad command function. register, called partial byte flag, number data bits sent master integer multiple always Note that lowest bits target address also determine address within scratchpad, where intermediate storage data begins. This address called byte offset. target address Write command 13Ch, example, scratchpad stores incoming data beginning byte offset full after only bytes. NUMBER TARGET ADDRESS (TA1) TARGET ADDRESS (TA2) ENDING ADDRESS WITH DATA STATUS (E/S) (READ ONLY) Figure Address Registers Temperature Logger iButton with Data-Log Memory corresponding ending offset this example 1Fh. best economy speed efficiency, target address writing should point beginning page, i.e., byte offset Thus, full 32-byte capacity scratchpad available, resulting also ending offset 1Fh. ending offset together with flag means support master checking data integrity after Write command. highest valued register, called authorization accepted (AA), indicates that valid Copy command scratchpad been received executed. Writing data scratchpad clears this flag. Memory Control Function Commands Figure shows protocols necessary accessing memory special function registers DS1922L/DS1922T. example these other functions DS1922L/DS1922T mission included Mission Example: Prepare Start Mission section. communication between master DS1922L/DS1922T takes place either standard speed (default, overdrive speed explicitly into overdrive mode DS1922L/DS1922T assume standard speed. Internal memory access during mission priority over external access through 1-Wire interface. This affects several commands this section. Memory Access Conflicts section details solutions. DS1922L/DS1922T Writing with Verification write data DS1922L/DS1922T, scratchpad must used intermediate storage. First, master issues Write Scratchpad command specify desired target address, followed data written scratchpad. next step, master sends Read Scratchpad command read scratchpad verify data integrity. preamble scratchpad data, DS1922L/DS1922T send requested target address contents register. flag set, data arrive correctly scratchpad. master does need continue reading; start trial write data scratchpad. Similarly, flag indicates that Write command recognized device. everything went correctly, both flags cleared ending offset indicates address last byte written scratchpad. master continue verifying every data bit. After master verified data, must send Copy Scratchpad command. This command must followed exactly data three address registers TA1, TA2, E/S, master read them verifying scratchpad. soon DS1922L/DS1922T have received these bytes, they copy data requested location beginning target address. Write Scratchpad [0Fh] After issuing Write Scratchpad command, master must first provide 2-byte target address, followed data written scratchpad. data written scratchpad starting byte offset T[4:0]. master must send many bytes needed reach ending offset 1Fh. data byte incomplete, content ignored partial byte flag set. When executing Write Scratchpad command, generator inside DS1922L/DS1922T calculates entire data stream, starting command code ending last data byte sent master (Figure 15). This generated using CRC-16 polynomial first clearing generator then shifting command code (0Fh) Write Scratchpad command, target addresses supplied master, data bytes. ending offset 11111b, master send read time slots receive inverted CRC16 generated DS1922L/DS1922T. Note that both register pages write protected during mission. Although Write Scratchpad command works normally time, subsequent copy scratchpad register page fails during mission. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Read Scratchpad [AAh] This command used verify scratchpad data target address. After issuing Read Scratchpad command, master begins reading. first bytes target address. next byte ending offset/data status byte (E/S) followed scratchpad data beginning byte offset T[4:0], shown Figure master continue reading data until scratchpad after which receives inverted CRC-16 command code, target addresses TA2, byte, scratchpad data starting target address. After read, master reads logic from DS1922L/DS1922T until reset pulse issued. progress, write attempts register pages successful. remaining indicates this. Read Memory with Password [69h] Read Memory with command general function read from device. This command generates transmits 16-bit following last data byte memory page. After having sent command code Read Memory with command, master sends 2-byte address that indicates starting byte location. Next, master must transmit 64-bit passwords. passwords enabled transmitted password does match stored passwords, Read Memory with Password command fails. device stops communicating waits reset pulse. password correct passwords were enabled, master reads data from DS1922L/DS1922T beginning from starting address continuing until 32-byte page reached. that point master sends additional read-data time slots receives inverted 16bit CRC. With subsequent read-data time slots master receives data starting beginning next memory page followed again that page. This sequence continues until master resets device. When trying read passwords memory areas that marked "reserved," DS1922L/DS1922T transmit bytes, respectively. 32-byte memory page based data transmitted. With initial pass through read memory with flow, 16-bit value result shifting command byte into cleared generator followed address bytes contents data memory. Subsequent passes through read memory with flow generate 16-bit that result clearing generator then shifting contents data memory page. After 16-bit last page read, master receives logic from DS1922L/DS1922T until reset pulse issued. Read Memory with command sequence ended point issuing reset pulse. Copy Scratchpad with Password [99h] This command used copy data from scratchpad writable memory sections. After issuing Copy Scratchpad command, master must provide 3-byte authorization pattern, which obtained reading scratchpad verification. This pattern must exactly match data contained three address registers (TA1, TA2, E/S, that order). Next, master must transmit 64-bit full-access password. passwords enabled transmitted password different from stored full-access password, Copy Scratchpad with Password command fails. device stops communicating waits reset pulse. password correct passwords were enabled, device tests 3-byte authorization code. authorization code pattern matches, flag copy begins. pattern alternating transmitted after data been copied until master issues reset pulse. While copy progress, attempt reset part ignored. Copy typically takes byte. data copied determined three address registers. scratchpad data from beginning offset through ending offset copied, starting target address. flag remains logic until cleared next Write Scratchpad command. With suitable password, copy scratchpad always functions pages data memory pages calibration memory. While mission Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T MASTER MEMORY CONTROL FUNCTION COMMAND FROM FUNCTIONS FLOWCHART (FIGURE WRITE SCRATCHPAD? MASTER [T7:T0] READ SCRATCHPAD? MASTER [T7:T0] COPY SCRATCHPAD [WITH MASTER [T7:T0], [T15:T8] FIGURE AUTHORIZATION CODE MASTER [T15:T8] MASTER [T15:T8] MASTER BYTE DS1922 SETS SCRATCHPAD OFFSET [T4:T0] CLEARS (PF, MASTER ENDING OFFSET WITH DATA STATUS (E/S) MASTER BITS [PASSWORD] MASTER DATA BYTE SCRATCHPAD OFFSET DS1922 SETS SCRATCHPAD OFFSET [T4:T0] PASSWORD ACCEPTED? DS1922 INCREMENTS SCRATCHPAD OFFSET DS1922 SETS [E4:E0] SCRATCHPAD OFFSET DS1922 INCREMENTS SCRATCHPAD OFFSET MASTER DATA BYTE FROM SCRATCHPAD OFFSET AUTHORIZATION CODE MATCH? MASTER RESET? MASTER RESET? SCRATCHPAD OFFSET 11111b? PARTIAL BYTE WRITTEN? SCRATCHPAD OFFSET 11111b? MASTER CRC-16 COMMAND, ADDRESS DATA, BYTE, DATA STARTING TARGET ADDRESS MASTER "1"s DS1922 COPIES SCRATCHPAD DATA MEMORY MASTER "1"s COPYING FINISHED DS1922 MASTER RESET? MASTER RESET? MASTER CRC-16 COMMAND, ADDRESS DATA MASTER RESET? MASTER RESET? MASTER "1"s MASTER "1"s MASTER RESET? DS1922 MASTER RESET? FROM FIGURE FUNCTIONS FLOWCHART (FIGURE Figure Memory/Control Function Flowchart Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T FROM FIGURE READ MEMORY [WITH MASTER [T7:T0], [T15:T8] CLEAR MEMORY [WITH MASTER BITS [PASSWORD] FORCED CONVERSION? MASTER DUMMY BYTE FIGURE DECISION MADE DS1922 MASTER BITS [PASSWORD] MASTER DUMMY BYTE MISSION PROGRESS? PASSWORD ACCEPTED? DECISION MADE MASTER DS1922 SETS MEMORY ADDRESS [T15:T0] PASSWORD ACCEPTED? DS1922 PERFORMS TEMPERATURE CONVERSION MISSION PROGRESS? DS1922 COPIES RESULT ADDRESS 020C/Dh MASTER DATA BYTE FROM MEMORY ADDRESS DS1922 CLEARS MISSION TIMESTAMP, MISSION SAMPLES COUNTER, ALARM FLAGS MASTER RESET? MASTER RESET? DS1922 INCREMENTS ADDRESS COUNTER DS1922 SETS MEMCLR MASTER RESET? PAGE? MASTER CRC-16 COMMAND, ADDRESS, DATA (1ST PASS); CRC-16 DATA (SUBSEQUENT PASSES) MASTER RESET MEMORY? MASTER "1"s MASTER RESET? FIGURE FROM FIGURE Figure Memory/Control Function Flowchart (continued) Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T FROM FIGURE START MISSION [WITH MASTER BITS [PASSWORD] MISSION START DELAY PROCESS STOP MISSION [WITH MASTER BITS [PASSWORD] START DELAY COUNTER MASTER DUMMY BYTE MASTER DUMMY BYTE DS1922 WAITS MINUTE PASSWORD ACCEPTED? DS1922 DECREMENTS START DELAY COUNTER PASSWORD ACCEPTED? MISSION PROGRESS? SUTA DS1922 SETS WFTA MISSION PROGRESS? DS1922 SETS WFTA MEMCLR DS1922 SETS MEMCLR DS1922 WAITS SAMPLE PERIOD MASTER RESET? DS1922 INITIATES MISSION START DELAY PROCESS DS1922 PERFORMS 8-BIT TEMPERATURE CONVERSION MASTER RESET? TEMPERATURE ALARM? DS1922 SETS WFTA DS1922 WAITS SAMPLE PERIOD DS1922 COPIES DATA MISSION TIMESTAMP REGISTER DS1922 STARTS LOGGING TAKING FIRST SAMPLE PROCESS FIGURE Figure Memory/Control Function Flowchart (continued) Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Clear Memory with Password [96h] Clear Memory with Password command used prepare device another mission. This command only executed mission progress. After command code master must transmit 64-bit fullaccess password followed dummy byte. passwords enabled transmitted password different from stored full-access password mission progress, Clear Memory with Password command fails. device stops communicating waits reset pulse. password correct passwords were enabled, device clears Mission Timestamp register, Mission Samples Counter register, alarm flags Alarm Status register. After these cells cleared, MEMCLR General Status register reads indicate successful execution Clear Memory with Password command. Clearing data-log memory necessary because Mission Samples Counter indicates many entries data-log memory valid. Start Mission with Password [CCh] DS1922L/DS1922T control function command start mission. mission only started previous mission been ended memory been cleared. After command code, master must transmit 64-bit full-access password followed dummy byte. passwords enabled transmitted password different from stored full-access password mission progress, Start Mission with Password command fails. device stops communicating waits reset pulse. password correct passwords were enabled, device starts mission. SUTA sampling begins soon Mission Start Delay over. SUTA first sample written data-log memory time temperature alarm occurred. However, Mission Sample Counter does increment. sample period later, Mission Timestamp register regular sampling logging begins. While device waiting temperature alarm occur, WFTA flag General Status register reads During mission there only read access register pages. Forced Conversion [55h] Forced Conversion command used measure temperature without starting mission. After command code, master must send byte conversion started. conversion result found 16-bit value Latest Temperature Conversion Result register. This command only executed mission progress (MIP cannot interrupted takes maximum 600ms complete. During this time memory access through 1-Wire interface blocked. device behaves same during mission when sampling interferes with memory/control function command. Memory Access Conflicts section details. Stop Mission with Password [33h] DS1922L/DS1922T control function command stop mission. Only mission that progress stopped. After command code, master must transmit 64-bit full-access password followed dummy byte. passwords enabled transmitted password different from stored full-access password mission progress, Stop Mission with Password command fails. device stops communicating waits reset pulse. password correct passwords were enabled, device clears General Status register restores write access register pages. WFTA cleared. description General Status register method clear WFTA bit. Temperature Logger iButton with Data-Log Memory Memory Access Conflicts While mission progress while device waiting temperature alarm start mission, periodically temperature sample taken logged. This "internal activity" priority over 1-Wire communication. consequence, device-specific commands (excluding function commands 1-Wire reset) perform properly when internal "external" activities interfere with each other. affected Start Mission, Forced Conversion, Clear Memory commands, because they applicable while mission progress while device waiting temperature alarm. Table explains remaining five commands affected internal activity, detect this interference, work around interference more likely seen with highsample rate (one sample every second) with highresolution logging, which last 600ms. With lower sample rates, interference hardly visible all. case, when writing driver software important know about possibility interference take measures work around DS1922L/DS1922T Table Memory Access Conflicts Solutions COMMAND INDICATION INTERFERENCE SOLUTION Wait 0.5s, 1-Wire reset, address device, repeat Write Scratchpad with same data, check validity CRC-16 command flow. Alternatively, Read Scratchpad verify data integrity. Wait 0.5s, 1-Wire reset, address device, repeat Read Scratchpad, check validity CRC-16 command flow. Wait 0.5s, 1-Wire reset, address device, issue Read Scratchpad, check byte. set, Copy Scratchpad successful. Wait 0.5s, 1-Wire reset, address device, repeat Read Memory with CRC, check validity CRC-16 memory page. Wait 0.5s, 1-Wire reset, address device, repeat Stop Mission. Perform 1-Wire reset, address device, read General Status register address 0215h, check bit. Stop Mission successful. Write Scratchpad CRC-16 command flow reads FFFFh. Read Scratchpad data read changes bytes bytes received FFh, including command flow. device behaves authorization code password valid copy function would end. Copy Scratchpad data read changes bytes bytes Read Memory with received FFh, including command flow, despite valid password. Stop Mission General Status register address 0215h reads while bits Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T 1-Wire System 1-Wire system that single master more slaves. instances DS1922L/DS1922T slave devices. master typically microcontroller. discussion this system broken down into three topics: hardware configuration, transaction sequence, 1-Wire signaling (signal types timing). 1-Wire protocol defines transactions terms state during specific time slots that initiated falling edge sync pulses from master. resistor primarily depends network size load conditions. DS1922L/DS1922T require pullup resistor maximum 2.2k speed. idle state 1-Wire high. reason transaction needs suspended, must left idle state transaction resume. this does occur left more than 16µs (overdrive speed) more than 120µs (standard speed), more devices reset. Note that DS1922L/DS1922T quite meet full 16µs maximum time normal 1-Wire overdrive timing. With DS1922L/ DS1922T, must left longer than 12µs overdrive ensure that DS1922L/DS1922T 1-Wire performs reset. DS1922L/ DS1922T communicate properly when used conjunction with DS2480B DS2490 1-Wire driver adapters that based these driver chips. Hardware Configuration 1-Wire only single line definition; important that each device able drive appropriate time. facilitate this, each device attached 1-Wire must have open-drain three-state outputs. 1-Wire port DS1922L/ DS1922T open drain with internal circuit equivalent that shown Figure multidrop consists 1-Wire with multiple slaves attached. standard speed 1-Wire maximum data rate 16.3kbps. speed boosted 142kbps activating overdrive mode. DS1922L/DS1922T guaranteed fully compliant iButton standard. Their maximum data rate standard speed 15.4kbps 125kbps overdrive speed. value pullup Transaction Sequence protocol accessing DS1922L/DS1922T through 1-Wire port follows: Initialization Function Command Memory/Control Function Command Transaction/Data VPUP MASTER RPUP DATA DS1922L/DS1922T 1-Wire PORT RECEIVE TRANSMIT OPEN-DRAIN PORT MOSFET Figure Hardware Configuration Temperature Logger iButton with Data-Log Memory Initialization transactions 1-Wire begin with initialization sequence. initialization sequence consists reset pulse transmitted master followed presence pulse(s) transmitted slave(s). presence pulse lets master know that DS1922L/DS1922T ready operate. more details, 1-Wire Signaling section. process elimination identify registration numbers slave devices. each registration number, starting with least significant bit, master issues triplet time slots. first slot, each slave device participating search outputs true value registration number bit. second slot, each slave device participating search outputs complemented value registration number bit. third slot, master writes true value selected. slave devices that match written master stop participating search. both read bits zero, master knows that slave devices exist with both states bit. choosing which state write, master branches code tree. After complete pass, master knows registration number single device. Additional passes identify registration numbers remaining devices. Refer Application Note 187: 1-Wire Search Algorithm detailed discussion, including example. DS1922L/DS1922T 1-Wire Function Commands Once master detected presence, issue eight function commands that DS1922L/DS1922T support. function commands bits long. list these commands follows (see flowchart Figure 11). Read [33h] This command allows master read DS1922L/DS1922T's 8-bit family code, unique 48-bit serial number, 8-bit CRC. This command only used there single slave bus. more than slave present bus, data collision occurs when slaves transmit same time (open drain produces wired-AND result). resultant family code 48-bit serial number results mismatch CRC. Conditional Search [ECh] Conditional Search command operates similarly Search command except that only those devices that fulfill certain conditions participate search. This function provides efficient means master identify devices multidrop system that have signal important event. After each pass conditional search that successfully determined 64-bit code specific device multidrop bus, that particular device individually accessed Match been issued, since other devices have dropped search process waiting reset pulse. DS1922L/DS1922T respond conditional search command three alarm flags Alarm Status register (address 0214h) reads temperature alarm only occurs enabled (see Temperature Sensor Alarm section). alarm always enabled. first alarm that occurs makes device respond Conditional Search command. Match [55h] Match command, followed 64-bit sequence, allows master address specific DS1922L/DS1922T multidrop bus. Only DS1922L/DS1922T that exactly matches 64-bit sequence responds following memory function command. other slaves wait reset pulse. This command used with single device multiple devices bus. Search [F0h] When system initially brought master might know number devices 1-Wire their registration numbers. taking advantage wired-AND property bus, master Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Skip [CCh] This command save time single-drop system allowing master access memory functions without providing 64-bit code. example, more than slave present read command issued following Skip command, data collision occurs multiple slaves transmit simultaneously (open-drain pulldowns produce wired-AND result). command sets DS1922L/DS1922T overdrive mode communication following this command must occur overdrive speed until reset pulse minimum 690µs duration resets devices standard speed When issued multidrop bus, this command sets overdrive-supporting devices into overdrive mode. subsequently address specific overdrive-supporting device, reset pulse overdrive speed must issued followed Match Search command sequence. This speeds time search process. more than slave supporting overdrive present Overdrive-Skip command followed read command, data collision occurs multiple slaves transmit simultaneously (open-drain pulldowns produce wiredAND result). Resume [A5h] DS1922L/DS1922T must accessed several times before mission starts. multidrop environment this means that 64-bit code after Match command must repeated every access. maximize data throughput multidrop environment, Resume command implemented. This command checks status and, set, directly transfers control memory/control functions, similar Skip command. only through successfully executing Match ROM, Search ROM, Overdrive-Match command. Once set, device repeatedly accessed through Resume command function. Accessing another device clears bit, preventing more devices from simultaneously responding Resume command. Overdrive-Match [69h] Overdrive-Match command followed 64-bit sequence transmitted overdrive speed allows master address specific DS1922L/ DS1922T multidrop simultaneously overdrive mode. Only DS1922L/DS1922T that exactly matches 64-bit sequence respond subsequent memory/control function command. Slaves already overdrive mode from previous Overdrive-Skip successful Overdrive-Match command remain overdrive mode. overdrive-capable slaves return standard speed next reset pulse minimum 690µs duration. Overdrive-Match command used with single multiple devices bus. Overdrive-Skip [3Ch] single-drop this command save time allowing master access memory/control functions without providing 64-bit code. Unlike normal Skip command, Overdrive-Skip Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T MASTER RESET PULSE FROM MEMORY/CONTROL FUNCTION FLOWCHART (FIGURE RESET PULSE? FROM FIGURE MASTER FUNCTION COMMAND DS1922 PRESENCE PULSE READ COMMAND? MATCH COMMAND? SEARCH COMMAND? CONDITIONAL SEARCH COMMAND? FIGURE CONDITION MET? DS1922 FAMILY CODE BYTE) DS1922 MASTER DS1922 MASTER DS1922 DS1922 MASTER MATCH? MATCH? MATCH? DS1922 SERIAL NUMBER BYTES) DS1922 DS1922 DS1922 MASTER MASTER DS1922 MASTER MATCH? MATCH? DS1922 MATCH? DS1922 DS1922 MASTER DS1922 BYTE MASTER DS1922 MASTER MATCH? MATCH? MATCH? FIGURE FROM FIGURE MEMORY/CONTROL FUNCTION FLOWCHART (FIGURE Figure 11a. Functions Flowchart Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T FIGURE FROM FIGURE SKIP COMMAND? RESUME COMMAND? OVERDRIVESKIP ROM? OVERDRIVEMATCH ROM? MASTER RESET? MASTER (SEE NOTE) MASTER RESET? MATCH? MASTER (SEE NOTE) MATCH? MASTER (SEE NOTE) MATCH? FROM FIGURE FIGURE NOTE: FLAG REMAINS DEVICE ALREADY OVERDRIVE SPEED BEFORE OVERDRIVE-MATCH COMMAND ISSUED. Figure 11b. Functions Flowchart (continued) Temperature Logger iButton with Data-Log Memory 1-Wire Signaling DS1922L/DS1922T require strict protocols ensure data integrity. protocol consists four types signaling line: reset sequence with reset pulse presence pulse, write-zero, write-one, read-data. Except presence pulse, master initiates these signals. DS1922L/DS1922T communicate different speeds: standard speed overdrive speed. explicitly into overdrive mode, DS1922L/DS1922T communicate standard speed. While overdrive mode fast timing applies waveforms. from idle active, voltage 1-Wire line needs fall from VPUP below threshold VTL. from active idle, voltage needs rise from VILMAX past threshold VTH. time takes voltage make this rise seen Figure duration depends pullup resistor (RPUP) used capacitance 1-Wire network attached. voltage ILMAX relevant DS1922L/ DS1922T when determining logical level, triggering events. initialization sequence required begin communication with DS1922L/DS1922T shown Figure reset pulse followed presence pulse indicates DS1922L/DS1922T ready receive data, given correct memory function command. master uses slew-rate control falling edge, must pull down line tRSTL compensate edge. tRSTL duration 690µs longer exits overdrive mode, returning device standard speed. DS1922L/DS1922T overdrive mode tRSTL longer than 80µs, device remains overdrive mode. After master released line, goes into receive mode (Rx). 1-Wire pulled VPUP through pullup resistor case DS2480B driver, through active circuitry. When threshold crossed, DS1922L/DS1922T wait tPDH then transmit presence pulse pulling line tPDL. detect presence pulse, master must test logical state 1-Wire line tMSP. tRSTH window must least tPDHMAX, PDLMAX RECMIN Immediately after RSTH expired, DS1922L/DS1922T ready data communication. mixed population network, RSTH should extended minimum 480µs standard speed 48µs overdrive speed accommodate other 1-Wire devices. DS1922L/DS1922T Read/Write Time Slots Data communication with DS1922L/DS1922T takes place time slots that carry single each. Write time slots transport data from master slave. Read time slots transfer data from slave master. definitions write read time slots illustrated Figure communication begins with master pulling data line low. voltage 1-Wire line falls below threshold VTL, DS1922L/DS1922T start their internal timing generator that determines when data line sampled during write time slot long data valid during read time slot. MASTER "RESET PULSE" VPUP VIHMASTER VILMAX tRSTL tMSP MASTER "PRESENCE PULSE" tPDH tPDL tRSTH tREC RESISTOR MASTER DS1922L/DS1922T Figure Initialization Procedure: Reset Presence Pulse Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Master-to-Slave write-one time slot, voltage data line must have crossed threshold before write-one time tW1LMAX expired. write-zero time slot, voltage data line must stay below threshold until write-zero time tW0LMIN expired. voltage data line should exceed VILMAX during entire tW0L tW1L window. After threshold been crossed, DS1922L/DS1922T need recovery time tREC before they ready next time slot. Slave-to-Master read-data time slot begins like write-one time slot. voltage data line must remain below until read time expired. During window, when responding with DS1922L/ DS1922T start pulling data line low; their internal timing generator determines when this pulldown ends voltage starts rising again. When responding with DS1922L/DS1922T hold data line all, voltage starts rising soon over. (rise time) side internal timing generator DS1922L/DS1922T other side define master sampling window (tMSRMIN tMSRMAX) which master must perform read from data line. most reliable communication, should short permissible master should read close later than tMSRMAX. After reading from data line, master must wait until tSLOT expired. This guarantees sufficient recovery time tREC DS1922L/DS1922T ready next time slot. line. Noise coupled onto 1-Wire line from external sources also result signal glitching. glitch during rising edge time slot cause slave device lose synchronization with master and, consequence, result search command coming dead cause device-specific function command abort. better performance network applications, DS1922L/DS1922T 1-Wire front-end, which makes them less sensitive noise also reduces magnitude noise injected slave device itself. DS1922L/DS1922T's 1-Wire front-end differs from traditional slave devices four characteristics: falling edge presence pulse controlled slew rate. This provides better match line impedance than digitally switched transistor, converting high-frequency ringing known from traditional devices into smoother low-bandwidth transition. slew-rate control specified parameter tFPD, which different values standard overdrive speed. There additional lowpass filtering circuit that detects falling edge beginning time slot. This reduces sensitivity high-frequency noise. This additional filtering does apply overdrive speed. There hysteresis low-to-high switching threshold VTH. negative glitch crosses does below VHY, recognized (Figure Case hysteresis effective 1-Wire speed. There time window specified rising edge hold-off time tREH during which glitches ignored, even they extend below threshold (Figure Case Deep voltage droops glitches that appear late after crossing threshold extend beyond tREH window cannot filtered taken beginning time slot (Figure Case tREH). Devices that have parameters tFPD, VHY, tREH specified their electrical characteristics improved 1-Wire front-end. Improved Network Behavior (Switchpoint Hysteresis) 1-Wire environment line termination possible only during transients controlled master (1-Wire driver). 1-Wire networks, therefore, susceptible noise various origins. Depending physical size topology network, reflections from points branch points cancel each other some extent. Such reflections visible glitches ringing 1-Wire communication Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T WRITE-ONE TIME SLOT tW1L VPUP VIHMASTER VILMAX tSLOT RESISTOR MASTER WRITE-ZERO TIME SLOT tW0L VPUP VIHMASTER VILMAX tSLOT RESISTOR MASTER tREC READ-DATA TIME SLOT tMSR VPUP VIHMASTER VILMAX MASTER SAMPLING WINDOW tSLOT RESISTOR MASTER DS1922L/DS1922T tREC Figure Read/Write Timing Diagrams Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T tREH VPUP tREH CASE CASE CASE Figure Noise Suppression Scheme POLYNOMIAL STAGE STAGE STAGE STAGE STAGE STAGE STAGE STAGE STAGE 10TH STAGE 11TH STAGE 12TH STAGE 13TH STAGE 14TH STAGE 15TH STAGE 16TH STAGE INPUT DATA OUTPUT Figure CRC-16 Hardware Description Polynomial Generation DS1922L/DS1922T types CRCs. 8-bit type stored most significant byte 64-bit ROM. master compute value from first bits 64-bit compare value stored within DS1922L/DS1922T determine data been received error-free. equivalent polynomial function this This 8-bit received true (noninverted) form, computed factory lasered into ROM. other 16-bit type, generated according standardized CRC-16 polynomial function This used error detection when reading register pages data-log memory using Read Memory with command fast verification data transfer when writing reading from scratchpad. contrast 8-bit CRC, 16-bit always communicated inverted form. generator inside DS1922L/DS1922T (Figure calculates 16-bit shown command flowchart Figure master compares value read from device calculates from data decides whether continue with operation reread portion data with error. With initial pass through Read Memory with flowchart, 16bit value result shifting command byte into cleared generator, followed address bytes data bytes. password excluded from calculation. Subsequent passes through Read Memory with flowchart generate 16-bit that result clearing generator then shifting data bytes. With Write Scratchpad command, generated first clearing generator then shift- Temperature Logger iButton with Data-Log Memory command code, target addresses TA2, data bytes. DS1922L/DS1922T transmit this only data bytes written scratchpad include scratchpad ending offset 11111b. data start location within scratchpad. With Read Scratchpad command, generated first clearing generator then shifting command code, target addresses TA2, byte, scratchpad data starting target address. DS1922L/DS1922T transmit this only reading continues through scratchpad, regardless actual ending offset. more information generating values, refer Application Note DS1922L/DS1922T Command-Specific 1-Wire Communication Protocol-Legend SYMBOL Select TA-E/S <Data EOS> <Data EOP> <Data EOM> <PW/Dummy> Bytes> <Data> CRC-16 Loop Loop 1-Wire reset pulse generated master. 1-Wire presence pulse generated slave. Command data satisfy function protocol. Command "Write Scratchpad." Command "Read Scratchpad." Command "Copy Scratchpad with Password." Command "Read Memory with Password CRC." Command "Clear Memory with Password." Command "Forced Conversion." Command "Start Mission with Password." Command "Stop Mission with Password." Target Address TA1, TA2. Target Address TA1, with byte. Transfer many data bytes needed reach scratchpad offset 1Fh. Transfer many data bytes needed reach memory page. Transfer many data bytes needed reach data-log memory. Transfer bytes that either represent valid password acceptable dummy data. Transfer bytes. Transfer undetermined amount data. Transmission byte. Transfer inverted CRC-16. Indefinite loop where master reads bytes. Indefinite loop where master reads bytes. DESCRIPTION Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Command-Specific 1-Wire Communication Protocol-Color Codes Master-to-Slave Slave-to-Master 1-Wire Communication Examples Write Scratchpad, Reaching Scratchpad (Cannot Fail) Select <Data EOS> CRC-16 Loop Read Scratchpad (Cannot Fail) Select TA-E/S <Data EOS> CRC-16 Loop Copy Scratchpad with Password (Success) Select TA-E/S <PW/Dummy> Loop Copy Scratchpad with Password (Fail TA-E/S Password) Select TA-E/S <PW/Dummy> Loop Read Memory with Password (Success) Select <PW/Dummy> <Data EOP> CRC-16 Bytes> CRC-16 Loop Loop Read Memory with Password (Fail Password Address) Select <PW/Dummy> Loop Clear Memory with Password Select <PW/Dummy> Loop verify success, read General Status register address 0215h. MEMCLR command executed successfully. Temperature Logger iButton with Data-Log Memory 1-Wire Communication Examples (continued) Forced Conversion Select Loop DS1922L/DS1922T read result verify success, read addresses 020Ch 020Fh (results) Device Samples Counter address 0223h 0225h. count incremented, command executed successfully. Start Mission with Password Select <PW/Dummy> Loop verify success, read General Status register address 0215h. MEMCLR command executed successfully. Stop Mission with Password Select <PW/Dummy> Loop verify success, read General Status register address 0215h. command executed successfully. Mission Example: Prepare Start Mission Assumption: previous mission been ended using Stop Mission command. Passwords enabled. device DS1922L. Starting mission requires three steps: MASTER MODE Step Clear data previous mission. Step Write setup data register page Step Start mission. Step Clear data previous mission. With only single device connected master, communication step looks like this: COMMENTS Reset pulse Presence pulse Issue "Skip ROM" command Issue "Clear Memory" command Send dummy password Send dummy byte Reset pulse Presence pulse DATA (LSB FIRST) (Reset) (Presence) bytes> (Reset) (Presence) Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Step Write setup data register page During setup, device needs learn following information: Time Date Sample Rate Alarm Thresholds ADDRESS 0200h 0201h 0202h 0203h 0204h 0205h 0206h 0207h 0208h 0209h 020Ah 020Bh 020Ch 020Dh 020Eh 020Fh 0210h 0211h 0212h 0213h 0214h 0215h 0216h 0217h 0218h DATA minutes Mission Start Delay Enable high alarm Disabled (enabled), EHSS (low sample rate) Normal start; rollover; 8-bit temperature (Don't care) Temperature Alarm Control (Not applicable with DS1922L/DS1922T) Oscillator Control, sample rate selection General Mission Control Clock through read-only registers (Don't care) Clock through read-only registers Every minutes (EHSS 10°C high (Don't care) Sample rate Temperature Alarm Thresholds (Not applicable with DS1922L/DS1922T) April 2002 Date 15:30:00 hours Time EXAMPLE VALUES Alarm Controls (Response Conditional Search) General Mission Parameters (e.g., Channels Logging Format, Rollover, Start Mode) Mission Start Delay following data sets DS1922L mission that logs temperature using 8-bit format. FUNCTION Temperature Logger iButton with Data-Log Memory With only single device connected master, communication step looks like this: MASTER MODE DATA (LSB FIRST) (Reset) (Presence) Data Bytes> Bytes> (Reset) (Presence) Data Bytes> (Reset) (Presence) Bytes> (Reset) (Presence) Reset pulse Presence pulse Issue "Skip ROM" command Issue "Write Scratchpad" command TA1, beginning offset TA2, address 0200h Write bytes data scratchpad Write through scratchpad Reset pulse Presence pulse Issue "Skip ROM" command Issue "Read Scratchpad" command Read TA1, beginning offset Read TA2, address 0200h Read E/S, ending offset 1Fh, flags Read scratchpad data verify Reset pulse Presence pulse Issue "Skip ROM" command Issue "Copy Scratchpad" command Send dummy password Reset pulse Presence pulse (AUTHORIZATION CODE) COMMENTS DS1922L/DS1922T Step Start mission. With only single device connected master, communication step looks like this: MASTER MODE step successful, General Status register MEMCLR Mission Start Delay counts down. COMMENTS Reset pulse Presence pulse Issue "Skip ROM" command Issue "Start Mission" command Send dummy password Send dummy byte Reset pulse Presence pulse DATA (LSB FIRST) (Reset) (Presence) Bytes> (Reset) (Presence) Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Software Correction Algorithm Temperature accuracy high-resolution temperature conversion results (forced conversion well temperature logs) improved through correction algorithm. data needed this software correction stored calibration memory (memory page duplicated page 19). This data consists reference temperature (Tr) conversion result (Tc) different temperatures. Temperature Conversion section binary number format. software correction algorithm requires additional values, which stored device. These values, Offset, derived from device configuration byte. ADDRESS 0240h 0241h 0242h 0243h 0244h 0245h 0246h 0247h DESIGNATOR Tr2H Tr2L Tc2H Tc2L Tr3H Tr3L Tc3H Tc3L correction algorithm consists steps: preparation execution. means family code preparation step verifies whether device actually DS1922. Then configuration byte checked identify type DS1922 correct device, data software correction read converted from binary decimal format. Next, three coefficients computed. execution step, temperature reading delivered DS1922 first converted from lowbyte/high-byte format (TcL, TcH) (Tc) then corrected TCORR. Once step performed, three coefficients used repeatedly correct temperature reading temperature same device. DESCRIPTION Cold-reference temperature, high byte Cold-reference temperature, byte Conversion result cold-reference temperature, high byte Conversion result cold-reference temperature, byte Hot-reference temperature, high byte Hot-reference temperature, byte Conversion result hot-reference temperature, high byte Conversion result hot-reference temperature, byte Step Preparation Read 64-bit obtain family code. family code 41h, then stop (wrong device). Read configuration byte address 0226h. code 40h, then Offset (DS1922L) code 60h, then Offset (DS1922T) other codes, stop (wrong device). Tr2H/2 Tr2L/512 Offset (convert from binary Tr3H/2 Tr3L/512 Offset (convert from binary Tc2H/2 Tc2L/512 Offset (convert from binary Tc3H/2 Tc3L/512 Offset (convert from binary Err2 Err3 Err1 Err2 (Tr22 Tr12) (Err3 Err1)/[(Tr22 Tr12) (Tr3 Tr1) (Tr32 Tr12) (Tr1 Tr2)] (Tr1 Tr2) (Tr22 Tr12) Err1 Tr12 Step Execution TcH/2 TcL/512 Offset (convert from binary TCORR (the actual correction) Temperature Logger iButton with Data-Log Memory Numerical Correction Example CONVERTED DATA FROM CALIBRATION MEMORY 60°C -10.1297°C 24.6483°C -10.0625°C 24.5°C Err2 0.0672°C Err3 -0.1483°C Err1 0.0672°C APPLICATION CORRECTION COEFFICIENTS SAMPLE READING 22.500°C TCORR 22.647°C ERROR VALUES SIZE 5.89mm 0.51mm BRANDING Configuration DS1922L/DS1922T 16.25mm Thermochron® 000000FBC52B 1-Wire® RESULTING CORRECTION COEFFICIENTS -0.008741 0.000175/°C -0.039332°C S1922L 17.35mm Package Information latest package outline information land patterns, www.maxim-ic.com/packages. PACKAGE TYPE iButton PACKAGE CODE IB-6CB DOCUMENT 21-0266 Note: software correction requires floating-point arithmetic better). Suitable math libraries microcontrollers found various websites included cross compilers. Thermochron registered trademark Maxim Integrated Products, Inc. Temperature Logger iButton with Data-Log Memory DS1922L/DS1922T Revision History REVISION NUMBER REVISION DATE DESCRIPTION Added bullet "Water resistant waterproof placed inside DS9107 iButton capsule (Exceeds Water Resistant Arequirements)". Deleted "application pending" from bullet safety statement. Added text Application section: Note that initial sealing level DS1922L/ DS1922T achieves IP56. Aging conditions degrade integrity seal over time, applications with significant exposure liquids, sprays, other similar environments, recommended place Thermochron DS9107 iButton capsule. DS9107 provides watertight enclosure that been rated IP68 (See www.maximic.com/AN4126). Created newer template-styled data sheet. Deleted standard part numbers from Ordering Information table. PAGES CHANGED 12/07 4/09 10/09 Maxim cannot assume responsibility circuitry other than circuitry entirely embodied Maxim product. circuit patent licenses implied. Maxim reserves right change circuitry specifications without notice time. _Maxim Integrated Products, Gabriel Drive, Sunnyvale, 94086 408-737-7600 2009 Maxim Integrated Products Maxim registered trademark Maxim Integrated Products, Inc. Other recent searchesRZR040P01 - RZR040P01 RZR040P01 Datasheet PM5361 - PM5361 PM5361 Datasheet PG600A - PG600A PG600A Datasheet PG600K - PG600K PG600K Datasheet LB1881V - LB1881V LB1881V Datasheet CDRH129 - CDRH129 CDRH129 Datasheet
Privacy Policy | Disclaimer |