The Yocto-IO device provides 4 digital I/O, electrically insulated from the USB bus. Each I/O bit can be configured individually as a simple input, an open-drain input (internal pull-up), a TTL/CMOS-like output, or an open-drain output (open collector).
Without external power source, each I/O pin can receive or produce a digital signal at 3V or 5V levels (low current).
With an external power source, the device can work with voltages up to 28V and deliver up to 250mA per channel, which makes it possible to drive small relays for instance.
If you need more channels, you can use the Yocto-Maxi-IO-V2.
This device can be connected directly to an Ethernet network using a YoctoHub-Ethernet, to a WiFi network using a YoctoHub-Wireless-n and to a GSM network using a YoctoHub-GSM.
USB cables and enclosures to be ordered separately.
Is it possible to use Yocto-IO as both a Yocto-button and a Yocto-relay? I'm trying to find a way of connecting it on the manual, but I couldn't find any help regarding the actual connections.
@cesarcoll : yes it can be done. The "magic" setting is the open drain parameter. More details in the user manual, 3.5. Configuration, I/O configuration.
My developing tool is node.js,
I download the User manual (PDF), in P.33 ,
it mentioned "To give it a try, go into one of the example directory (for instance example_nodejs/Doc-Inventory).
You will see that it include an application description file (package.json) and a source file (demo.js)."
But I can't find the files, where can I download them?
@icys: This is probably because you have only installed the library as a node package, so you don't see the examples. You can download them from the full zip of Ecmascript library available on https://www.yoctopuce.com/EN/libraries.php