The Ten Commandments of USB

Don’t forget that USB uses copper wire and can thus transfer power surges from lightning strikes or heavy machinery to places where they can do serious damage. You can prevent that by using USB isolators, which can be standalone devices or incorporated into USB hubs, USB serial converters and other USB devices.

Standard USB cabling and equipment isn’t intended for use around magnetic fields. Just being placed in a medical cart, the crowded trunk of an emergency vehicle or a tight panel may be enough to cause data loss and software glitches when electromagnetic interference from other devices (EMI) induces current in the USB cable. Fortunately, both USB devices and USB cable are available with EMI shielding.

As networks continue to expand, in both complexity and sheer size, it becomes increasingly likely that yours will employ a variety of protocols: USB, Ethernet, Wi-Fi, serial or Modbus. And the connecting media may vary as well, from USB cable to Cat 5, and from fiber optic to no wire at all. You may find yourself deploying many different kinds of converters as well as many different kinds of hubs and isolators.

One way to simplify matters is to use equipment that provides multiple functions within the same device. Don’t just install a USB hub, install an isolated USB hub. Don’t just deploy a USB-to-serial converter; deploy an isolated USB-to-serial converter. Simplify things.

  1. Thou Shalt Not Allow Thy USB Cabling to Be Cast Loose Upon the Ground, Lest Thee Be Consumed By FireOne of USB’s great advantages is that it provides a 5 V power supply on a single wire. Connected USB devices can then be powered by the USB cable connection, eliminating the need for an external power supply. In safe office environments it’s very convenient and normally quite harmless.

    Unfortunately, USB was also designed for quick and easy connections/disconnections. That becomes a problem when USB migrates off the desktop and out into the real world. Standard USB connectors don’t grip cables firmly enough to withstand the heavy vibration encountered in industrial applications. The cables can work themselves loose. And when they do, there’s a risk of arcing. In the wrong environment that can lead to fire or explosion.

    Loose USB cables can also lead to data loss, software hang-ups and blue screens.

    So be wise when using USB off the desktop. Deploy devices equipped with high retention USB ports like those built by B&B Electronics, which require 3.2 lbs of force to dislodge them. (Lest thee regret the error of thy ways only after it be too late.)

  2. Thou Shalt Not Assume That 500 mA Dwelleth Within Every USB Port, for as is so Cryptically Written, “Assume Maketh a Donkey Out of Thee and Me”According to the USB specification a device should be able to draw up to 5 unit loads from a USB port. (A unit load in USB 2.0 is defined as 100mA.) “Low-power” devices should be able to draw one unit load or less (under 100 mA). “High-power” devices should be able to draw the full 500 mA. Self-powered devices like printers typically register as “low-power” devices, requiring only 100 mA.

    Perhaps because so many USB devices are self-powered, some manufacturers cut corners and build boards that don’t provide the full 500 mA to the USB ports. It will usually seem as if the connected device or the connection itself is to blame. You’ll try swapping out the USB cables, you’ll try reinstalling software, you’ll be frustrated, and eventually you’ll figure out that the connected device was never receiving full power. After wasting all that time on the problem you may feel like a donkey.

    You’ll feel better after you’ve installed a powered USB hub or powered USB isolator. Powered USB devices restore the full 500 mA.

  3. Thou Shalt Not Cast Aside Thy Legacy Data Devices, for USB Can Be Made to Speak Unto Them, and They Unto USBIt’s hard to find a computer with a serial port these days. The USB bus has become the standard. But there is still a huge installed base of legacy serial equipment out there, and there are numerous new applications for which the serial communications protocol is still the perfect answer. And, as they say, “If it be not broke, thou ought not fix it.”

    Rather than abandon serial communications prematurely, the wiser and easier move is to deploy USB-to-serial converters. The serial protocol may have been devised long before USB was even on the horizon, but that doesn’t mean that your data communications can’t flow smoothly over both.

  4. Thou Shalt Note That Even the Journey of 20,000 Leagues Beginneth With the First Few CubitsUSB has an effective range of about 11 cubits (5 meters). So what happens if you want to communicate with a device that’s in another building, on the other side of a river, or many miles away? Every communications problem calls for a slightly different solution, be it long-range wireless bridges, fiber optics, copper wire range extension or serial cable. And eventually all of those data communications protocols will need to cover the last few cubits that lead to your USB port.

    No worries. You can deploy devices that will covert USB to serial, Wi-Fi, Ethernet, fiber optic or Modbus with no interruption of your data stream. They’re easy to use, and if you have questions just call the technical support folks at B&B Electronics. We love to help, and we’re always willing to go that extra 3520 cubits.

  5. Thou Shalt Not Be Profligate With Thy Gold When Good Copper Lies Before Thy Very EyesDon’t overlook easy opportunities to save money when designing your communications network. You may very well discover that significant savings lie right under your nose, in the form of legacy cabling like coaxial cable and telephone wiring. All kinds of possibilities exist. For example you could convert a USB signal to an Ethernet package and then use a pair of Ethernet extenders to send your data up to 8,530 ft. (2,600 m) via coaxial cable or up to 6,200 ft. (1,900 m) over a pair of unused straight copper wires. That old copper cabling may be worth some money down at the recycling center, but it’s probably worth a lot more if it stays right where it is.
  6. Thou Shalt Fear the Righteous Lightning, for it Goeth Where It Darn Well Pleaseth
  7. Thou Shalt Remember the Forces Unseen, Lest Magnetism Bite Thee in Thy Posterior
  8. Sometimes EMI Shielding Isn’t Enough: Thou Shalt Also Consider Thy Ground Potentials When USB Strayeth From the DesktopThanks to media converters there’s no reason that you can’t connect to remote devices via your USB port. But the farther away that device is, the more likely it becomes that it will be getting its power from a different building ground reference. If that’s the case, the USB cable’s ground wire can create a ground loop path.

    The USB specification more or less assumes that connected devices will be grouped closely together, with a computer and its peripherals sharing a wall outlet and a common ground. But in industrial applications the connected devices may not even be in the same building, much less sharing a single wall outlet. A process control system might be powered from one source, the front panel might be powered somewhere else, and connecting your PC to the front panel via USB can then create a ground loop with the remote process control system. If you’re lucky the only result will be software hang-ups and blue screens. If you’re not, surges and voltage overloads can burn out integrated circuits and connectors.

    The potential for ground loops can be controlled with USB isolators. (Allowing thy USB applications to stray from the desktop with righteous impunity.)

  9. Thou Shalt Remember That Only the Daft Deploy Multiple Devices Where One Sufficeth
  10. Thou Shalt Not Be Farthing Wise and Pound Foolish When Designing Thine InstallationsAs has already been said, the USB specification was intended for use in climate-controlled homes and offices. But it has proven to be so useful that USB is now used in everything from hospitals to heavy industry. There’s a good chance that you’ll want to use USB in some difficult environments, and the standard cables and devices that you can pick up at your local office store may not be able to stand up to it. Repair work is expensive, reprogramming is expensive, and down time is usually unacceptable. If you ruggedize your installation with industrial-grade equipment right from the beginning it’s likely that you’ll recoup the extra investment very quickly. (And then thou mayest pat thyself on thy back for thy wisdom, thy foresight and a job well done the first time.)

