Facebook Official Page

www.facebook.com/DIYmodules

Share EAGLE library

Have you created EAGLE library?
Did you find an interesting library?
Why not share with the community?

More...

News

2017-07-02

DIY Modules Eagle Library version 1.8.0 has been released.

2017-05-20

DIY Modules Eagle Library version 1.7.0 has been released.

2017-05-03

DIY Modules Eagle Library version 1.6.0 has been released.

More news...

EAGLE Library Structure

File details

File name:1wire.lbr
Uploaded by:Jan Kandziora
Download options:Download original file
from DIYmodules.org
( 44.5 KiB )
Download file converted
to the latest EAGLE format
( 101.0 KiB )

Library description

Dallas/Maxim 1-Wire/iButton devices

Onewire is a simple, low-cost bus system working with hundreds of devices on an up to 300m long one-wire (plus GND) bus system. It is relative slow (~16kBaud) but electrically undemanding, too. The onewire is hotplug-capable, if the host software supports it. The bus can be controlled by a single μC port pin or by special host adapter chips, which are available for RS232, Parallel, I2C, and USB to onewire conversion. They are available as ready-to-run host adapter devices, too.

The chips on the bus can be powered through the bus line, this is called "parasite power". All neccesary circuit and capacities for parasite power are on chip. Some chips need an additional power source to provide all features.

iButton is an application for onewire devices, using special packaged onewire devices as keys or for data storage. All onewire chips have a unique serial number for technical reasons, and together with the hot-plug capability this makes them useable as unique keys. In addition, many onewire chips have additional memory (EPROM, EEPROM, RAM) on the chip, which can be used to store cryptographic keys. iButtons come in various packages which are protected against corrosive agents and weather influences.

Get more info at http://www.maxim-ic.com/1-Wire.cfm

Linux driver at http://owfs.sf.net

Copyright notice:

The devices in this library are copyrighted by various authors — permission to use, distribute and modify this library is given to you at the terms of the LGPL. Copyright holders are

Jan Kandziora <jjj@gmx.de> Giovanni Varasano <giovanni.varasano@fastwebnet.it>

The authorship for each device is given in the device notes.

List of devices

Name & variantsSymbolPackage
1W_SUP Onewire "Supply" Pin

Use this device to connect all the 1W lines on the board automatically while keeping them invisble in the schematic.

Note: This works like an additional power line. Author: Jan Kandziora <jjj@gmx.de>

Variants:

Preview
DS1822 Econo Digital Thermometer

This chip provides a onewire thermosensor with approx. 2°C accuracy. A programmable over/undertemperure alarm is available.

Notes: Vdd must be applied for accurate measurements at low temperatures, as the parasite power circuit otherwise heats the sensor. If parasite power is used, Vdd has to be connected to GND. The DS18B20 and DS18S20 are similar chips with approx. 0.5°C accuracy. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS1822

DS1822Z

PreviewPreviewPreview PreviewPreview
DS18B20 Programmable Resolution Digital Thermometer

This chip provides a onewire thermosensor with approx. 0.5°C accuracy. A programmable over/undertemperure alarm is available. The precision can be set from 9..12 bits.

Notes: Vdd must be applied for accurate measurements at low temperatures, as the parasite power circuit otherwise heats the sensor. If parasite power is used, Vdd has to be connected to GND. The DS1822 is a low-cost thermometer chip, the DS18S20 is similar to the DS18B20, but with 9 Bit precision only. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS18B20

DS18B20Z

DS18B20U

PreviewPreviewPreview PreviewPreviewPreview
DS18S20 High Precision Digital Thermometer

This chip provides a onewire thermosensor with approx. 0.5°C accuracy.A programmable over/undertemperure alarm is available.

Notes: Vdd must be applied for accurate measurements at low temperatures, as the parasite power circuit otherwise heats the sensor. If parasite power is used, Vdd has to be connected to GND. The DS1822 is a low-cost thermometer chip, the DS18B20 is similar to the DS18S20, but with 9..12 Bit programmable precision. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS18S20

DS18S20Z

PreviewPreviewPreview PreviewPreview
DS2223 Econo RAM

This chip is a 256Bit SRAM with external battery support. It's pupose is to save a few bits content over power-cycles of the machine it's build into.

