Penerapan Metoda Serial Peripheral Interface (SPI) pada Rancang Bangun Data Logger berbasis SD card

RATNA SUSANA, MUHAMMAD ICHWAN, SAVERO AL PHARD

Sari


ABSTRAK

Serial Peripheral Interface (SPI) adalah protokol komunikasi yang dapat digunakan sebagai interface komunikasi antara mikrokontroler dengan SD Card. Dengan menerapkan metoda SPI pada data logger berbasis SD Card, maka dapat diketahui karakteristik protokol komunikasi SPI antara mikrokontroler dengan SD Card. SD Card diformat dengan tipe FAT 16, dan data di dalam SD Card berupa sekumpulan paket data sensor yang diambil secara periodik dan disimpan dalam bentuk file dengan format.csv. Berdasarkan format paket data sensor yang dibuat, dapat dihitungwaktu perekaman data yang diperlukan agar kapasitas SD Card terisi penuh oleh data sensor. Hasil penelitian menunjukkan,bahwa metoda SPI yang diterapkan pada penelitian ini memiliki sifat akan melakukan pemeriksaan berulang pada pin MISO terhadap command yang dikirimkan oleh mikrokontroler melalui pin MOSI. Proses read/write data pada SD Card data logger memiliki keberhasilan 100%, karena SD Card telah terinisialisasi dalam mode SPI melalui perintah reset dan init SD Card. Komunikasi ini dapat dilakukan dengan menggunakan crystal 4 Mhz – 20 Mhz. Untuk pengujian konfigurasi SPI, hanya Independent Slave Configuration yang dapat digunakan pada komunikasi SPI dengan 2 SD card sebagai slave.

Kata kunci: Serial Peripheral Interface (SPI), Data Logger, SD card, FAT16


ABSTRACT

Serial Peripheral Interface (SPI) is a communication protocol that can be applied as a communication interface between microcontroller to SD Card. By implementing the SPI method to a data logger based on SD Card, it can be known the characteristics of the SPI communications protocol between microcontroller to SD Card. SD Card formatted in FAT 16 type, and data on the SD Card is the form of sensor data packets collection which be captured periodically and saved in .csv format file. Based on the sensor data packet format is created, it can be calculated recording time data required so that the SD Card capacity completely filled by the sensor data. Research results show, that the SPI method applied in this study has the properties will do repeated testing on MISO pin to the command sent by the microcontroller through the MOSI pin. The read / write data on the SD Card data logger has a 100% success, because the SD Card has been initialized in SPI mode through the reset and init SD Card command.  This communication can be established using crystal 4 Mhz - 20 Mhz. At SPI configuration testing, only the Independent Slave Configuration can be used in SPI communication with 2 SD card as a slave.

Keywords: Serial Peripheral Interface (SPI), Data Logger, SD card, FAT16


Teks Lengkap:

PDF

Referensi


Badhiye, S.S., Chatur, P.N., Wakode, B.V. (2011). Data Logger System: A Survey. International Journal of Computer Technology and Electronics Engineering(IJCTEE): 24-26.

Choudhury, S., Singh G.K., Mehra R.M. (2014). Design and Verification Serial Peripheral Interface (SPI) Protocol for Low Power Applications. International Journal of Innovative Research in Science, Engineering and Tecgnology: 16750-16758. ISSN: 2319-8753.

Dutta, K., P., Rai, P., Pandey, R. K.. (2014). Microcontroller Based Automatic Multichannel Temperature Monitoring System. International Journal of Advanced Research in Electrical, Electronics and Instrument Engineering. Vol 3, Issue 9: 11771-11777 ISSN : 2278-8875.

Hartono, R.. (2013). Perancangan Sistem Data Logger Temperature Baterai Berbasis Arduino Duemilanove. Proyek Akhir.

Kriti,J., et al. (2015). Design and Implementation of Microcontroller Based Speed Data Logger. GE-INTERNATIONAL JOURNAL OF ENGINEERING RESEARCH. VOL-3, ISSUE-5 IF-4.007: 139-145 ISSN: (2321-1717).

Nhivekar, G., S., Mudholker, R., R. (2011). Data Logger and Remote Monitoring System for Multiple Paramater Measurement Application. E-Journal of Science & Technology (e-JST). 55-62

SIMAK, V., HRBCEK, J.,Juraj, Z. (2011). Modular Approach During On-Board Unit Development. Journal of Information, Control and Management Systems. Vol 9: 145-150

Setiono, A.,et al. (2010). Pembuatan Dan Uji Coba Data Logger Berbasis Mikrokontroler Atmega32 Untuk Monitoring Pergeseran Tanah. Jurnal Fisika Himpunan Fisika Indonesia. Vol 10: 83-94. ISSN 0854-3046.




DOI: https://doi.org/10.26760/elkomika.v4i2.208

Refbacks

  • Saat ini tidak ada refbacks.


_______________________________________________________________________________________________________________________

ISSN (cetak) : 2338-8323 | ISSN (elektronik) : 2459-9638

diterbitkan oleh :

Teknik Elektro Institut Teknologi Nasional Bandung

Alamat : Gedung 20 Jl. PHH. Mustofa 23 Bandung 40124

Kontak : Tel. 7272215 (ext. 206) Fax. 7202892

Surat Elektronik : jte.itenas@itenas.ac.id________________________________________________________________________________________________________________________

Statistik Pengunjung

Free counters!

Web

Analytics Made Easy - StatCounter

Lihat Statistik Jurnal

Jurnal ini terlisensi oleh Creative Commons Attribution-ShareAlike 4.0 International License.

Creative Commons License