We just published on our YouTube channel a new video representing how it’s possible to extend Arduino resources with Archiduino and our Xtendino library. The video “Arduino SPI interfaces” shows a test on a double slave and explains how it’s possible to expand a master Arduino (in this case an Arduino Leonardo) without taking up the connectors on which we usually mount the expansion shields. For communication with the slaves it uses the SPI bus.
Thanks to the high performance of the SPI bus, this system can send a command in less than a millisecond. In fact, the time taken for the transmission of a byte is less than 4 microseconds.
With Archiduino, along with the library Xtendino, you can implement on the Arduino the following resources:
- LCD and keypad
- digital inputs and outputs
- analog inputs and outputs
- up to three serial ports (one hardware and two software)
The library Xtendino has been specifically designed to handle one or more slave boards.
The slave enabling is managed by software, not via the chip-select of the SPI bus. In this way you don’t use the resources of the Arduino board that operates as a master. Note that the SPI bus is not suitable to operate over long distances, but for an experimental use and educational purposes it offers good performance and it’s sufficiently reliable.
Here the video, enjoy.