INAJEEE (Indonesian Journal of Electrical and Electronics Engineering)
Vol. 3 No. 2 (2020)

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

Farid Baskoro (Universitas Negeri Surabaya)
Miftahur Rohman (Universitas Negeri Surabaya)
Aristyawan Putra Nurdiansyah (Unknown)



Article Info

Publish Date
28 Aug 2020

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.

Copyrights © 2020






Journal Info

Abbrev

inajeee

Publisher

Subject

Control & Systems Engineering Electrical & Electronics Engineering Energy Engineering

Description

INAJEEE or Indonesian Journal of Electrical and Eletronics Engineering (E-ISSN 2614-2589) is a scientific peer-reviewed journal issued by The Department of Electronics, Faculty of Engineering, Universitas Negeri Surabaya (UNESA). Accepted articles will be published online and the article can be ...