Explore chapters and articles related to this topic
Communication Modules and Protocols
Published in Franjieh El Khoury, Antoine Zgheib, Building a Dedicated GSM GPS Module Tracking System for Fleet Management, 2018
Franjieh El Khoury, Antoine Zgheib
The Serial Peripheral Interface (SPI) is a synchronous communication protocol used by many different devices (e.g., SD card modules, radio frequency identification [RFID] card reader modules, etc.) to communicate with microcontrollers. In SPI, data is transferred in a continuous stream without interruption. The devices communicating via SPI protocol are in a master-slave relationship; where the master is the controlling device (i.e., a microcontroller), and the slave (i.e., a sensor, a display, or a memory chip) takes instruction from the master. This relationship could be between one master and one slave, as shown in Figure 3.2, as well as between one master and multiple slaves (i.e., the master has multiple slave select pins where the slaves can be wired in parallel [Figure 3.3], or the master has one slave select pin where the slaves can be daisy-chained [Figure 3.4]).
Sensors
Published in Volker Ziemann, A Hands-On Course in Sensors Using the Arduino and Raspberry Pi, 2018
The SPI interface is a synchronous serial communication bus, similar to the I2C bus, but it can operate at much higher speed and is therefore often used for devices that require the continuous transfer of large amounts of data, such as displays or audio equipment. SPI communication requires one master on the bus, a role normally taken by a microcontroller. The sensors are typically slave devices. They need at least six wires to connect: ground and supply voltage, the clock CLK, one line to send information from the master to the slave (MOSI, for master-out slave-in), one line for the reverse direction (MISO for master-in slave-out), and a chip-select line CS to identify the currently active slave. CLK, MISO, and MOSI lines can be shared among many slaves, but each slave requires its individual CS line.
Intelligent Sensor Interfaces and Data Format
Published in Fei Hu, Qi Hao, Intelligent Sensor Networks, 2012
Konstantin Mikhaylov, Joni Jamsa, Mika Luimula, Jouni Tervonen, Ville Autio
The serial peripheral interface (SPI) is a synchronous serial interface that can operate in full duplex mode [11]. The typical method for connection of several SPI slave devices to the master is presented in Figure 3.3e. As the figure shows, the SPI bus utilizes three common lines for all slave devices: clock (SCLK); master output, slave input (MOSI); master input, slave output (MISO); and a separate chip select (CS¯) line for each slave. Therefore, before starting the communication, the SPI master device pulls down the CS¯ line of the required slave device to select it. The SPI specification does not define either any maximum data rate (for existing devices it can reach dozens MHz) or any particular addressing scheme or acknowledgment mechanism.
Study on visual machine-learning on the omnidirectional transporting robot
Published in Advanced Robotics, 2020
Adrian Zambrano, Kazuki Abe, Ikumi Suzuki, Theo Combelles, Kenjiro Tadakuma, Riichiro Tadakuma
The DC motors are serially connected via SPI protocol through the IC drivers STK681-332-E that act as slave devices controlled by an Arduino DUE board that acts as the master device. The SPI protocol was implemented considering its advantageous characteristics such as data transmission speeds of up to 10 Mbps and low power consumption.