Journal of Applied Smart Electrical Network and System (JASENS)
Vol 1 No 02 (2020): Vol 1 No 02 (2020) : December 2020

Antarmuka Mikrokontroller IoT (ESP32) Dengan USB Host max3421e

Rieke Adriati Wijayanti (Politeknik Negeri Malang)
Ahmad Wilda Yulianto (Politeknik Negeri Malang)
Dianthy Marya (Politeknik Negeri Malang)
Muhammad Syirajuddin S. (Politeknik Negeri Malang)
Nurul Hidayati (Politeknik Negeri Malang)



Article Info

Publish Date
31 Dec 2020

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.

Copyrights © 2020






Journal Info

Abbrev

JASENS

Publisher

Subject

Control & Systems Engineering Electrical & Electronics Engineering Energy Engineering

Description

Journal of applied smart electrical network and system (JASENS) aims to provide a forum for academic researchers, industrial professionals, engineers, consultants, managers, educators and practitioners to contribute and disseminate innovative new work on electrical engineering related smart ...