Difference between revisions of "Microduino-Module USBHOST"
(→Development) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 62: | Line 62: | ||
==Document== | ==Document== | ||
Eagle PCB local download | Eagle PCB local download | ||
− | Main | + | Main components: |
*Voltage converter chip:TC74HC4050 '''[[File:TC74HC4050AF.pdf]]''' | *Voltage converter chip:TC74HC4050 '''[[File:TC74HC4050AF.pdf]]''' | ||
− | *Main control | + | *Main control chi: MAX3421E '''[[File:MAX3421E.pdf]]''' |
==Development== | ==Development== | ||
Line 89: | Line 89: | ||
==Application== | ==Application== | ||
− | Light a LED via a mobile using the ADK example | + | Light a LED via a mobile using the ADK example library: |
===Prepare work=== | ===Prepare work=== | ||
− | *Prepared | + | *Prepared hardware: Microduino FT232R, Microduino Core, Microduino USBHOST, OTG cable, make sure your Android device supports and turn on the USB debug mode, USB cable; |
− | *Prepared | + | *Prepared software: USB_Host_Shield_2.0 library, Arduino IDE(1.0 release and upper); |
− | *Uncompress the zip folder and rename to | + | *Uncompress the zip folder and rename to "USB_Host_Shield" because Arduino IDE doesn't support any special characters, then copy to libraries folder of Arduino IDE; |
− | *Connect the Microduino FT232R and PC using USB cable to download program and serial | + | *Connect the Microduino FT232R and PC using USB cable to download program and serial monitor; |
− | *Connect a LED to I/O port D6 of Microduino- | + | *Connect a LED to I/O port D6 of Microduino-Core. |
===Debug=== | ===Debug=== | ||
− | *Open the example program "ArduinoBlinkLED" from ADK folder of | + | *Open the example program "ArduinoBlinkLED" from ADK folder of examples; |
− | *Change LED_BUILTIN to Microduino pin in "#define LED LED_BUILTIN", such as "#define LED 6". But can't be D13, because D13 is used as SCK | + | *Change LED_BUILTIN to Microduino pin in "#define LED LED_BUILTIN", such as "#define LED 6". But can't be D13, because D13 is used as SCK; |
− | *After compiled, select the board "Microduino Core (Atmega328P@16M,5V)", download | + | *After compiled, select the board "Microduino Core (Atmega328P@16M,5V)", download directly; |
*Connect the mobile phone and Microduino USBHOST by OTG cable and USB cable; | *Connect the mobile phone and Microduino USBHOST by OTG cable and USB cable; | ||
− | *Open the | + | *Open the serial monitor, will display "Arduino Blink LED Started"; |
− | *The phone will automatically pop up the application "ArduinoBlinkLED", download and install | + | *The phone will automatically pop up the application "ArduinoBlinkLED", download and install it; |
− | *After installed the application, will | + | *After installed the application, will prompt to open the USB connection fittings, and click OK to enter the program interface; |
*Successful connection will show "connected", and can control the LED light on and off via the button. | *Successful connection will show "connected", and can control the LED light on and off via the button. | ||
Latest revision as of 04:20, 4 August 2017
Language: | English • 中文 |
---|
Microduino USBHOST mainly offers the USB host function for devices, supporting USB host controller and USB peripherals, such as mobile phones with OTG function, keyboards, joystick, and camera. ContentsFeatures
Specifications
DocumentEagle PCB local download Main components:
Development
An ordinary Bluetooth adapter. You can easily add different Bluetooth services, such as a PS3 or Wii controller or SPP which is supported through Bluetooth virtual serial port. A number of different examples can be found in the examples directory.
Connect USB peripherals. Such as a mouse, handle etc.
Connect HID devices via Bluetooth, currently supports HID mouse and keyboard.
Allow you send data to your Microduino from PM/mobile phone via Bluetooth.
Allow you to use the Sony PS4 controller via Bluetooth and USB.
Use DUALSHOCK3, navigation or motion controller via Bluetooth and USB.
The library uses USB as the Xbox 360 controller. ApplicationLight a LED via a mobile using the ADK example library: Prepare work
Debug
BugHistoryPictureFrontBackVideo |