Abstract

Electronic equipment made using old technology or electronic equipment in the entry-level category has not been supported by networking equipment, so for the data communication process, the microcontroller requires interfacing facilities that are in accordance with the electronic equipment used, such as a USB port. With the microcontroller that supports IoT, it allows electronic equipment to communicate over the network. An IoT microcontroller such as the ESP32 is equipped with a WiFi feature but is not equipped with a USB controller feature, while the USB Host max3421e supports the communication process using SPI, so that those two microcontrollers can be used to form an interface using the SPI bus. This interface can be applied to electronic equipment with old technology and entry level electronic equipment for wireless communication. For the needs of making an interface between the ESP32 and max3421e, a software was developed by analyzing the SPI features of the ESP32 and the USB protocol according to the USB device state diagram. The results obtained are the handshake process between systems developed with USB devices in the Low-Speed ​​and Full-Speed ​​categories such as printers, flashdisk, bluetooth mouse and external hard disk, and the device descriptor data of each device tested can be read properly.

Highlights

  • electronic equipment in the entry level category has not been supported by networking equipment

  • the microcontroller requires interfacing facilities that are in accordance with the electronic equipment used

  • it allows electronic equipment to communicate over the network

Read more

Summary

Metode Penelitian

Komunikasi SPI yang digunakan pada penelitian ini Penelitian ini diawali dengan merangkai mikrokontroller menggunakan 4 jalur, yaitu MOSI, MISO, SCK dan CS. USB Host max3421e Mode SPI yang digunakan adalah mode 0 atau full tersedia di pasar dalam bentuk modul yang kompatibel duplex, yaitu baik master dan slave bisa mengirim data dengan port modul Arduino. Untuk dapat terkoneksi pada saat yang sama melalui jalur MOSI dan MISO. Dengan mikrokontroller ESP32, diperlukan routing yang Selama komunikasi ini, data ditransmisikan secara dirangkai di prototype board seperti terlihat pada bersamaan (bergeser secara serial ke bus MOSI / SDO). Untuk komunikasi SPI sendiri membutuhkan paling tidak tiga jalur, yakni MOSI, MISO, dan SCK. Melalui komunikasi ini data dapat saling dikirimkan baik antar mikrokontroler, maupun antara mikrokontroler dengan peripheral lainnya yang mendukung komunikasi dengan.

Pengembangan Software
Pengujian dengan Printer Epson L210
Kesimpulan
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call