Notes: Vdd can be applied to a 2.8..3V battery to save the RAM state even if the onewire parasite power fails or the onewire is disconnected. The DS2224 is a similar chip with 32 Bit ROM and 224 Bit RAM Both the DS2223 and DS2224 chips seem discontinued by Maxim IC. Use the DS2423 chip, which provides additional features instead. Please note the DS2423 is not pin-compatible to the DS2223! Author: Orginal device and description from Giovanni Varasano <giovanni.varasano@fastwebnet.it>
Improved by Jan Kandziora <jjj@gmx.de>

Variants:

DS2223

DS2223Z

PreviewPreviewPreview PreviewPreview
DS2401 Silicon Serial Number

This chip provides only the basic feature of any onewire chip, the unique serial number. It is useful if built into an appliance and connected to a service connector inside to identify this special appliance or in custom-made onewire keys.

Note: If you plan a onewire network with several chips, you don't need the DS2401 device, as any onewire chip besides from the host adapter chips features an unique serial number. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2401

DS2401P

DS2401Z

PreviewPreviewPreview PreviewPreviewPreview
DS2404 Econo RAM Time Chip with Onewire and SPI interface

This chip provides a real time clock and a battery operated/back-upped 4096-Bit SRAM. In addition, there is a interval timer and a power-cycle counter.

In addition to the onewire interface, this chip has a 3-Wire (SPI) Interface which operates up to 2MBaud speed. When this interface is used, the 1W pin may be used as a PIO pin. The RAM is dual-ported and both the SPI interface and the Onewire interface may be used at the same time, too, which makes this chip also useful as a SPI/Onewire interface chip with internal 4096-Bit data buffer.

Notes: This chip has a lot of operation modes. Please read the datasheet if you plan to use it. Author: Orginal device and description from Giovanni Varasano <giovanni.varasano@fastwebnet.it>
Improved by Jan Kandziora <jjj@gmx.de>

Variants:

DS2404S

DS2404

DS2404B

PreviewPreviewPreview PreviewPreviewPreview
DS2405 Addressable Switch

This chip provides one open drain I/O pin with 4mA sinking capability. The input may be read out by software when the open drain transistor is set to "open".

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2405

DS2405P

DS2405T

PreviewPreviewPreview PreviewPreviewPreview
DS2406 Dual Addressable Switch Plus 1024 Bit EPROM

This chip provides one open drain I/O pin (PA) with 50mA sinking capability.The I/O pin also feature an edge detector which is set by any level change on the input and reset by software. The EPROM has 4 pages to 256 bit with sparate write protection.

Notes: 12V must be applied to the 1W pin in a controlled fashion to program the EPROM. This is handled by e.g. the DS2480B host adapter chip automatically. The DS2406P is the same chip in a TSOC6 package with 2 additional pins PB and Vdd, which offer additional features. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2406

PreviewPreviewPreview Preview
DS2406P Dual Addressable Switch Plus 1024-Bit EPROM

This chip provides one open drain I/O pin (PA) with 50mA sinking capability and a second open drain I/O pin (PB) with 8mA sinking capability. Each I/O pin also feature an edge detector which is set by any level change on the input and reset by software. The EPROM has 4 pages of 256 bit with sparate write protection.

Notes: 12V must be applied to the 1W pin in a controlled fashion to program the EPROM. This is handled by e.g. the DS2480B host adapter chip automatically. Vdd@5V may be used to save the current chip state whenever parasitic power over the 1W pin is lost. Vdd is no Vpp pin! Never connect 12V to Vdd. The DS2406 is the same chip in a TO-92 package with 3 pins only, thus missing the PB and Vdd features. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2406P

PreviewPreviewPreviewPreview Preview
DS2408 8-Channel Addressable Switch

This is a general purpose I/O multiplier. The PIO pins P0..P7 are inputs/open drain outputs and can be used in a mixed I/O fashion. Output sink capability is appr. 4mA. Each input state can be read but changing input signals additionally trigger the egde detector for this input. The edge detector state can be read back, too.

The RSTZ pin can be configured by software as a –STROBE output (default) or as the common edge detector –RESET input. In the latter mode, the output pins are all set to floating on a –RESET trigger, too.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2408S

PreviewPreviewPreview Preview
DS2409 MicroLAN Coupler

This device allows to create star-topology networks of onewire devices. The idea of this chip is to switch branches of a star-topology network so the resulting network is always a bus (with short stubs only), as only bus-topology onewire networks work properly.

The 1W_IN pin is the connection to the network backbone on the host side. The 1W_OUT pin connects to the backbone, too, but on the far side. The 1W_AUX pin is the network branch connection. The CO output pin can be controlled by software or automatically switched on/off whenever the 1W_OUT or 1W_AUX pin (configureable by software) is connected to the 1W_IN pin. The drive load for this pin is 10mA. Up to one dozen DS2409 chips may be cascaded on both backbone and branch line.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2409P

