Universal Serial Bus (USB) is an industry standard developed in the mid-1990s that defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices.
A port is the point at which a peripheral attaches to or communicates with a system unit (sometimes referred to as a jack)
while a connector is any connector used within computers or to connect computers to networks, printers or other devices.
A port is the point at which a peripheral attaches to or communicates with a system unit (sometimes referred to as a jack)
while a connector is any connector used within computers or to connect computers to networks, printers or other devices.
Muhammad Ahsan Rauf Presentation about USBRider Ahsan
Presentation on USB.
For any other presentation contact me on Facebook "Rider Ahsan" or on "ahsan07mughal@yahoo.com".
Please share your comments about my presentation.
USB 3.0 is the third major version of the Universal Serial Bus (USB) standard for interfacing computers and electronic devices. Among other improvements, USB 3.0 adds the new transfer rate referred to as SuperSpeed USB (SS) that can transfer data at up to 5 Gbit/s (625 MB/s), which is about ten times as fast as the USB 2.0 standard.
Alex's presentation from OzKFest 2015 covers the output of serial video data from Apple IIe and IIc computers and presents hardware and software to convert that data into a USB stream that can be displayed within a window on a laptop or other device.
Find out more on Alex's blog:
http://lukazi.blogspot.com.au/search?q=A2VideoStreamer
Muhammad Ahsan Rauf Presentation about USBRider Ahsan
Presentation on USB.
For any other presentation contact me on Facebook "Rider Ahsan" or on "ahsan07mughal@yahoo.com".
Please share your comments about my presentation.
USB 3.0 is the third major version of the Universal Serial Bus (USB) standard for interfacing computers and electronic devices. Among other improvements, USB 3.0 adds the new transfer rate referred to as SuperSpeed USB (SS) that can transfer data at up to 5 Gbit/s (625 MB/s), which is about ten times as fast as the USB 2.0 standard.
Alex's presentation from OzKFest 2015 covers the output of serial video data from Apple IIe and IIc computers and presents hardware and software to convert that data into a USB stream that can be displayed within a window on a laptop or other device.
Find out more on Alex's blog:
http://lukazi.blogspot.com.au/search?q=A2VideoStreamer
Getting started with Arduino using LabView V9.
http://openwetware.org/wiki/User:Pranav_Rathi/Notebook/OT/2013/01/11/Getting_started_with_Arduino#LabView_Arduino_Interface_and_Firmware_installation
In telecommunications, RS-232 is a standard for serial communication transmission of data. It formally defines the signals connecting between a DTE (data terminal equipment) such as a computer terminal, and a DCE (data circuit-terminating equipment, originally defined as data communication equipment[1]), such as a modem. The RS-232 standard is commonly used in computer serial ports. The standard defines the electrical characteristics and timing of signals, the meaning of signals, and the physical size and pinout of connectors. The current version of the standard is TIA-232-F Interface Between Data Terminal Equipment and Data Circuit-Terminating Equipment Employing Serial Binary Data Interchange, issued in 1997.
Universal Serial Bus (USB) is an industry standard developed in the mid-1990s that defines the cables, connectors and communications protocols used in a bus for connection, communication, and power supply between computers and electronic devices
Serial ATA (SATA) is a computer bus interface that connects host bus adapters to mass storage devices such as hard disk drives and optical drives. Serial ATA replaces the older AT Attachment standard (later referred to as Parallel ATA or PATA), offering several advantages over the older interface: reduced cable size and cost (seven conductors instead of 40 or 80), native hot swapping, faster data transfer through higher signalling rates, and more efficient transfer through an (optional) I/O queuing protocol.
Slow peripheral interfaces (i2 c spi uart)PREMAL GAJJAR
The Serial Peripheral Interface or SPI bus is a synchronous serial data link, a de facto standard, named by Motorola, that operates in full duplex mode. It is used for short distance, single master communication, for example in embedded systems, sensors, and SD cards.
HDMI (High-Definition Multimedia Interface) is a compact audio/video interface for transferring uncompressed video data and compressed or uncompressed digital audio data from a HDMI-compliant source device to a compatible computer monitor, video projector, digital television, or digital audio device.[1] HDMI is a digital replacement for existing analog video standards.
A network switch (sometimes known as a switching hub) is a computer networking device that is used to connect devices together on a computer network by performing a form of packet switching. A switch is considered more advanced than a hub because a switch will only send a message to the device that needs or requests it, rather than broadcasting the same message out of each of its ports
A computer network or data network is a telecommunications network that allows computers to exchange data. In computer networks, networked computing devices pass data to each other along data connections. The connections (network links) between nodes are established using either cable media or wireless media. The best-known computer network is the Internet.
Data Link Control
FRAMING
The data link layer needs to pack bits into frames, so that each frame is distinguishable from another. Our postal system practices a type of framing. The simple act of inserting a letter into an envelope separates one piece of information from another; the envelope serves as the delimiter.
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Student information management system project report ii.pdfKamal Acharya
Our project explains about the student management. This project mainly explains the various actions related to student details. This project shows some ease in adding, editing and deleting the student details. It also provides a less time consuming process for viewing, adding, editing and deleting the marks of the students.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Dr.Costas Sachpazis
Terzaghi's soil bearing capacity theory, developed by Karl Terzaghi, is a fundamental principle in geotechnical engineering used to determine the bearing capacity of shallow foundations. This theory provides a method to calculate the ultimate bearing capacity of soil, which is the maximum load per unit area that the soil can support without undergoing shear failure. The Calculation HTML Code included.
Cosmetic shop management system project report.pdfKamal Acharya
Buying new cosmetic products is difficult. It can even be scary for those who have sensitive skin and are prone to skin trouble. The information needed to alleviate this problem is on the back of each product, but it's thought to interpret those ingredient lists unless you have a background in chemistry.
Instead of buying and hoping for the best, we can use data science to help us predict which products may be good fits for us. It includes various function programs to do the above mentioned tasks.
Data file handling has been effectively used in the program.
The automated cosmetic shop management system should deal with the automation of general workflow and administration process of the shop. The main processes of the system focus on customer's request where the system is able to search the most appropriate products and deliver it to the customers. It should help the employees to quickly identify the list of cosmetic product that have reached the minimum quantity and also keep a track of expired date for each cosmetic product. It should help the employees to find the rack number in which the product is placed.It is also Faster and more efficient way.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
2. Agenda
USB Specifications
USB Basics
Components
Onion introduction
Signaling
Packets
Transfers
Requests
Operating System Interface
USB Resources
3. USB in 1996:
Initially introduced as an
additional connector for new
applications.
USB
PC Connectivity Vision
Universal Serial Bus
Keyboard
Mouse
Serial
Port
Parallel
Port
SCSI
Port
Sound/Game
Ports
Graphics
Port
LAN Modem
Graphics
Port
LAN
USB Future:
The PC evolves into a simpler,
easier to use appliance. USB USB USB
Telephony, Modem, Keyboard, Mouse,Game ports, Serial
ports Device,Digital Audio, Printer, Scanner
4. USB Specifications
USB 1.0 – The original spec, superseded quickly by
USB 1.1
USB 1.1 – Minor enhancements to the USB 1.0 spec,
supported Low and Full speed devices
USB 2.0 – The Current Standard, added “high
speed’ to USB 1.1
USB OTG – USB On-the-Go, a supplement to the
USB 2.0 spec that added a form of device to device
communications.
5. USB Founding Companies
USB 1.0 USB 2.0
Compaq Compaq
Intel Intel
Microsoft Microsoft
NEC NEC
IBM Lucent
DEC HP
Northern Telecom Philips
6. USB 2.0 in a Nutshell
Runs 40X faster than USB 1.1
Low speed: 1.5Mb/s
Full speed: 12Mb/s
High speed: 480Mb/s
Fully supports existing USB devices
Forward compatible—plug existing 1.1 devices into new 2.0
hosts
Backward compatible—plug new 2.0 devices into existing 1.1
hosts
Uses the same cables as USB 1.1
7. Hardware Overview...
Topology
Tiered Star (Distributes Connectivity Points)
127 logical connections (upto 5 meters per segment)
Upto 6 tiers
...
Universal Serial Bus
USB
Monitor
SpeakerPen Mouse
Kbd
Mic Phone
PC
HUBHUB
HOST/HUB
8. USB On-the-Go (USB OTG)
Connect two ‘peripherals’ together
PC is not required (but still supported)
Allow peripherals to wake up hosts
Allow two devices to exchange the host role
New OTG devices can tap into the existing 900
million USB devices
9. USB OTG Example Applications
Source: Beeman: www.usbonthego.com
Exchange pictures
Upload pictures to web
Print pictures
Camera
Cell Phone
Printer
Camera
Exchange songsMP3 playerMP3 player
Exchange Contact info
Print call info
Upload pictures to web
Cell Phone
Printer
Camera
Cell
Phone
Synchronize phone list, meetings
Upload pictures
Download songs
Cell Phone
Camera
MP3 player
PC
ApplicationsPeripheralHost
10. USB OTG Details
Defines a new connector and cable
“Mini AB” receptacle
Mini-A to Mini-B cable
Cable establishes the default host
A-Device is the default host
Dual-role USB devices:
Are sometimes a peripheral, sometimes a host
Must use the new AB connector
Provide limited host capability
Targeted peripheral list
Operate at full speed (high speed optional)
12. USB Basics USB is a Master/Slave Polled Bus (PC is the “Master”,
Devices are the “Slaves”)
USB has a “tiered star” architecture that can USB can
support up to 127 devices
7-bit address = 128 – root hub – reserved addr 0 for enumeration
USB is “Hot Pluggable”
USB connections can provide both data and power to the
devices
13. USB is not Simple
Outside, it is simple
The “rich user experience” requires some inner
complexity
Even though it replaces serial and parallel ports, it’s
not a drop-in replacement
It’s electrically simple, but a whole protocol layer is
added
14. USB Projects Can Require a
Significant Code Development
Effort
Device side
USB houskeeping firmware
Application firmware
Host side
Driver (maybe)
Application software
16. Components of USB Systems
USB Host Controllers
USB Hubs
USB Cables
USB Peripheral Devices
17. USB Host Controllers
Reside in PC on motherboard or add-in card
Are the “master” device on the USB bus
Host Controller has integral “Root Hub”
Host Controller Interfaces:
Universal Host Controller Interface (UHCI)
Open Host Controller Interface (OHCI)
Enhanced Host Controller Interface (EHCI)
18. USB Cables
Transport both Data and Power
Four wires: Vbus, GND, D+, D–
Cables are 5 meters MAX
Two connector types, “A” and “B”
Prevents illegal topologies
“A” connectors are the ones that goes to the PC or Hub,
“B” connectors goes to the device) (OTG adds Miny A
and Mini B connectors)
Cables can be either “captive” (like mice) or
detachable
Cables can be unshielded (Low speed devices)
or shielded (Full Speed and High Speed devices)
USB extension cables are ILLEGAL
19. USB Hubs
A hub provides additional connection points (ports)
for devices
Hubs can be:
Self-Powered (<= 500ma to each device)
Bus-Powered (<= 100mA to each device)
Hubs contain most of the “magic” and differences
between USB 1.1 and USB 2.0
20. USB Devices
Devices can be:
Self-Powered
External Power Source (i.e. wall wart)
Batteries
Bus-Powered
Low Power Bus Powered (<= 100mA)
High Power Bus Powered >100mA, <=500mA)
Devices are “self describing”
Devices return data (USB descriptors) to host to indicate its
capabilities, configurations, and how the device is able to
communicate
21. Compound and Composite Devices
Composite Device
Multiple interfaces, independently controlled
Each interface can have a different driver
Compound Device
Collection of separate functions, each with a
USB address, connected to an internal hub
Example: Keyboard & Trackball in same
package
22. USB is a Polled BUS
The Host (PC) initiates all transfers
Devices respond to host requests
Direction: OUT is host-to-device
Direction: IN is device-to-host
USB is NOT peer-to-peer (not even in USB OTG)
24. Host
Root Hub
Device
DeviceDevice
Device
HUB
Device
HUB
Hot Plug and Play feature
Device attachment on Hub port
Device is detected
Downstream port is enabled
Configuration of Device by Host
Device
USB Configuration Process
Enumeration
Host Software is responsible for Device
configuration
Host
Root Hub
Device
DeviceDevice
Device Device
HUB
Device
HUB
Universal Serial Bus, details
Process of Configuration is
accomplished via Control Transfers
25. USB Transfer Speeds
USB 1.1:
Low speed is 1.5Mb/s
Full speed is 12Mb/s
USB 2.0
Low speed is 1.5Mb/s
Full speed is 12Mb/s
High speed is 480 Mb/s
There is a VERY common misconception that say a device
is USB 2.0 compliant that it means that it is High Speed
device. It does NOT!
26. Device Abstractions...
- Device
Common features and interactions of devices
Typically controlled by system software
- Function
Highest level I/F between device driver and function
- End Point
Ultimate data source or sink at the device end
Each endpoint is unidirectional and has a transfer
type associated with it‘s Peripheral
27. Endpoints
USB Spec: “a source or sink of data”
A Control Transfer Type endpoint is bi-directional
Others are uni-directional
Four address bits plus a direction bit selects
between up to 32 buffers (FIFOs)
Different USB chips support
Various numbers of endpoints
Various buffer sizes
Each device must have 1 Control Type Endpoint
(Commonly referred to as Endpoint 0 or the
Default Endpoint)
28. Pipes
An abstraction used by the USB spec used to indicate
that 2 endpoints are joined (one in the PC Host and
the other in the device).
CONTROL pipe is bi-directional
Others are uni-directional
29. USB Descriptors
Device Descriptors
Contains the VID/PID/DID/Serial Number
Configuration Descriptors
Interface Descriptors
Endpoint Descriptors
String Descriptors
Device Qualifier Descriptors (USB 2.0)
Other Speed Configuration Descriptors (USB 2.0)
USB “Classes” can add other class specific
Descriptors
32. USB Signaling
USB utilizes differential signaling on the D+ and
D- lines.
Data is encoded in “non-return to zero with bit
stuffing”
Bit stuffing is used to ensure enough transitions for
the clock recovery circuitry.
Most designs use silicon that incorporates an
integral Serial Interface Engine (SIE) so you don’t
have to worry about the decoding yourself.
PCB layout of D= and D- requires care (especially
on High Speed devices).
35. USB Packets
USB data travels in packets
Identified by “Packet ID” (PID)
Token packet tells what’s coming
Data packets deliver bytes
Handshake packets report success or otherwise
37. Handshaking Packets
Used to ensure correct data delivery on Control, Bulk
and Interrupt Transfers
ACK – Received with out Error
NAK – Device Busy, has no data
Stall – Unsupported Request, Request Failed
No Response – Request not received or corrupt, will be
retried up to 3 times.
38. Packets: Identified by PIDS
D
A
T
A
0
D
A
T
A
1
I
N
O
U
T
A
C
K
N
A
K
S
O
F
S
E
T
U
P
S
T
A
L
L
P
R
E