It is an Arduino (only tested on Uno model, don't guarantee the same code works over other models) library for Ebxpio4i4o
Wiring:
Ebxpio4i4o | Arduino Uno |
---|---|
SCL | A5 |
SDA | A4 |
GND | GND |
The library is using Wire library, so please make sure you have it functioning (as default it is functioning).
- First download the repository and unzip it.
- copy the extracted folder EB_XPIO4I4O to:
- {your Arduino folder}/libraries/
- You are ready to go!
- There is a built-in example that shows the sample use of the library, and it can be reached from the Arduino IDE (if you successfully installed the library):
- Files->Examples->EB_XPIO4I4O->BasicExample.ino
- Board Description
- Input voltage: 9~30VDC – 22-14AWG 1.5mm2
- 4xOutput power relays
- 4xPulled-up Inputs – Powered by ULN2003 and can handle 500mA based on its datasheet
- 1xExternal interrupt for inputs
- Compatible with All 5VDC Arduinos’ boards
- Compatible with EBRPIH1118 ElectronBit’s Rasspberry Pi
- Dimension: 97mm*87mm
- Pluggable terminal block connector for relays can handle 28-12AWG 2.5mm2
- Board is addressable and can have 8 of them on your I2C network