Making Wireless Sensors as Accessible as Web Servers

The Internet of Things revolution is upon us, and by the year 2020, therewill be over 50 billion connected things in the world. With the world’s population increasing and resources...

Wzzard Network Planning and Installation Application Note

Planning, deploying and installing a Wzzard network does not require any special network expertise. But some simple guidelines should be followed. Let’s discuss some topics that are the keys to enabling a robust network installation. These include Planning a Deployment, Verification of Network Health and Troubleshooting common problems.

Getting Security Right in Wireless Sensor Networks

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Wzzard Security Platform

The Spectre Network Gateway places the SmartMesh IP network behind a firewall. If connecting via the cellular data networks, the Spectre Network Gateway lets users use VPN tunneling, which makes the cellular systems as secure as proprietary infrastructure.

A Second Warm Welcome to Wireless Mesh Networking

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Connect Any Sensor to the Internet of Things

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Spectre Router Configuration for Automatic Failover

You may define rules in the router for switching between two APNs on one SIM card or between two SIM cards or network providers. The router can automatically switch between the network setups when the active PPP connection is lost, the data limit is exceeded, or the binary input on the front panel goes active.

Sensor Networking Cost Model

Are the high costs of deploying cabling in your industrial environment preventing you from deploying a remote sensor monitoring solution?

Cellular and the Promise of SWARM Intelligence

The power of SWARM intelligence is visible in nature, where the collective efforts of very simple creatures like ants, bees and termites can produce highly sophisticated results.

SWARM Intelligence: Greater than the Sum of Its Parts

The power of SWARM intelligence is visible in nature, where the collective efforts of very simple creatures like ants, bees and termites can produce highly sophisticated results. Termites build enormous...

The Basics of MQTT

Message Queue Telemetry Transport (MQTT), is an open, lightweight publish/subscribe messaging protocol that was developed specifically for small, constrained devices over wireless networks. MQTT brings a simplicity and scalability not...