PreviewPreview Preview
DS2411 Silicon Serial Number with Vdd

This chip provides only the basic feature of any onewire chip, the unique serial number. It is useful if built into an appliance and connected to a service connector inside to identify this special appliance or in custom-made onewire keys.

Note: If you plan a onewire network with several chips, you don't need the DS2411 device, as any onewire chip besides from the host adapter chips features an unique serial number. This chip is different from the DS2401 in having an external power supply pin which allows to operate it down to 1.5V. It is most useful in custom designs, where the Onewire host itself does provide ~2V high level only, or low power systems where the Onewire should not be used as a parasite power source. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2411P

DS2411R

PreviewPreviewPreview PreviewPreview
DS2413 Dual Channel Addressable Switch

This chip is similar to the DS2405 chip, but provides two PIO channels with 20mA sinking capability and an on-resistance of 20Ohm for each open drain output. Up to 28V can be switched.

Note: Both GND pins must be connected to 0V.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2413P

PreviewPreviewPreviewPreviewPreview Preview
DS2417 Time Chip With Interrupt

This chip provides an RTC with time and date function. It operates with 2.5..5V at Vdd. The INT pin generates a low pulse every 1, 4, 32, 64, 2048, 4096, 65536, or 131072s (selectable by software).

Notes: For proper operation the X1/X2 pins have to be connected to a 32768Hz crystal. The X1/X2 pins and the crystal should get a separate guard ring connected to ground the shortest way possible. The DS2415 is a similar older chip without the INT feature and need for external circuitry. Use the DS2417 for new designs instead. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2417P

PreviewPreviewPreview Preview
DS2422 Temperature Datalogger with 8KB Datalog Memory

This chip combines the core functions of a fully featured datalogger in a single chip. It includes a temperature sensor, realtime clock (RTC), memory, Onewire interface, and SPI interface for connection of an analog-to-digital converter (ADC), as well as control circuitry for a charge pump.The ADC and the charge pump are peripherals that can be added to build application-specific dataloggers. A total of 8192 byte or 4096 word precision readings taken at equidistant intervals ranging from 1s to 273 hrs can be stored automatically.

Notes: The datalogger has both a free-run and an operate-until-full mode, which can be selected by software. A 2.8..5V (battery powered) Vdd has to be applied, as all the circuit but the Onewire part of the chip is operated from that supply. This chip is designed to operate together with an MAX1086..1089 A/D converter and a MAX619 chargepump regulator. See the datasheet for details. The TEST_SPLY and TEST_RX pin must be connected to GND, the TEST_CG pin must be left unconnected for normal operation. Author: Orginal device and description from Giovanni Varasano <giovanni.varasano@fastwebnet.it>
Improved by Jan Kandziora <jjj@gmx.de>

Variants:

DS2422

PreviewPreviewPreview Preview
DS2423 4096-Bit RAM with Access Counter

This chip features a 16x256 bit RAM. The last four pages have an associated 32-Bit access counters which are incremented on each write access to the page and can't be reset separately from RAM contents.

In addition, the counters of page 14 and 15 may be incremented on each high-to-low transition on the input CNTA/CNTB. That makes this chip interesting for readout of incremental sensors, too. Additional external circuit makes it even possible to get absolute position data by substraction of the two counter values.

Notes: Parasite power does not supply the RAM contents, so Vdd must be applied to operate the RAM. The chip is still addressable even if Vdd fails, though. Resetting the counters is only possible by performing a power-up sequence on Vdd (and lose the whole RAM contents). As the parasite power cuircuit doesn't supply the RAM, Vdd acts like a –RESET pin, too. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2423P

PreviewPreviewPreviewPreview Preview
DS2431 1024-Bit EEPROM

This chip provides a 4x256 Bit EEPROM, which can be programmed@5V. Write protection and OTP emulation are available, too.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2431

DS2431P

PreviewPreviewPreview PreviewPreview
DS2432 1024-Bit Protected EEPROM with SHA-1 Engine

This chip is a cryptographic device, providing 1024 Bits of EEPROM memory which may be written only after supplying the correct 64 bit secret. the secret cannot be read back from the device.

The other features of this chip are like the DS2431.

Please note the SHA-1 hash algorithm is considered weak if the data is not properly "padded". If you don't understand anything of this, don't use this chip.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2432P

