All About Circuits Forum  

Go Back   All About Circuits Forum > Electronics Forums > The Projects Forum

Notices

The Projects Forum Working on an electronics project and would like some suggestions, help or critiques? If you would like to comment or assist others with their projects, this is the place to do it.

Reply   Post New Thread
 
Thread Tools Display Modes
  #1  
Old 03-18-2010, 11:44 PM
timyhac timyhac is offline
New Member
 
Join Date: Jan 2010
Posts: 3
Default USB Network

Hi everyone,

I have a need for a system which provides USB connectivity to a network of identical devices. The layout of the network is attached to this post.

It need to design a single device that can be manufactured multiple times and connected with each other. It needs to do the following things.
  • Use USB connections.
  • The root controller is a computer.
  • Map the network ( which device is connected to which )
  • Connect multiple devices together in a user-defined configuration.
  • The device can be powered so it's not drawing a hundred million Amps from the computer.
There are several connection cases:

If the usb connection comes from
  1. The bottom -> The device needs to use the connection internally, and provide a usb connection to the top and left.
  2. The top -> The device needs to use the connection internally, and provide a usb connection to the bottom and left.
  3. The right -> The device needs to use the connection internally, and provide a usb connection to the bottom, top, and left.
  4. Alternatively, every connection can be used as both an in and out.
My first thought was to use a normal usb hub but I realise that wouldn't work due to its single input.
If any of you guys have an idea about how to do it I would appreciate it a lot.
Also, I think this network type would be quite useful especially with the advent of wireless USB and other such technologies.
Thanks!
Attached Images
File Type: png Network.png (19.9 KB, 6 views)

Last edited by timyhac; 03-19-2010 at 08:34 PM.
Reply With Quote
  #2  
Old 03-19-2010, 12:36 AM
blueroomelectronics's Avatar
blueroomelectronics blueroomelectronics is offline
Senior Member
 
Join Date: Jul 2007
Location: Toronto, Canada
Posts: 718
Default

What would be the practical use of such a device? Modern PCs have a dozen USB ports and port extenders are common. Also USB is not very long range and requires intelligent controllers.
Reply With Quote
  #3  
Old 03-19-2010, 05:53 AM
timyhac timyhac is offline
New Member
 
Join Date: Jan 2010
Posts: 3
Default

The reason I don't want them all individually being hooked up to the computer is basically for cable neatness. Also, I want the layout of the network to be mapped automatically so this wouldn't be possible with them all individually being connected to the computer's USB controller.
Reply With Quote
  #4  
Old 03-19-2010, 10:56 AM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
 
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 3,292
Default

I don't think it is possible to "map the network" using USB in that fashion. In the enumeration process there is no concept of physical topology. Have you read the USB specification? Did you understand it?
__________________
We never have time to do it right,
But we always have time to do it over.
Reply With Quote
  #5  
Old 03-19-2010, 08:12 PM
timyhac timyhac is offline
New Member
 
Join Date: Jan 2010
Posts: 3
Default

I have not read the entire USB specification, but I do understand that there is no concept of physical topology in the USB specification.

I also understand that my application would require more than the ordinary USB controller - hub - device configuration.

I just want the device to be really intuitive to use. EIther the user can plug it into usb directly into the computer root hub via a cable. Or they can connect any combination of the devices into each other. The computer would map their interconnections and provide the normal usb interface to each of them.

Is there any other interface (besides USB) that I could look into using?
Reply With Quote
  #6  
Old 03-19-2010, 08:46 PM
Papabravo's Avatar
Papabravo Papabravo is offline
Senior Member
 
Join Date: Feb 2006
Location: Michigan, USA (GMT-5)
Posts: 3,292
Default

RS-485 would support the type of topology that you drew. I still don't know how you plan to "map the network".
__________________
We never have time to do it right,
But we always have time to do it over.
Reply With Quote
  #7  
Old 03-20-2010, 05:34 AM
AlexR AlexR is offline
Senior Member
 
Join Date: Jan 2008
Location: Australia (UTC+10)
Posts: 509
Default

USB is a bus technology, it is not a network technology hence it needs no mapping. As long as there are less than 126 nodes connected to any USB host and the USB host can see all the nodes without any routing loops then it should work fine. In fact daisy-chain connections of USB devices was quite popular in the early days of USB before USB hubs became the standard way of providing extra USB connections.
You might however need to re-arrange your node topography to get rid of the nodes with multiple outputs since that makes them hubs.
__________________
Alex

"A common mistake that people make when trying to design something completely foolproof is to underestimate the ingenuity of complete fools."-Douglas Adams

Last edited by AlexR; 03-20-2010 at 05:55 AM.
Reply With Quote
Reply   Post New Thread

Bookmarks

Tags
, , ,

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parallel to USB conversion saiello The Projects Forum 5 11-19-2009 10:00 PM
Grounded benchtop power supply and USB port yardleydobon General Electronics Chat 3 05-11-2009 06:14 AM
PIC 18F4455, Low Speed USB, Internal OSC a088008 Embedded Systems and Microcontrollers 4 04-22-2008 04:38 PM


All times are GMT. The time now is 10:17 PM.


User-posted content, unless source quoted, is licensed under a Creative Commons Public Domain License. Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.