3.3 KiB
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 moudle is the perfect solution.
Product Features
- Series Protocol: SPI
- 1x UAB stadard A port
- 10x extended GPIO pins
- extended 3v3, 5v & GND
Include
- 1x M5Stack USB Module
Applications
- USB keylogger
- 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 |
Related Link
- Datasheet
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 view the driver installation tutorial
Example
1. 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.
Schematic
MBUS PinMap
<script>
var purchase_link = 'https://m5stack.com/collections/m5-module/products/usb-module';
anchor_search(purchase_link);
scrollFunc();
</script>

