Add general purpose input/output lines to your projects. This circuit is a 12 pin digital GPIO interface which connects to an USB host port. 12-bit general purpose input/output (GPIO) board with a...Read More…
Add general purpose input/output lines to your projects. This circuit is a 12 pin digital GPIO interface which connects to an USB host port.
Connect the GPIO board using a micro USB cable to the the host. The GPIO board can be controlled from a Windows/Linux computer, Raspberry Pi board or OpenWrt router. When connected for the first time, windows requires installing a driver.
Examples of use:
controlio setdir 0xffff # set all I/O pins as input
controlio -ob getport # Read the digital I/O port states
Example command output is (input states prefixed by 0b): 0b1111000011111111
controlio setdir 0 # set all I/O pins as output
controlio setport 0 # set all output I/O pins LOW
controlio setport 0b1100 # set the RC2 and RC3 I/O pins HIGH, other output pins LOW (works only on output pins)
controlio setbit 0b1000000000000000 # set the RB7 output pin HIGH, don't change other output pins (works only if RB7 is an output pin)
controlio clearbit 0b1000000000001 # set the RB4 and the RC0 output pins LOW, don't change other output pins (works only if RB4 and RC0 are output pins)
Please read the the full documentation.
Download drivers and utilities for the USB relay board. The package contains:
|Shipping Rate||First item||Additional items|
Royal Mail: International Tracked and Signed
We recognize our top users by making them a Tindarian. Tindarians have access to secret & unreleased features.
We look for the most active & best members of the Tindie community, and invite them to join. There isn't a selection process or form to fill out. The only way to become a Tindarian is by being a nice & active member of the Tindie community!