PreviewPreviewPreview Preview
DS2433 4096-Bit EEPROM

This chip provides a 16x256 Bit EEPROM, which can be programmed@5V.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2433

DS2433S

PreviewPreviewPreview PreviewPreview
DS2436 Battery ID/Monitor

This is an A/D converter, temperature sensor, EEPROM, SRAM, and a 16-Bit add-only counter in one chip. One may mount it directly into the battery pack to monitor temperature and voltage of.

Notes: The EEPROM data in memory page 0 (24 Bytes) is intended for battery descriptions and may be write protected after the first write. This write lock is not mandatory and can be disabled later. The SRAM in memory page 2 (8 Bytes) is intended for storing additional status information about the battery. Please note its contents is probably lost on empty battery or on an unintentional short circuit of the battery. There is an additional 8-Byte EEPROM in memory page 1, which can be used to log additional battery status information over power cycles. The DS2438 is a similar chip with even more features. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2436B

DS2436Z

PreviewPreviewPreview PreviewPreview
DS2438 Smart Battery Monitor

This is an A/D converter, temperature sensor, EEPROM in one chip. One may mount it directly into the battery pack to monitor temperature and voltage of. The chip can monitor the loading of the battery through its current sensor pins, too. An additional A/D pin may be connected to additonal external circuit.

Notes: This chip is a little more sophisticated than the DS2436. Please read the datasheet. The DS2436 is a similar chip with less features. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2438Z

PreviewPreviewPreview Preview
DS2450 Quad A/D Converter

This chip offers 4 A/D converter channels with up to 16bit precision and a range from 0..2.56 or 0..5.12V. The A/D conversion is initiated by software and automatically checked against programmable top and bottom thresholds.

Note: The A/D input pins feature an open drain output with 4mA sinking capability, too. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2450S

PreviewPreviewPreviewPreviewPreviewPreview Preview
DS2480B RS232 to 1-Wire Host Adapter/Line Driver with Load Sensor

This device is a onewire host and UART interface in one chip. It provides the complete DC/AC requirements for onewire communication, including overdrive speed mode and 12V EPROM programming. On the UART side, it can operate at 9.6kBaud (default), 19.2kBaud, 57.6kBaud, and 115.2kBaud.

The RxD and TxD lines are operated at 0V/5V. The POL pin selects the RxD and TxD "polarity", that means straight-through or inverted. If POL is connected to GND, RxD and TxD behave properly for connection to inverted RS232 drivers, like the MC1488/1489 or MAX23x chips. If POL is connected to Vdd, RxD and TxD behave properly for direct connection to a 0V/5V UART chip.

Important Notes: RxD and TxD are seen from the UART point of view, that means the DS2480B TxD pin is really an input and the DS2480B RxD pin is really an output. Vpp must be connected to 5V/Vdd if EPROM programming is not required. Vdd must be always lower than or equal to Vpp, otherwise the chip will be damaged. Best idea is to provide a separate 12V->5V/5mA voltage regulator from Vpp to Vdd if EPROM programming is required.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2480B

Preview Preview
DS2482-100 I2C to 1-Wire Host Adapter/Line Driver This device is a onewire host and I2C interface in one chip. It provides the complete DC/AC requirements for onewire communication, including overdrive speed mode, but, unlike the DS2480B chip, no 12V EPROM programming. Notes: For overdrive speed and 5V EEPROM programming, an external active pullup circuit must be connected to the 1W, VDD and PCT pin. See the datasheet for details. The lower two I2C adress bits of the chip can be selected by external pins, so up to 4 chips may be connected to the same I2C bus. Author: Orginal device and description from Giovanni Varasano <giovanni.varasano@fastwebnet.it>
Improved by Jan Kandziora <jjj@gmx.de>

Variants:

DS2482-100S

PreviewPreview Preview
DS2482-800 8 Channel I2C to 1-Wire Host Adapter/Line Driver This device is a onewire host and I2C interface in one chip. It provides the complete DC/AC requirements for onewire communication, including overdrive speed mode, but, unlike the DS2480B chip, no 12V EPROM programming. Notes: Unlike the DS2482-100, no external cicuit is required for overdrive speed and 5V EEPROM programming. The chip is really only a single onewire host with an additional 1-to-8 line selector. You may see it as a DS2482-100 / multi-DS2409 combo. The lower three I2C adress bits of the chip can be selected by external pins, so up to 8 chips may be connected to the same I2C bus. Author: Orginal device and description from Giovanni Varasano <giovanni.varasano@fastwebnet.it>
Improved by Jan Kandziora <jjj@gmx.de>