Solving Industrial Monitoring Challenges through Wireless I/O

Abstract Remote monitoring and control applications present a range of challenges. In recent years, new technologies and products have emerged to address some of these challenges, but in many cases...

SimpleWire Replacement with Zlinx® Radio Modems: Knowledge, Tips, Fixes

A problem free wireless network installation is more than a wish, it’s what most of our customers experience. But a little knowledge and planning up front makes succeeding on your...

Wireless Technology for Modern Health Care

Some medical devices become immensely more valuable if you can make them mobile. Moving a modern medical cart from room to room is far more efficient than moving the patients...

Smart Phones & M2M – Connecting Made Easy, Finally

by Bill Conley You could argue that wireless data communications began in 1782, when Claude Chappe used semaphore towers to send messages between Paris, France, and the city of Lille,...

USB: Adaptable for Industrial Applications

The Universal Serial Bus (USB) provides a high data rate and Hot Swap connection for PCs, providing an easy connection to a wide variety of multimedia and network USB devices....

Ruggedizing USB Connections for Tough Environments

USB is ubiquitous, it’s useful and it’s here to stay. But it isn’t inherently rugged or reliable. It’s up to you to make it that way. When technician John Baker...

Data Line Isolation Theory

When it comes time to protect data lines from electrical transients, surge suppression is often the first thing that leaps to mind. The concept of surge suppression is intuitive and...

Optical Isolation: Your Best Investment for Reliability

In 1999 the Science department at NASA conducted a study on lightning, ground voltage, and structural impact. A building in North Carolina, located within 45 meters of a 42-meter water...

Make Your Tablets and Smart Phones Smarter – Add Serial Capability for Seriously Remote Data

by Andy Ross, Director or Wireless Applications To paraphrase Mark Twain, rumors about the demise of serial ports are greatly exaggerated. Serial ports are everywhere, in everything from industrial automation...

RS-485 Connections FAQ

How Do I Make RS-485 Connections? First check the pinout connections and specifications of the devices you want to connect in order to determine whether you need a “2-wire” RS-485...

RS-422 and RS-485 Applications eBook

A Practical Guide to Using RS-422 and RS-485 Serial Interfaces The purpose of this ebook is to describe the main elements of RS-422 and RS-485 data communications systems. The authors...

MTBF, MTTR, MTTF, FIT – Explanation of Terms

The intent of this White Paper is to provide an understanding of MTBF and other product reliability methods. Understanding the methods for the lifecycle prediction for a product enables the...

An Overview of Fiber Optic Technology

The use of fiber optics in telecommunications and wide area networking has been common for many years, but more recently fiber optics have become increasingly prevalent in industrial data communications...

Calculating Fiber Loss in Fiber Optic Networking

Fiber optic networking can be a daunting undertaking, but it really is not as difficult as it seems. Understanding factors such as fiber modes, fiber launch power, receive sensitivity, fiber...

Troubleshooting and Auto-Negotiation Features for Media Conversion Products

Media converters make the critical connection between different types of media, ensuring seamless integration of new equipmentin legacy networks. Media converters simply provide the electrical-to-optical conversion, and cost-effectively bridge the...

Introduction to Modbus

Modbus is one of the most popular protocols used in the industrial world. Supporting traditional serial protocols of RS232/422/485 and Ethernet protocols allow industrial devices such a PLCs, HMIs and...

Media Converters

Introduction to Media Converters Media converters play an important role in today’s multi-protocol, mixed media Local Area Networks. For example, LAN administrators can deploy media converters to integrate fiber optic cabling and active...

Port Powered Serial Converters FAQ

How do port powered serial converters derive their power? These converters steal their power from the connected RS-232 device’s output signals. As an example, a PC normally has outputs on the...

Managed Ethernet Switches

Key Features For a Powerful Industrial Network  Success for an industrial engineer has always had roots in the search for dependability and function at an affordable cost. Ethernet always held out the promise of high function...

Cellular Data Networking Goes Industrial

Refresh cycles for industrial data communications equipment have traditionally been measured in decades rather than years. That’s partly because of the enormous capital investments involved, partly because so many industrial...

What is SmartMesh IP™?

SmartMesh IP is defining the way to connect smart devices. With advanced network management and comprehensive security features, SmartMesh IP delivers reliable, scalable, energy efficient wireless sensor connectivity. Using up...

What Is The Internet of Things?

There’s a lot of hype surrounding the phrase “Internet of Things”, but what does it really mean for you? Mike Fahrion offers a pragmatic approach to realizing the potential for...