USB Type A Female Breakout Hookup Guide

Similar documents
AT42QT1010 Capacitive Touch Breakout Hookup Guide

AT42QT101X Capacitive Touch Breakout Hookup Guide

VL6180 Hookup Guide. Introduction. Board Overview - VL6180 Breakout. Covered in this Tutorial. Suggested Reading

VKey Voltage Keypad Hookup Guide

Si4703 FM Radio Receiver Hookup Guide

SX1509 I/O Expander Breakout Hookup Guide

Serial Basic Hookup Guide

Halloween Pumpkinusing. Wednesday, October 17, 12

Part Number Density Product Type Operation Temperature. W25Q80NESNIG 8Mb 1.2V Serial NOR Flash Memory Industrial (-40 C to +85 C)

8051 Intermidiate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

A4988 Stepper Motor Driver Carrier with Voltage Regulators

ARDUINO LEONARDO WITH HEADERS Code: A000057

ZX Distance and Gesture Sensor SMD Hookup Guide

Adafruit USB Power Gauge Mini-Kit

Thumb Joystick Retail. Tools and parts you'll need. Things you'll want to know. How does it work? Skill Level: Beginner. by MikeGrusin March 22, 2011

Device: PLT This document Version: 3.0. For hardware Version: 4. For firmware Version: Date: April 2014

Lab 2.2 Ohm s Law and Introduction to Arduinos

ARDUINO MINI 05 Code: A000087

LIS3DH Hookup Guide. Introduction. SparkFun Triple Axis Accelerometer Breakout - LIS3DH SEN Required Materials

Bill of Materials: Turn Off the Lights Reminder PART NO

Quick Start Guide for mbed enabling Freescale FRDM-KL25z Freedom board

PIC Dev 14 Through hole PCB Assembly and Test Lab 1

Step-by-step guide to unbrick TP-Link Archer C9 v1 and revert to stock using serial recovery

Laboratory 1 Introduction to the Arduino boards

ITG-3200 Hookup Guide

Application Note: 207

P16105: CubeSat Attitude Determination Control System (ADCS) Testing Apparatus Presents

Adafruit 1-Wire GPIO Breakout - DS2413

PIC Dev 14 Surface Mount PCB Assembly and Test Lab 1

Manual. Specifications. Contents. Options

Note. The above image and many others are courtesy of - this is a wonderful resource for designing circuits.

ESPixelStick V2 Assembly and Usage

ARM: Microcontroller Touch-switch Design & Test (Part 1)

Pre-Laboratory #Boolean Expressions ECE 332

8051 Basic Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Freeduino USB 1.0. Arduino Compatible Development Board Starter Guide. 1. Overview

OSDoge. Setup handbook

Adafruit DS3231 Precision RTC Breakout

SparkFun Blocks for Intel Edison - Base Block

USER GUIDE 1 INTRODUCTION 2 GENERAL DESCRIPTION. A) Mbed enabled MCU Board. B) Shield Board. Quad SPI Evaluation Kit

MMA8452Q Accelerometer Breakout Hookup Guide

Grelllbbb s ESP Flashamater Adaptimizer Assembly & User Guide

Large Solderable Breadboard Hookup Guide

ARDUINO LEONARDO ETH Code: A000022

keyestudio Keyestudio MEGA 2560 R3 Board

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Qwiic Shield for Arduino & Photon Hookup Guide

Gooligum Electronics 2015

Tutorial 1: Software Setup

ELMO Board Programming Guide

EK307 Lab: Microcontrollers

RedBoard Hookup Guide

ARDUINO MICRO WITHOUT HEADERS Code: A000093

Hardware Overview. Onboard Sensors. Pressure, Humidity, and Temperature. Air Quality and Temperature

Evaluation board for NXP LPC2103. User Guide. Preliminary Version updated 27 th Aug TechToys Company All Rights Reserved

AVR Intermediate Development Board. Product Manual. Contents. 1) Overview 2) Features 3) Using the board 4) Troubleshooting and getting help

Manual 601: : USB/RS232. Specifications. Contents. Options

Quick Start by JP Liew

1.6inch SPI Module user manual

Arduino ADK Rev.3 Board A000069

PSIM Tutorial. How to Use SCI for Real-Time Monitoring in F2833x Target. February Powersim Inc.

This is the Arduino Uno: This is the Arduino motor shield: Digital pins (0-13) Ground Rail

CMS-8GP32. A Motorola MC68HC908GP32 Microcontroller Board. xiom anufacturing

A4988 Stepper Motor Driver Carrier

If I wanted to connect an LED and little light bulb and have them switch on and off with one switch, my schematic would look like the one below.

A4988 Stepper Motor Driver Carrier, Black Edition

SILICA TUSA Silica Tusa Board

ARDUINO INDUSTRIAL 1 01 Code: A000126

Adafruit SHT31-D Temperature & Humidity Sensor Breakout

Executive summary. Gather up the materials & tools required. Set up the BT2S for the ProChrono baud rate:

MAXREFDES131#: 1-WIRE GRID-EYE SENSOR

An FTDI connection: The ATtiny microcontrollers don t have a hardware UART External Crystal header pins for an optional crystal

Prototyping Module Datasheet

TA0139 USER MANUAL ARDUINO 2 WHEEL DRIVE WIRELESS BLUETOOTH ROBOT KIT

GammaTron USB Module

um-fpu64 Floating Point Coprocessor 28-pin Breakout Board Introduction Bare um-fpu64 28-pin Breakout Board

Hardware Overview and Features