Variants:

DS2482-800

PreviewPreview Preview
DS2502 1024-Bit Add-Only EPROM

This chip features a 4x256 bit one-time-programmable (OTP) EPROM. Write protection is available per page.

Notes: 12V must be applied to the 1W pin in a controlled fashion to program the EPROM. This is handled by e.g. the DS2480B host adapter chip automatically. There are two additional variants of this chip; DS2502-E48, which comes with a preprogrammed valid Ethernet MAC address in the first page of the EPROM, and DS2502-E64, which comes with a preprogrammed valid IEEE1394 (Firewire) MAC address in the first page of the EPROM. The DS2505/DS2506 are similar devices with 16384/65536 bits EPROM. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2502

DS2502P

DS2502S

PreviewPreviewPreview PreviewPreviewPreview
DS2505 16384-Bit Add-Only EPROM

This chip features a 64x256 bit one-time-programmable (OTP) EPROM. Write protection is available per page.

Notes: 12V must be applied to the 1W pin in a controlled fashion to program the EPROM. This is handled by e.g. the DS2480B host adapter chip automatically. The DS2502/DS2506 are similar devices with 1024/65536 bits EPROM. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2505

DS2505P

PreviewPreviewPreview PreviewPreview
DS2506 65536-Bit Add-Only EPROM

This chip features a 256x256 bit one-time-programmable (OTP) EPROM. Write protection is available per page.

Notes: 12V must be applied to the 1W pin in a controlled fashion to program the EPROM. This is handled by e.g. the DS2480B host adapter chip automatically. The DS2502/DS2505 are similar devices with 1024/16384 bits EPROM. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2506

DS2506S

PreviewPreviewPreview PreviewPreview
DS2890 1-Wire Digital Potentiometer

This chip provides a 0..100k RH to GND resistor which can be controlled by software in 256 steps. The RH pin may be connected to levels from 0..11V.

Notes: The DS2890P is the same chip in a TSOC6 package with 3 additional pins Vdd, WI and RL, which allows to use the chip as a full featured potentiometer. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2890

PreviewPreviewPreview Preview
DS2890P 1-Wire Digital Potentiometer

This chip provides a 0..100k potentiometer which can be controlled by software in 256 steps. The RH, RL and WI pins may be connected to levels from 0..11V.

Notes: The DS2890 is the same chip in a TO-92 package with only 3 pins, thus allowing to use it as a pull-to-ground resistor only. Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS2890P

PreviewPreviewPreview Preview
DS9502 ESD Protection Diode

This ESD protection diode is designed especially for onewire enabled remote devices.

Pin 5 and 6 have to be connected to the host side, pin 1 und 2 to the network side. The 1W line is through pin 1 and 6, the GND line is through pin 2 and 5.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS9502P

Preview Preview
DS9503 ESD Protection Diode with Resistors

This ESD protection diode is designed especially for onewire host interfaces. Unlike the DS9502, it has two additional 5Ohm resitors in the 1W and GND line.

Pin 5 and 6 have to be connected to the host side, pin 1 und 2 to the network side. The 1W line is through pin 1 and 6, the GND line is through pin 2 and 5.

Author: Jan Kandziora <jjj@gmx.de>

Variants:

DS9503P

Preview Preview

List of symbols

NameViewDescription
1W Preview
1W_SUP Preview
AIN Preview
CNT Preview
DS2404 Preview
DS2408 Preview
DS2409 Preview
DS2417 Preview
DS2422 Preview
DS2438 Preview
DS2480 Preview
DS2482-100 Preview
DS2482-800 Preview
DS2890 Preview
DS2890P Preview
DS9502 Preview
DS9503 Preview
GND Preview
IC Preview
OC Preview
OC_POWER Preview
VDD-GND Preview

List of packages

NameViewDescription
DIL16 Preview Dual In Line Package
SO08 Preview Small Outline Package
SO16 Preview Small Outline Package
SO24L Preview Small Outline Package
SOT223 Preview Small Outline Transistor DALLAS Semiconductor (DS2405.pdf)
SOT23 Preview SOT-23
SSOP16 Preview Shrink Small Outline Package package type SS
TO92- Preview TO-92
TSOC6 Preview TSOC 6
UMAX8 Preview micro MAX Package
Copyright © 2015-2017 DIYmodules.org|Contact webmaster
Our website uses icons made by www.icondrawer.com