Maximum number of expansion hubs

Post Reply
nmkranz
Posts: 5
Joined: Mon Jun 17, 2013 9:33 am

Maximum number of expansion hubs

Post by nmkranz »

What is the maximum number of expansion hubs that can be connected to one RA+ controller? If applicable, what is the preferred topography with multiple hubs, ie: star, daisy chain?
Marty
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Maximum number of expansion hubs

Post by rimai »

:( just 1.
Roberto.
nmkranz
Posts: 5
Joined: Mon Jun 17, 2013 9:33 am

Re: Maximum number of expansion hubs

Post by nmkranz »

If you don't mind me asking, is the limitation software or hardware?
Marty
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Maximum number of expansion hubs

Post by rimai »

Hardware.
I need to create a hub with more ports, but did not find the time yet.
But if you really want to add more, you can also splice 2 usb cables together in parallel.
In fact ports 9 and 10 of the hub are like that.
It should work. I've never tested, but each port in the hub should be capable of handling 2 expansion modules just fine.
Such USB cable is not commercially available because the USB standard doesn't support it, but we are not using the USB protocol anyway.
Roberto.
User avatar
lnevo
Posts: 5430
Joined: Fri Jul 20, 2012 9:42 am

Re: Maximum number of expansion hubs

Post by lnevo »

They do make usb y cables but they may only have wiring for power...it might be worth seeing what can be sourced...
nmkranz
Posts: 5
Joined: Mon Jun 17, 2013 9:33 am

Re: Maximum number of expansion hubs

Post by nmkranz »

rimai wrote:Hardware.
I need to create a hub with more ports, but did not find the time yet.
But if you really want to add more, you can also splice 2 usb cables together in parallel.
In fact ports 9 and 10 of the hub are like that.
It should work. I've never tested, but each port in the hub should be capable of handling 2 expansion modules just fine.
Such USB cable is not commercially available because the USB standard doesn't support it, but we are not using the USB protocol anyway.
More ports on an [expansion] Hub would be nice so the tip on splicing/paralleling USB cables is good news!

I am also thinking of a large system with a couple dense groups of sensors/inputs that are spaced apart from one another, where having a number of normal Hubs might be easier to wire/configure. From a brief look at the datasheet and some NXP application notes (AN255 Fig. 26), can we use the expansion-I2C pins on the PCA9518 to add a new 'port' on the Hub that allows for connection of multiple Hubs?
Marty
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Maximum number of expansion hubs

Post by rimai »

I thought about that, but decided to leave it alone.
The current hub uses 2x PCA9518 and uses those expansion pins to talk to one another.
That's why it only has 9 ports and the 10th is just a parallel of the 9th port.
I'm probably going to use 4x PAC9518 for a total of 20 ports on a bigger version of the hub.
Roberto.
nmkranz
Posts: 5
Joined: Mon Jun 17, 2013 9:33 am

Re: Maximum number of expansion hubs

Post by nmkranz »

Have you breadboard-ed or otherwise tested multiple PCA9518's with a longer distance on the expansion pin bus?
Marty
rimai
Posts: 12881
Joined: Fri Mar 18, 2011 6:47 pm

Re: Maximum number of expansion hubs

Post by rimai »

No, that's why I decided to leave it alone :(
Roberto.
nmkranz
Posts: 5
Joined: Mon Jun 17, 2013 9:33 am

Re: Maximum number of expansion hubs

Post by nmkranz »

Ah, okay. Well, I might pick up an Arduino and do some testing then.

Thanks for the help, Roberto!
Marty
Post Reply