Serial Peripheral Interface (SPI) Communication Application as Output Pin Expansion in Arduino Uno

Authors

  • Farid Baskoro Universitas Negeri Surabaya
  • Miftahur Rohman Universitas Negeri Surabaya
  • Aristyawan Putra Nurdiansyah

DOI:

https://doi.org/10.26740/inajeee.v3n2.p63-69

Keywords:

Expansion, MCP23S17, SPI

Abstract

Serial Peripheral Interface (SPI) is a synchronous serial communication whose data or signal transmission involves Chip Select (CS) or Slave Select (SS) pins, Serial Clock (SCK), Master Out Slave In (MOSI), and Master In Slave Out (MISO). In the Arduino Uno, there are four pins that allow Arduino Uno to perform SPI communication. In this research, SPI communication is implemented to expand the output of the Arduino Uno by using the features of the MCP23S17 IC so that the Arduino Uno, which initially has 20 output pins, can expand to 36 output pins.The results of the research show that the Arduino Uno manages to control 36 output pins. 16 output pins from the MCP23S17, 16 output pins from the Arduino Uno, and 4 pins are used for the SPI communication line. The results of this study also show the form of the SPI communication signal from Arduino Uno in declaring 21 registers on MCP23S17, declaring the MCP23S17 pin register as output, and implementing the output using LEDs.

References

<p>[1]    Susana, Ratna, Muhammad Ichwan, and Savero AL Phard. 2018. œPenerapan Metoda Serial Peripheral Interface (SPI) Pada Rancang Bangun Data Logger Berbasis SD Card. ELKOMIKA: Jurnal Teknik Energi Elektrik, Teknik Telekomunikasi, &amp; Teknik Elektronika 4(2): 208.</p>

<p>[2]    Puspitaningayu P, Baskoro F, Buditjahjanto IA. Komunikasi Data dan Komputer.</p><p> </p>

<p>[3]    Trivedi, Dvijen, Aniruddha Khade, Kashish Jain, and Ruchira Jadhav. 2018. œSPI to I2C Protocol Conversion Using Verilog. Proceedings - 2018 4th International Conference on Computing, Communication Control and Automation, ICCUBEA 2018: 14.</p>

<p>[4]    Arshad, M. K.Md, U. Hashim, and Chew Ming Choo. 2006. œCharacteristics of Serial Peripheral Interfaces (SPI) Timing Parameters for Optical Mouse Sensor. IEEE International Conference on Semiconductor Electronics, Proceedings, ICSE: 57682.</p>

<p>[5]    Anand, N., George Joseph, Suwin Sam Oommen, and R. Dhanabal. 2014. œDesign and Implementation of a High Speed Serial Peripheral Interface. 2014 International Conference on Advances in Electrical Engineering, ICAEE 2014.</p>

<p>[6]    Li, Li Li, Jing Yu He, Yong Peng Zhao, and Jian Hong Yang. 2014. œDesign of Microcontroller Standard SPI Interface. Applied Mechanics and Materials 618(March 2017): 56368.</p>

<p>[7]    Microchip. 2016. œMcp23017/Mcp23S17. : 142. papers3://publication/uuid/FCEDDDC0-C695-4128-BF5A-A73A715E4E7F.</p>

<p>[8]    Ferreira, Luis F., Emilio L. Matos, Luis M. Menendez, and Enrique Mandado. 2005. œMILES: A Microcontroller Learning System Combining Hardware and Software Tools. Proceedings - Frontiers in Education Conference, FIE 2005: 711.</p>

<p>[9]    Banerjee, Soumyendu et al. 2019. œReal-Time Monitoring and Control of Consumed Power for Household Appliances Using Arduino Uno through Bluetooth and Android Application. Proceedings of the International Conference on Trends in Electronics and Informatics, ICOEI 2019 2019-April(Icoei): 52933.</p>

<p>[10] Kasenda, Sonny, Doostenreyk Kantohe, Maureen Langie, and Anthoinete Waroh. 2018. œLight Intensity Control Prototype Design Using Arduino Uno. Proceedings - 2018 International Conference on Applied Science and Technology, iCAST 2018: 56366.</p>

Downloads

Published

2020-08-28

Issue

Section

Articles
Abstract views: 451 , PDF Downloads: 326

Most read articles by the same author(s)