BS1 - PCI/PCO max length
Sapphire
Posts: 496
in BASIC Stamp
I'm installing a BS1 in an inaccessible location, and would like to bring out the PCI/PCO pins for future program updates. How long can I make the wires without affecting the operation of the BS1 or the ability to program it? I need about 30 feet.
I notice on the schematic that the PCO line is connected to the EEPROM Vcc pin. Should I install a resistor on the PCO at the BS1 to prevent accidental shorts?
Thanks.
I notice on the schematic that the PCO line is connected to the EEPROM Vcc pin. Should I install a resistor on the PCO at the BS1 to prevent accidental shorts?
Thanks.
Comments
I remember when I used the "parallel" programming cable for the BS1, it was 6 feet long and worked fine, even with it unplugged from the printer port but left connected to the BS1. In this case, I can use whatever wire I want (shielded, unshielded, twisted, untwisted), and terminate it appropriately. I'd like to minimize the number of components at the remote end, but will try some different lengths of wire before installing it.
PCI appears to be pulled-up on the BS1, so I wasn't too concerned about that. But PCO appears to be used to power the EEPROM, and a short to ground, or noise as you suggest, could be a real problem.
I just tested a 50 foot spool of 4-conductor telephone wire (unshielded, untwisted) on the PCI/PCO/Vss pins, and...
It works fine! The BS1 runs, I can download a program, and DEBUG works too.
Then I added a 1k series resistor on the PCO pin at the BS1 to prevent any accidental shorts, and that works fine too.
I was wondering the same thing.
It's possible to use RS-485 drivers for applications like these. You need a driver chip on both ends but RS-485 generally does a lot better than TTL over long wires.
I know when I tried to add a 6' extension on my TTL barcode reader, I had a lot of trouble. It only worked reliably with cables 3' or less.
Is the cable still on the spool? Just asking'
Yes, it's still on the spool. I put some other electronics on top of it with no effect. Going to unwind it and run it over the TV and around the microwave later and see what happens.
Congrats! I know customers who have had 3-6 feet of wire (unshielded) and had all kinds of trouble. I know at least one was firing solenoids in the vicinity and one was switching high power AC loads. Again, a case of the control signals being too close to the power switching circuits. You just have an ideal environment I guess.
That's pretty impressive! Nice wrk.
http://www.engadget.com/2008/03/03/audiophiles-cant-tell-the-difference-between-monster-cable-and/