Connecting 30 BS2 to one PC ( help please)
Markus
Posts: 22
Hi,
I need to connect 30 basic Stamps to one PC.
PCs have 2 or 3 RS232 com ports only .
I think that USB is the possible solution.
Is this posible ???
Mark
Help please
I need to connect 30 basic Stamps to one PC.
PCs have 2 or 3 RS232 com ports only .
I think that USB is the possible solution.
Is this posible ???
Mark
Help please
Comments
·· With FTDI Adapters you will certainly be able to add more BASIC Stamps, but I would need to check on the high limit of the BASIC Stamp Editor as far as highest allowed COM Port for programming purposes.· For just serial communication you could do it though.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Chris Savage
Parallax Tech Support
csavage@parallax.com
If you want a network of 30 Stamps connected to a PC for data transfer purposes, there are articles in Nuts and Volts (look on Parallax's website) on doing a serial network of stamps. For a network this large, I would use RS-485 (twisted pair) drivers for the Stamps and a RS-232 to RS-485 converter for the PC end. See this App Note <http://www.maxim-ic.com/appnotes.cfm/appnote_number/723> from Maxim for using their chips for an RS-232 to RS-485 converter and a 5V Logic to RS-485 converter.
I need each Stamp working separately sending data to the PC using
one FTDI Adapter for each Stamp. There are USB PCI cards ( like the attached with
six USB ports each ).
Then I need a Motherboard with 5 PCI slots. And then the problem is solved.
Am I right ?
Thanks Mark
PS: Of course, before, I will load the each BS2 rutine to each Stamp, so I don't need a Basic Stamp Editor with 30 ports.
Why? You can "chain" up to 127 USB devices. One card is sufficient.
But I don't understand.
Could you explain please?
Thanks, Mark
would work, you would need 5 of them. one would be plugged into the computer and 4 would be plugged into the one plugged into the computer. The 4 second teir hubs would provide 28 connections and there would be·3 additional ports on the 1st tier hub for a total of 31 connections to devices availible.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
6+6=10 (Long live the duodecimal system)
Thanks Paul - I just got home and you saved me some typing!
Paul
This sounds like a wonderful opportunity to implement a simple, daisy-chain network of BS2's. You didn't say how far apart they all are. If they're within 10 feet, you sould be able to use the 'open' baud mode to make a 'party-line' network.
But then my idea is similar or the same, it is like your idea, because
I posted this:
" I need each Stamp working separately sending data to the PC using
one FTDI Adapter for each Stamp. There are USB PCI cards ( like the attached with
six USB ports each ).
Then I need a Motherboard with 5 PCI slots. And then the problem is solved. "
Then, Paul, if you see the attacment, you can see a USB PCI card that must be installed at the PC.
Do you know if there is a difference betwen your solution and my solution ?
Thanks: Mark.
And allanlane5 :
Are you sure that it is only 16 RS-232 USB ports ?
Thanks again: Mark
Do the stamps Have to be a specific type?
If you can use the BS2p(e) then you can use a 1wire network.
Or with RS 232-485, using any of the BS2 stamps you can network them and use a poll and answer for each stamp based on a unique id assigned to that stamp...
Bob N9LVU
You could build a giant 16port RS232 buffer box..... Basically, each stamp sends their data which is held in a buffer (1 buffer for each separate stamp), then you could have a PC connected to a stamp that will then go to each buffer and ask for its data. The stamp at the PC could literally "STAMP" the data with the buffer line it received the data from, and then pass it through to the PC.
It's an idea, not something I've done....and I don't know how readily available these 'buffers' are, or even what to use! I'm banking on someone else having some input on this!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
·
Steve
"Inside each and every one of us is our one, true authentic swing. Something we was born with. Something that's ours and ours alone. Something that can't be learned... something that's got to be remembered."
Now, Windows XP, I don't know.
Then , If Windows NT 4.0 will support only 16 'COM' ports., ( as you tell me) then it is impossible
to plug 30 Basic Stamps on a PC running Windows NT 4.0 .
Paul Baker and Chris Savage: It seems that it is impossible to run
multiple USB devices working under WIN NT 4.0
Somebody knows if Windows 98, Windows 2000 and Windows XP could work
with more than 16 COM ports?
Thanks for the help. Mark
PS:
I need the 30 Stamps working at the same time, then
the idea of a buffer box isn't a good solution in this case.
I am sort of questioning the big picture here...generally when people have ideas like this one, there is a Much more simple solution.
Another solution is to use 1 BS2 as a 'motherboard'
·-Connect this BS2 to the PC Comport.
·-Connect 30 BS2s to the motherboard (only 3 wires to connect each, instead of buying USB Cables and Chips)
·-In your software, create a com protocol to send messages to each of the 30 BS2's...
...Wait a minute...Are you doing a mass manufacturing setup to program 30 BS2's ata atime?
Chuck
I don't understand the meaning of "daisy chained" , but I would like to understand if
this works:
-One·PC with 5 PCI slots.
-Five USB PCI Cards ( Each card with 6 USB connectors)
·Here, the total is 30 USB connectors.
Thanks,
It really is that simple. I believe that each USB port is assigned a unique address and can easily be recognized from the others [noparse][[/noparse] something like·127 ports total]. So 30 should just be able to hang off of one computer port.
You can buy USB 'hubs' that are something similar in princiiple to the adapter that allows you to plug in 3 household devices into one 120AC outlet.
I have one that changes one USB into 4, but they come in various sizes and shapes.
Use bigger devices - 7 or 8 or more ports - to reduce the problems of poor connections.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
Post Edited (Kramer) : 4/8/2006 5:16:32 PM GMT