UniPi
technical
documentation
UniPi
Contents
Overview.................................................................................................................................................. 2
Description .............................................................................................................................................. 3
GPIO port map ..................................................................................................................................... 4
Power Requirements ........................................................................................................................... 5
Connecting Raspberry Pi to UniPi ........................................................................................................ 5
Building blocks ......................................................................................................................................... 5
Relays................................................................................................................................................... 5
Digital Inputs ....................................................................................................................................... 5
5-12V Step-up (internal 12V power supply) .................................................................................... 6
Jumper settings ............................................................................................................................... 6
Analog Inputs ....................................................................................................................................... 6
EEPROM ............................................................................................................................................... 7
Analog Output ..................................................................................................................................... 7
1Wire sensors ...................................................................................................................................... 8
UART .................................................................................................................................................... 8
2
C ports ............................................................................................................................................... 9
I
Technical parameters ............................................................................................................................ 10
2
Onboard I
Relays................................................................................................................................................. 10
Digital Inputs ..................................................................................................................................... 10
Analog Output ................................................................................................................................... 10
Power Requirements ......................................................................................................................... 10
Dimensions ........................................................................................................................................ 10
Revision History ..................................................................................................................................... 11
Changes ............................................................................................................................................. 11
C ICs .................................................................................................................................. 10
WWW.UNIPI.TECHNOLOGY 1 REV 1.1
UniPi
Overview
UniPi is an add-on board for the Raspberry Pi (RPi). It features many components such as 12 (+2)
digital inputs with LED signalization, two 0-10V analog inputs, one 0-10V analog output, changeover
relays, single channel 1wire master controller and a real-time clock module.
The two digital inputs 13,14 and the I2C_0 bus are meant to connect via the P5 header of RPi B (only)
which is no longer available on newer Raspberry Pis (B+ and newer).
We provide basic open-source Python library for interfacing the UniPi available on GitHub
recommended to use.
There are also many platforms and libraries that are compatible with UniPi:
• REX
• FHEM – Home automation GNU/GPL v.2 Perl server
• Wyliodrin – Online visual programming service
• HomeSeer – Another home automation system
• Others… See www.unipi.technology
UniPi is fully compatible with Raspberry Pi (models A, A+, B, B+, B+ model 2) and mounting-hole
compatible with BeagleBone Black. However we do not provide support for BeagleBone.
Please note the UniPi is only compatible with Raspberry Pi model B rev 2. Connecting model B rev. 1
is also possible provided checking the Raspberry Pi official documentation.
– Industrial PLC automation tool
which is
WWW.UNIPI.TECHNOLOGY 2 REV 1.1
Description
Major building blocks of UniPi:
• Relays: 8 relays 250VAC@5A or 24VDC@5A – control switching elements
• UART port: Standard serial port to connect serial console or many other devices (NFC
readers, … )
• 1Wire port: Provides 1Wire bus interface to connect 1Wire devices such as temperature and
humidity sensors
• I2C port: For connecting other extension modules for example relay or analog output
modules
• I2C configuration pins: To connect the I2C_0 bus from the RPi (only for advanced users)
• RTC (Real Time Clock) module: Provides real time in case of internet or power outage
(backup battery not included in the package).
• Power 5V: 2.1mm connector for power supply
• RPI connector: 26-pin connector for Raspberry Pi
• Digital inputs: 12(+2) galvanically isolated digital inputs for reading signals from external
devices
• 12V out: Power supply 12V@200mA - only for use with digital inputs of the UniPi
• Configurable ports: To configure digital inputs for use with external power source
• Analog in: Two 0-10V analog inputs for reading analog signals from external devices
• Analog out: One 0-10V analog output for proportional controlling
• AO trimmer: For precise adjustment of the analog output
UniPi
WWW.UNIPI.TECHNOLOGY 3 REV 1.1