Module USB

SKU:M020

Description

USB is a USB driver module, integrated MAX3421E which adds USB host or peripheral capability to any system with an SPI interface. Ever up for adding the standard USB features on your project? this M5 module is the perfect solution.

Core2 and CoreS3 are not compatible with this product. If used with Core2, please cut the EN pin of MBus.

Product Features

  • Series Protocol: SPI
  • 1x UAB standard A port
  • 10x extended GPIO pins
  • extended 3v3, 5v & GND

Include

  • 1x M5Stack USB Module

Applications

  • USB key logger
  • Read and write U disk using M5Core

Specification

Resources Parameter
Net weight 13g
Gross weight 25g
Product Size 54.2*54.2*12.8mm
Package Size 60*57*17mm

EasyLoader

download EasyLoader

1.EasyLoader is a simple and fast program burner. Every product page in EasyLoader provides a product-related case program. It can be burned to the master through simple steps, and a series of function verification can be performed.

2.After downloading the software, double-click to run the application, connect the M5 device to the computer via the data cable, select the port parameters, and click "Burn" to start burning.

3.The CP210X (USB driver) needs to be installed before the EasyLoader is burned. Click here to download driver

MBUS PinMap

Schematic

Example

Arduino IDE

To get complete code, please click here

NOTE:

Before compile this example code, you need to download the corresponding USB library from here . Unzip and copy this library folder to Arduino library path.( This is my pathC:/Users/<user_name>/Documents/Arduino/libraries)

Download the example usb_mouse.ino

Plug the USB mouse into USB A port.

  • Hold down the left button to draw white lines.

  • Hold down the right button to draw green line.

  • Press the middle wheel button to clear the screen.

Version Change

Release Date Product Changes Notes
- First Release /
2023.1 The driver model was changed from MAX3421EEHJ+ to MAX3421EETJ+ /