{"product_id":"sixteen-analog-digital-inputs-8-layer-stackable-hat-for-raspberry-pi","title":"Sixteen Analog\/Digital Inputs 8-Layer Stackable HAT for Raspberry Pi","description":"\u003cp\u003eThis HAT brings 16 universal analogue or digital inputs to your \u003ca href=\"\/hi\/collections\/raspberry-pi-store\"\u003eRaspberry Pi\u003c\/a\u003e. Convenient DIP switches permit each input to be configured to read 1K or 10K thermistors, 0-10V analogue signals, or digital contact closure\/counter inputs.\u003c\/p\u003e\n\u003cp\u003eBi-colour status LEDs can be programmed to show the status of any digital input or to trigger at a pre-set level of the analogue inputs.\u003c\/p\u003e\n\u003cp\u003eThe Real-Time clock will keep the time almost indefinitely during a power failure using a \u003ca href=\"\/hi\/products\/cr2032-lithium-coin-cell-battery\"\u003eCR2032 battery\u003c\/a\u003e backup (battery not included).\u003c\/p\u003e\n\u003cp\u003eThe hardware watchdog will monitor and power cycle the Raspberry Pi in case of software lockup. TVS diodes on all inputs protect the card from external ESD, and the onboard resettable fuse protects it from accidental shorts.\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eRaspberry Pi and CR2023 battery not included.\u003c\/strong\u003e\u003c\/p\u003e\n\u003ch3\u003eCommunication\u003c\/h3\u003e\n\u003cp\u003eConnect the card to other Industrial Automation systems using RS485\/Modbus communication ports. The RS485 can be driven either from the local processor implementing Modbus RTU device or directly from the Raspberry Pi using the dedicated pins on the GPIO connector, which are routed to the RS485 driver. In and out connectors simplify daisy-chain wiring to other devices.\u003c\/p\u003e\n\u003ch3\u003eCompatibility\u003c\/h3\u003e\n\u003cp\u003eThe Sixteen Universal Inputs Card shares the I2C bus using only two of the Raspberry Pi’s GPIO pins to manage all eight cards. This feature leaves the remaining 24 GPIOs available for the user. The card is compatible with all Raspberry Pi versions from Zero to \u003ca href=\"\/hi\/products\/raspberry-pi-5\"\u003eRaspberry Pi 5\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch3\u003ePower Requirements\u003c\/h3\u003e\n\u003cp\u003eThe Sixteen Universal Inputs Card requires a 5VDC\/4A external power supply to operate and has to be powered from its own pluggable connector. The card supplies 5V and up to 3A to the Raspberry Pi on the GPIO bus. A local 3.3V regulator powers the rest of the circuitry. The card needs only 50mA to operate.\u003c\/p\u003e\n\u003ch3\u003ePluggable Connectors\u003c\/h3\u003e\n\u003cp\u003eAll the IO's are connected to heavy-duty (8A), 3.5mm pitch pluggable connectors which make field wiring very convenient for installation and debugging.\u003c\/p\u003e\n\u003ch3\u003eStacking Multiple Cards\u003c\/h3\u003e\n\u003cp\u003eUp to eight Sixteen Universal Inputs Cards can be stacked on your Raspberry Pi. Each card is identified by the position of the three left-most switches of the DIP switch. Cards can be installed in any order.\u003c\/p\u003e\n\u003ch3\u003eDIN-Rail Mounting\u003c\/h3\u003e\n\u003cp\u003eThe Sixteen Analog\/Digital Inputs card can be installed parallel on a DIN-Rail using the \u003ca href=\"\/hi\/products\/din-rail-kit-for-raspberry-pi\"\u003eDIN-Rail Kit Type 1\u003c\/a\u003e, or perpendicular using the \u003ca href=\"\/hi\/products\/din-rail-kit-type-2-perpendicular-to-rail-for-raspberry-pi\"\u003eDIN-Rail Kit Type 2\u003c\/a\u003e.\u003c\/p\u003e\n\u003ch2\u003eElectrical Specification\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003ePower supply: 3.5mm Pluggable Connector, 5V\/4A\u003c\/li\u003e\n\u003cli\u003ePower consumption: 50mA\u003c\/li\u003e\n\u003cli\u003eOn board resettable fuse: 3A\u003c\/li\u003e\n\u003cli\u003e0-10V Inputs:\u003c\/li\u003e\n\u003cli\u003eMaximum Input Voltage: 12V\u003c\/li\u003e\n\u003cli\u003eInput Impedance: 20KΩ\u003c\/li\u003e\n\u003cli\u003eResolution: 12 bits\u003c\/li\u003e\n\u003cli\u003eSample rate: TBD\u003c\/li\u003e\n\u003cli\u003eFull scale linearity: 0.15%\u003c\/li\u003e\n\u003cli\u003eContact closure inputs max. frequency: 500Hz\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eFeatures\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003eSixteen Universal Inputs, 8-Layer Stackable HAT for Raspberry Pi\u003c\/li\u003e\n\u003cli\u003eEach input can be configured to process analogue or digital signals:\u003cbr\u003e\n\u003cul\u003e\n\u003cli\u003e1K thermistors\u003c\/li\u003e\n\u003cli\u003e10K thermistors\u003c\/li\u003e\n\u003cli\u003e0-10V analog inputs, 500Hz sample rate\u003c\/li\u003e\n\u003cli\u003eDry contact inputs\u003c\/li\u003e\n\u003cli\u003eCounter inputs\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/li\u003e\n\u003cli\u003eEight Level Stackable\u003c\/li\u003e\n\u003cli\u003ePluggable Connectors 26-16 AWG wires\u003c\/li\u003e\n\u003cli\u003eEight software-programmable bi-color LEDs\u003c\/li\u003e\n\u003cli\u003eRS485 in and out ports\u003c\/li\u003e\n\u003cli\u003e5VDC Power Supply powers also the Raspberry Pi\u003c\/li\u003e\n\u003cli\u003eReal-Time Clock with Battery Backup\u003c\/li\u003e\n\u003cli\u003eOnboard hardware watchdog\u003c\/li\u003e\n\u003cli\u003eResettable fuse\u003c\/li\u003e\n\u003cli\u003eTVS protection on all inputs\u003c\/li\u003e\n\u003cli\u003e32-bit Processor running at 64MHz\u003c\/li\u003e\n\u003cli\u003eUses only I2C port (address 0x58 to 0x5f), leaves all GPIO pins available\u003c\/li\u003e\n\u003cli\u003eWorks with any Raspberry Pi from ZERO to 5\u003c\/li\u003e\n\u003cli\u003eECCN Code EAR99\u003c\/li\u003e\n\u003cli\u003eNo jumpers: input mode selection from DIP switches\u003c\/li\u003e\n\u003cli\u003eAll mounting hardware included: stand-offs, screws and nuts\u003c\/li\u003e\n\u003cli\u003eOpen-source hardware\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch2\u003eSoftware\u003c\/h2\u003e\n\u003ch3\u003eSoftware Interfaces\u003c\/h3\u003e\n\u003cp\u003eYou can write your own application using the Command Line or Python Libraries. No programming is required if you use the Node-Red nodes provided. You can drag and drop the functional blocks to design your application. Examples are provided at GitHub.\u003c\/p\u003e\n\u003ch3\u003eField Calibration\u003c\/h3\u003e\n\u003cp\u003eAll the analog inputs are calibrated at the factory, but firmware commands permit the user to re-calibrate the board, or to calibrate it to better precision. All inputs can be calibrated in two points; select the two points as close as possible to the two ends of the scale. To calibrate the inputs, the user must provide analogue signals. (Example: to calibrate 0-10V inputs, the user must provide a 10V adjustable power supply). The calibration process can be done using the command line interface provided.\u003c\/p\u003e\n\u003ch3\u003eWatchdog\u003c\/h3\u003e\n\u003cp\u003eThe Sixteen Analog\/Digital Inputs card contains a built-in hardware watchdog which will guarantee that your mission-critical project will recover and continue running even if Raspberry Pi software hangs up. After powering up the watchdog is disabled, and becomes active after it receives the first reset or first-period set.\u003c\/p\u003e\n\u003cp\u003eThe default timeout is 120 seconds. Once activated, if it does not receive a subsequent reset from Raspberry Pi within 2 minutes, the watchdog cuts the power and restores it after 10 seconds.\u003c\/p\u003e\n\u003cp\u003eRaspberry Pi needs to issue a reset command on the I2C port before the timer on the watchdog expires. The timer period after power-up and the active timer period can be set from the command line. The number of resets is stored in flash and can be accessed or cleared from the command line. All the watchdog commands are described by the online help function.\u003c\/p\u003e\n\u003ch3\u003eRS485\/MODBUS Communication\u003c\/h3\u003e\n\u003cp\u003eThe card contains a standard RS485 transceiver which can be accessed by the local processor or by Raspberry Pi. The desired configuration is set from three bypass DIP switches marked TX and RX.\u003c\/p\u003e\n\u003ch3\u003eRS-485 Selection\u003c\/h3\u003e\n\u003cp\u003eIf DIP switches are ON, Raspberry Pi can communicate with any device with an RS485 interface. In this configuration, the card is a passive bridge which implements only the hardware levels required by the RS485 protocol. To use this configuration, you need to tell the local processor to release control of the RS485 bus:\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003e~$ 16univin [0] cfg485wr 0 0 0 0 0\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eIf DIP-Switches are OFF, the card can operate as MODBUS slave and implements the MODBUS RTU protocol. Any MODBUS master can access all the card's inputs, and set all the outputs using standard MODBUS commands. A detailed list of commands implemented and parameter addresses can be found on GitHub:\u003c\/p\u003e\n\u003cp\u003eIn both configurations the local processor needs to be programmed to release (DIP-switches ON) or control (DIP-switches OFF) the RS485 signals. See the command line online help for further information.\u003c\/p\u003e\n\u003ch3\u003eFirmware Update\u003c\/h3\u003e\n\u003cp\u003eThe card firmware can be updated in the field by running a command. The update is made with the latest firmware version located on our servers. More instructions about the process can be found on GitHub. Please make sure there is no process, like Node-Red or Python scripts, that tries to access the card during the update process.\u003c\/p\u003e\n\u003ch2\u003eResources\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca rel=\"noopener\" class=\"text-link\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0534\/4392\/0067\/files\/16-UNIV-INPUTS-UsersGuide-VER1_deb9b15c-3352-4937-b510-be9d07d4ae03.pdf?v=1717064386\" title=\"Sixteen Analog\/Digital Inputs for Raspberry Pi\" target=\"_blank\"\u003eUser's Guide V1.0\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca rel=\"noopener\" class=\"text-link\" title=\"Hardware schematics for Sequent Microsystems Sixteen Analog\/Digital Inputs\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0534\/4392\/0067\/files\/Sixteen_univ_in_schematics_V1_0.pdf?v=1707254231\" target=\"_blank\"\u003eHardware Schematics V1.0\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca rel=\"noopener\" class=\"text-link\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0534\/4392\/0067\/files\/3DPrinting.zip?v=1627324035\" title=\"3D Printing Enclosure for Sixteen Universal Inputs for Raspberry Pi\" target=\"_blank\"\u003e3D Printing Enclosure\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca rel=\"noopener\" class=\"text-link\" href=\"https:\/\/cdn.shopify.com\/s\/files\/1\/0534\/4392\/0067\/files\/16-UNIV-INP-V1_0-STEP.zip?v=1703186638\" title=\"3D STEP Model for 16 Universal Inputs for Raspberry Pi\" target=\"_blank\"\u003e3D STEP Model\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca rel=\"noopener\" class=\"text-link\" title=\"Command line interface for Sixteen Analog\/Digital Inputs 8-Layer Stackable HAT for Raspberry Pi\" href=\"https:\/\/github.com\/SequentMicrosystems\/16univin-rpi\/blob\/main\/README.md\" target=\"_blank\"\u003eCommand line\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca rel=\"noopener\" class=\"text-link\" title=\"Sequent Microsystems Sixteen Analog\/Digital Inputs HAT Python Library\" href=\"https:\/\/github.com\/SequentMicrosystems\/16univin-rpi\/blob\/main\/python\/README.md\" target=\"_blank\"\u003ePython Library\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca class=\"text-link\" rel=\"noopener\" title=\"Data Acquisition system with Sixteen Universal Inputs in Node-RED\" href=\"https:\/\/github.com\/SequentMicrosystems\/16univin-rpi\/tree\/main\/node-red\/DataAquisitionDashboard\" target=\"_blank\"\u003eNode-RED Data Acquisition Example\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca class=\"text-link\" rel=\"noopener\" title=\"Sequent Microsystems  Sixteen Universal Inputs Arduino Library\" href=\"https:\/\/github.com\/SequentMicrosystems\/Sequent-16univin-Library\" target=\"_blank\"\u003eArduino Library\u003c\/a\u003e\u003c\/li\u003e\n\u003cli\u003e\u003ca class=\"text-link\" rel=\"noopener\" title=\"Home Assistant Integration for the Sequent Microsystems Sixteen Analog\/Digital Inputs HAT\" href=\"https:\/\/github.com\/SequentMicrosystems\/SM16univin-ha\" target=\"_blank\"\u003eHome Assistant Integration\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003ch3\u003eQuick Start\u003c\/h3\u003e\n\u003cul\u003e\n\u003cli\u003ePlug your card on top of your Raspberry Pi and power up the system\u003c\/li\u003e\n\u003cli\u003eEnable I2C communication on Raspberry Pi using raspi-config.\u003c\/li\u003e\n\u003cli\u003eInstall the software from github.com:\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003e$ git clone https:\/\/github.com\/SequentMicrosystems\/16univin-rpi.git\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e~$ cd \/home\/pi\/16univin-rpi\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e~\/16univin-rpi$ sudo make install\u003c\/strong\u003e\u003cbr\u003e\u003cstrong\u003e~\/16univin-rpi$ 16univin\u003c\/strong\u003e\u003c\/p\u003e\n\u003cp\u003eThe program will respond with a list of available commands.\u003c\/p\u003e\n\u003ch2\u003ePackage Contents\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e1x Sixteen Analog\/Digital Inputs HAT\u003c\/li\u003e\n\u003cli\u003e4x M2.5x18mm male-female brass standoffs\u003c\/li\u003e\n\u003cli\u003e4x M2.5x5mm brass screws\u003c\/li\u003e\n\u003cli\u003e4x M2.5 brass nuts\u003c\/li\u003e\n\u003cli\u003e11x Connector plugs\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003cp\u003e\u003cstrong\u003eRaspberry Pi and CR2023 battery not included\u003c\/strong\u003e\u003c\/p\u003e","brand":"Sequent","offers":[{"title":"Default Title","offer_id":50847195103505,"sku":"106013","price":68.9,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0901\/6285\/6209\/files\/sixteen-analog-digital-inputs-8-layer-stackable-hat-for-raspberry-pi-sequent-106013-71239127171457.jpg?v=1735208224","url":"https:\/\/abcd3032.myshopify.com\/hi\/products\/sixteen-analog-digital-inputs-8-layer-stackable-hat-for-raspberry-pi","provider":"Tayyab Zak","version":"1.0","type":"link"}