1 Wire Pi Plus HAT
SKU: | 292-1 |
Features
- 1-Wire® to I2C host interface with ESD protection diode.
- Stackable with other Raspberry Pi accessory boards.
- Buffered 5V I2C port.
- External 5V power input for 1-Wire® interface.
- I2C address selection via solder jumpers.
The 1 Wire Pi Plus from AB Electronics UK is a communication board supporting the 1-Wire® protocol designed for use on the Raspberry Pi. A 5V buffered I2C port is also provided on the board. The 1 Wire Pi Plus can be securely fitted to your Raspberry Pi.
The 1-Wire® port on the 1 Wire Pi Plus is based around a DS2482-100 I2C to 1-Wire® bridge device. The DS2482-100 provides bi-directional protocol conversion between the I2C port on the Raspberry Pi and any attached 1-Wire® slave devices. An ESD Protection Diode is used to protect the 1 Wire Pi Plus and Raspberry Pi from electrostatic spikes on the 1-Wire® port. Connections to the 1-Wire® port can be made through the RJ-12 socket or the solder points on the PCB. Here is a knowledge base article for configuring and using the 1-Wire® port on your Raspberry Pi.
The 1 Wire Pi Plus is powered through the host Raspberry Pi using the GPIO port and extended pins on the GPIO connector allow you to stack the 1 Wire Pi Plus along with other expansion boards.
Space is provided on the board for a 1-Wire® iButton device. iButtons are small metal packed modules that can be used for a wide range of functions from data loggers to temperature monitoring. More information about iButtons can be found on the Maxim Integrated website. To use an iButton on the 1 Wire Pi Plus you will need to solder a DS9094F PCB clip onto the board. Please note that the DS9094F should be positioned to match the orientation marked on the PCB and the + sign on the connector is actually linked to the ground side of the iButton devices.
A 5V input port is also provided allowing you to use an external power supply on the 1-Wire® interface, reducing the load on the Raspberry Pi. If you choose to use the external 5V input please remove the jumper on the board to isolate the Raspberry Pi 5V bus.
A detailed tutorial has been written by Jack Creasey, author of Raspberry Pi Essentials,for the setup of OWFS with the 1 Wire Pi Zero and 1 Wire Plus boards. View the tutorial.
Specifications
Input Ratings & Specifications
Spec | Ratings |
Vdd (5V pin) | 5.0V |
Maximum current on 1-Wire pins | ±20 mA |
I2C SDA/SCL voltage | 5.0 V |
I2C port current | 100 mA |
3D CAD Model
1 Wire Pi Plus - 3D CAD File (STEP Format)
Schematic
Click to download schematic PDF.
Mechanical Drawings
Click image to enlarge
Assembly
The 1 Wire Pi Plus is supplied with the 40 pin GPIO connector, RJ12 connector and 2 pin jumper unsoldered.
Before using the 1 Wire Pi Plus you will need to solder all three connectors onto the PCB. We suggest soldering the 40 pin GPIO connector first and then the RJ12 connector and the jumper. The RJ12 connector is supplied clipped onto the PCB and the PCB is pre-soldered on each of the pins. Solder the RJ12 connector by heating each of the pins in turn until the solder melts joining the pin to the pad below.
PCB Header Assembly Jig
Download and print our PCB Header Assembly Jig to hold your circuit board when soldering the header pins.
Connecting to the 1-Wire® Port
The 1-Wire® port on the 1-Wire Pi can be accessed through the female RJ12 socket or the solder points on the PCB. An ESD protection diode is fitted between the RJ12 port and the 1-Wire® interface IC.
The pinout connections for the RJ12 port are shown below:
Pin | Usage |
1 | 5V |
2 | Ground |
3 | OW (1-Wire® Data, ESD Protected) |
4 | RT (1-Wire® Return/Ground, ESD Protected) |
5 | NC |
6 | NC |
I2C Address Selection
The 1 Wire Pi Plus includes two address selection solder jumpers which can be bridged with solder to give you up to 4 different I2C addresses.
Configuration 1:
Configuration 2:
Configuration 3:
Configuration 4:
Compatibility
Pi 1 Model A+/B+, Pi 2 Model B, Pi 3 Model B, Pi 4, Pi Zero/Zero W.
Code Libraries and Demos
Configuring and using the 1-Wire® port on your Raspberry Pi