UniPi technical documentation REV 1.
UniPi Contents Overview.................................................................................................................................................. 2 Description .............................................................................................................................................. 3 GPIO port map ..................................................................................................................................... 4 Power Requirements .............
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).
UniPi 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
UniPi GPIO port map Table 1 – Raspberry Pi P1 header map UniPi AO I01 I02 I03 I04 I05 I06 I07 I08 I09 I10 I11 I12 I2C1_SCL I2C1_SDA UART RX UART TX RPi BCM GPIO18 GPIO04 GPIO17 GPIO27 GPIO23 GPIO22 GPIO24 GPIO11 GPIO07 GPIO08 GPIO09 GPIO25 GPIO10 GPIO02 GPIO03 GPIO15 GPIO14 Function PWM Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input Digital Input I2C1_SCL I2C1_SDA UART0_RXD UART0_TXD Description A
UniPi Power Requirements There are two options of powering the UniPi board and Raspberry Pi: • Single power source (RPi and UniPi are powered from the same power source) • jumper JP1 mounted • 5V DC 2A through the UniPi power connector (1.5A for UniPi + RPi requirements) • Please note that UniPi can only provide 750mA to the RPi (max 1.
UniPi 5-12V Step-up (internal 12V power supply) All inputs are primarily set to be driven by the internal 12V power supply. The 12V line is wired out via the orange connector marked as 12V. Do not exceed 200ma current draw. Jumper settings In case of using external power source, inputs must be configured by JP2 - JP5 jumpers. The configuration must be done before powering up the UniPi. Using the external power supply and proper jumper configuration provides galvanic isolation for its inputs.
UniPi EEPROM UniPi features onboard EEPROM (24C02) for storing important information with 2k bit memory organized into single block of 256 * 8-bit. We reserve address space 0xe0 – 0xff the rest is left for user space. The rest of unused reserved bytes are nulled.1 Table 4 - memory organization Starting address 0xe0 0xe2 0xf0 0xf4 Number of bytes 2 2 4 4 Example fa-55 1.1 0x40b089c5 (5.516818) 0x40b08b44 (5.
UniPi 1Wire sensors UniPi features single channel 1Wire master controller (DS2482-100, address 0x18). The 1Wire bus is wired out via the RJ45 connector (see Table 5 for detailed description). The data line is ESD protected and the 5V power current is limited to 200mA. Table 5 - 1Wire RJ45 connector RJ11 pin 1 2 3 4 5 6 7 8 Function 5V DATA DATA GND UART The UART interface of Raspberry Pi is wired out via the RJ11 connector labeled UART. See Table 6 UART RJ11 connector.
UniPi I2C ports Raspberry Pi has two I2C interfaces. The I2C _1 of the RPi is connected via the main P1 connector and does not need any special modification. All the onboard ICs are connected to this bus. The second I2C bus, I2C_0, is wired out via the P5 connector which needs to be soldered from the bottom of the Raspberry Pi. Please check our online tutorial for further information. The I2C _1 is by default wired out via the onboard RJ11 connector labeled I2C and features ESD protection.
UniPi Technical parameters Onboard I2C ICs All onboard I2C chips are connected to the main bus. Table 8 - I2C chip addresses Chip type MCP23008 DS2482-100 MCP79410 MCP3422 24AA00/24C02 Address 0x20 0x18 0x6F, 0x57 0x68 0x50-0x57 Usage Relays 1Wire master Real Time Clock ADC EEPROM Relays • • Version 1.0: 8x Omron G5LA-1-E: 250V AC/5A or 24V DC/5A Version 1.1: 8x Finder 36.11.9.005.
UniPi Revision History Revision Release date Author 1.0 6. 11. 2014 Tomas Hora 1.1 4. 3. 2015 Tomas Hora & Imas NV Changes 1 Introduced in version 1.1 Thanks to Imas NV, Turnhout, Belgium for correction. Raspberry Pi is a trademark of the Raspberry Pi Foundation. WWW. UNIPI. TECHNOLOGY 11 REV 1.