商品图

Elecbee USB Module USB HOST/HID with MAX3421E SPI Interface Output*5 Input*5

SKU: EB0050755
Favorites

Key Features

Show More
Datasheet
Description

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.

Series Protocol: SPI

Product Features:

  • 1x UAB stadard A port
  • 10x extended GPIO pins
  • extended 3v3, 5v & GND
  • Product Size: 4.2mm x 54.2mm x 12.8mm
  • Product weight: 14.5g

  • 1x M5Stack USB Module

Application:

  • USB keylogger
  • Read and write U disk using M5Core
  • Offical Video: https://www.youtube.com/channel/UCozgFVglWYQXbvTmGyS739w

  • Forum: http://forum.m5stack.com/

  • Datasheet - MAX3421E

EasyLoader

USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723

: https://m5stack.oss-cn-shenzhen.aliyuncs.com/EasyLoader/Module/EasyLoader_USB.exe


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 mas ter through simple steps, and a series of function verification can be performed.(Currently EasyLoader is only available for Windows OS)

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: https://docs.m5stack.com/#/en/related_documents/M5Burner?id=install-usb-driver

Example:

To get complete code, please click here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/USB/.

NOTE:

Before compile this example code, you need to download the corresponding USB library from here: https://github.com/m5stack/M5-ProductExampleCodes/tree/master/Module/USB//Library. Unzip and copy this library folder to Ardui no library pa th.( This is my pa thC:UsersDocumentsArdui nolibraries)

USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723

Download the example usb_m o u se.ino

Plug the USB m o u se 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.

  #include <M5Stack.h>  #include <SPI.h>  #include <Usb.h>  #include <hiduniversal.h>  #include <hidboot.h>  #include <usbhub.h>  #include "M5Mou se.h"    // new objects  USB Usb;  USBHub  Hub(&Usb);  HIDBoot<USB_HID_PROTOCOL_M O U SE> HidMouse(&Usb);  MouseRptParser  Pr s;    // initialization  M5.begin();  Usb.Init();  HidMouse.SetReportParser(0,(HIDReportParser*)&Pr s);    // handle event coming from usb device  Usb.Task();  if(Usb.getUsbTaskState() == USB_STATE_RUNNING)  {    M o u se_Pointer(mou_px, mou_py);    mou_px = 0;    mou_py = 0;    /* left button pressed: draw white point */    if (mou_button == 1)      M5.Lcd.drawCircle(StaPotX, StaPotY, 1, WHITE);    /* right button pressed: draw green point */    if (mou_button == 2)      M5.Lcd.drawCircle(StaPotX, StaPotY, 1, GREEN);    /* middle button pressed: clear screen */    if (mou_button == 4)      M5.Lcd.fillScreen(BLACK);  }
USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723



Schematic:


USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723
USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723

USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723

USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723

USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723

USB-Module-USB-HOSTHID-with-MAX3421E-SPI-Interface-Output5-Input5-1549723
Shopping Guide
Shipping
Delivery Period
For in-stock parts, orders are estimated to ship out in 3 days.
Elecbee ships orders once a day at about 5pm except Sunday.
Once shipped, estimated delivery time depends on the below carriers you chose.
DHL Express: 3-7 business days
DHLeCommerce: 12-22 business days
FedEx International Priority: 3-7 business days
EMS: 10-15 business days
Registered Air Mail: 15-30 business days
Shipping RatesShipping rates for your order can be found in the shopping cart.
Shipping OptionsShipping rates for your order can be found in the shopping cart.
Shipping TrackingWe will notify you by email with tracking number once order is shipped. You can track your order using the “Track My Order” feature.
Returning/WarrantyReturningReturns are normally accepted when completed within 30 days from date of shipment, please contact customer service for a return authorization. Parts should be unused and in original packaging. Customer has to take charge for the shipping
WarrantyAll Elecbee purchases come with a 30-day money-back return policy, plus 1-year Elecbee warranty against any manufacturing defects.
This warranty shall not apply to any item where defects have been caused by improper customer assembly failure by customer to follow instructions, product modification, negligent or improper operation
OrderingHow to BuyElecbee accepts online orders.
Add to cart > Check out > Submit order > Complete payment > Delivery
PaymentPayPal, Credit Card includes Visa, Master, American Express, Bank transfer.
Reviews
ELECBEE
All reviews come from verified purchasers
5
0%
4
0%
3
0%
2
0%
1
0%
In-Stock:9995
Qty.
1
Unit Price
$ 16.99$ 19.99
Ext. Price
$ 16.99$ 19.99
$ 16.99$ 19.99
Can Ship in 1-3 Business Days