PCB-STM32-F3U. Development baseboard for the STMicro Discovery-F3 module (STMicro part# STM32F3DISCOVERY)

ARDUINO MEGA ADK REV3 Code: A000069

A Hacker s Introduction to the Nokia N900

USB-TTL Interface Module Reference Manual

EL Sequencer/Escudo Dos Hookup Guide

HUB-ee BMD-S Arduino Proto Shield V1.1

USB-to-I2C Basic. Hardware User s Manual.

Name EET 1131 Lab #14 Random Access Memory

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008

mbed Hello World! Introduction to mbed

Prototyping & Engineering Electronics Kits Basic Kit Guide

Description: USB to Serial interface and USB development platform

StenBOT Robot Kit. Stensat Group LLC, Copyright 2018

Adafruit 1-Wire Thermocouple Amplifier - MAX31850K

Gospeed.Racer Hub Assembly for the Asus EEEpc

LCMM024: DRV8825 Stepper Motor Driver Carrier,

ROBOTLINKING THE POWER SUPPLY LEARNING KIT TUTORIAL

ARDUINO MEGA 2560 REV3 Code: A000067

S32K148 EVB QUICK START GUIDE REV1 APPLIES FOR: S32K148 EVB (SCH REV A/B) EXTERNAL USE

You have a PC with a USB interface, running Microsoft Windows XP (SP2 or greater) or Vista You have the Workshop Installation Software Flash Drive

University of Hull Department of Computer Science C4DI Interfacing with Arduinos

MAG3110 Magnetometer Hookup Guide

Introduction to Arduino (programming, wiring, and more!)

Transcription:

Page 1 of 7 USB Type A Female Breakout Hookup Guide Introduction If you have a microcontroller that can act as a USB host, then you will need a way to plug in USB cables and devices. The USB Type A Female Breakout accepts a Type A USB plug on one end and breaks out the 4 USB lines to a standard 0.100 inch header. USB Type A Female Breakout NOTE: This tutorial uses the mbed LPC1768, as it has a built-in USB host. However, the breakout board can be used for any platform that has a USB host. Covered In This Tutorial In this tutorial, we will use the mbed LPB1768 and the USB Type A Female Breakout to create a simple circuit that accepts a USB keyboard and prints pressed keys to a serial console. Required Materials USB Type A Female Breakout LPC1768 Male PTH headers 2x 15kΩ resistors (if you don t have any, 10kΩ resistors will work for this) 5x Jumper wires to connect from breadboard to Arduino. Breadboard to tie everything together. USB Keyboard

Page 2 of 7 Suggested Reading How to Solder How to Use a Breadboard Getting started with the LPC1768 Board Overview The board is a simple breakout for USB lines. USB Type A Female Breakout front GND should be connected to the ground of the host circuit. D+ and D- are the differential pair lines for USB. They should be connected to D+ and D-, respectively, of the host circuit. Additionally, a 15kΩ pulldown resistor is needed on each D+ and D-. VCC needs to be connected to a 5V supply (which could come from the host circuit, if available). Hookup Example Assembly To connect the USB breakout board, solder the break away headers to the 4 header holes on the board. PTH headers on the USB breakout board Connecting the USB Breakout Board

Page 3 of 7 Basic hookup using an mbed LPC1768 and a breadboard For the LPC1768, make the following connections with jumper wires: (USB Breakout LPC1768) VCC VU D- D- D+ D+ GND GND Additionally, add 2 15kΩ pull-down resistors on the D+ and D- lines. Attach one resistor from D+ to GND, and attach another from D- to GND. USB Type A Female Breakout added to the mbed LPC1768 Example Code We will use the mbed online editor and compiler for this example. First, navigate to mbed.org, and login or create a profile. Once logged in, go to the Handbook Homepage, which contains all of the official mbed libraries.

Page 4 of 7 Scroll down to find the USB Host Keyboard library under Communication Interfaces. Click the Import Program button to load the library and example program into the online compiler. Make sure you have Program selected from Import As:, as we want to use the example program (select Library if you plan to write your own program using the library).

Page 5 of 7 In the Program Workspace, select the USBHostKeyboard_HelloWorld folder and click Compile at the top. This will automatically compile the program and download a binary (.bin file) to your computer. Plug in the mbed microcontroller to your computer using a USB cable. The mbed should enumerate as a USB mass storage device. If you are using Windows, it will appear as if you plugged in a thumb drive. Find where you downloaded the compiled.bin file and copy it to the root directory of your mbed device. Press the reset button on the mbed system. This will reboot the mbed and load the.bin file to be immediately executed. In addition to enumerating as a mass storage device, the mbed also has a built-in COM port. If you are on Windows, open up the Device Manager and locate the mbed Serial Port s COM number. Start the serial program of your choice (I will use PuTTY for this example) and select the COM port correseponding to the mbed device. Use 9600 baud, and click Open.

Page 6 of 7 Once you establish a Serial connection to the mbed, you will be presented with a blank console. Plug in a USB keyboard to the USB Type A Female Breakout Board. The Serial console should show the keyboard being enumerated. You can type, and keystrokes will appear in the console. If you unplug the keyboard, you should see a disconnected message. IMPORTANT: Only letters and numbers are supported in this example program. Additionally, the program cannot discern multiple keystrokes (for example, if you hold 1, press 2, let go of 2, and let go of 1, you ll see 111 printed). Resources and Going Further

https://learn.sparkfun.com/tutorials/usb-type-a-female-breakout-hookup-guide?_ga=1.198... Page 7 of 7 11/16/2015 The USB Type A Female Breakout is a great way to add USB devices to your microcontroller, assuming your microcontroller can support a USB host. For some ideas, see mbed s Handbook section on USB host libraries: USB Host Mouse to add a USB mouse to your project USB Host Keyboard (Yes, I know we just covered this one) USB Host MSD to read/write to USB flash drives USB Host Serial to communicate via Serial over the USB lines USB Host Hub to have the mbed act as a USB hub Resources Breakout Board Schematic GitHub Repository