Ciao Library is a lightweight library that can be used inside sketches for MCU to send
and receive data, via serial communication, in a simple and intuitive way.
A SoftwareSerial library allows for serial communication on any of the Industrial 101's
digital pins.
The ATmega32U4 also supports I2C (TWI) and SPI communication. The Arduino
software includes a Wire library to simplify use of the I2C bus. For SPI
communication, use the SPI library.
The Industrial 101 appears as a generic keyboard and mouse, and can be
programmed to control these input devices using the Keyboard and Mouse classes.
The onboard Ethernet (you need the "Ethernet add-on" for example dogrj45) and WiFi interfaces are
exposed directly to the AR9331 processor. To send and receive data through them, use the Bridge or
Ciao library.
The Industrial 101 is prepared to add an USB host (for example the dogUSB) that you allow to
connect peripherals like USB flash devices for additional storage, keyboards, or webcams. You may
need to download and install additional software for these devices to work.
Programming
The Industrial 101 can be programmed with the Arduino software (download). Select
"Arduino Industrial 101 from the Tools > Board menu (according to the
microcontroller on your board).
The ATmega32U4 on the Arduino Industrial 101 comes preburned with a bootloader
that allows you to upload new code to it without the use of an external hardware
programmer. It communicates using the AVR109 protocol.
You can also bypass the bootloader and program the microcontroller through the
ICSP (In-Circuit Serial Programming) header using Arduino ISP or similar;
Automatic (Software) Reset
Rather than requiring a physical press of the reset button before an upload, the
Industrial 101 is designed in a way that allows it to be reset by software running on a
connected computer. The reset is triggered when the Industrial 101's virtual (CDC)
serial / COM port is opened at 1200 baud and then closed. When this happens, the
processor will reset, breaking the USB connection to the computer (meaning that the
virtual serial / COM port will disappear). After the processor resets, the bootloader
starts, remaining active for about 8 seconds. The bootloader can also be initiated by
pressing the reset button on the Industrial 101. Note that when the board first powers
up, it will jump straight to the user sketch, if present, rather than initiating the
bootloader.