SHIFTIN and SHIFTOUT over some length of wire?
Genesis
Posts: 42
Anyone done it?
BS2pe here, so the data rate is reasonable (~16kbps).
I'm considering trying to run TTL data over a ~3' length of cable to an ADC that is not physically colocated with the BS2pe this way.
Wondering if anyone from Parallax can think of a reason why it wouldn't work (properly bypassed for noise, etc of course) - I can think of a few reasons it might be trouble (e.g. cable capacitance) but it could be a potential solution to a design problem I'm wrestling with.....
BS2pe here, so the data rate is reasonable (~16kbps).
I'm considering trying to run TTL data over a ~3' length of cable to an ADC that is not physically colocated with the BS2pe this way.
Wondering if anyone from Parallax can think of a reason why it wouldn't work (properly bypassed for noise, etc of course) - I can think of a few reasons it might be trouble (e.g. cable capacitance) but it could be a potential solution to a design problem I'm wrestling with.....
Comments
I don't forsee any problems, but if you experience any, shout back. There are "booster" chips available. I'll have to dig out the chip number if you need them.
Regards,
Bruce Bates
Traditional RS-232 had a sychonous mode, so I suspect you can use the conventional RS-232 drivers and receivers to set up a much longer distance than 3 feet.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"When all think alike, no one is thinking very much.' - Walter Lippmann (1889-1974)
······································································ Warm regards,····· G. Herzog [noparse][[/noparse]·黃鶴 ]·in Taiwan
SHIFTIN and SHIFTOUT are intended to clock data from bit-serial devices on the BS modules, and their speed of operation is more-or-less a function of the chipset itself. It doesn't have a "baud rate" per-se.
The idea here is to remote the ADC from the stamp, placing it and signal conditioning (op-amps) close to the physical sensors (desireable for various reasons) while having the stamp in a slightly different location.
Even with one of those "Ion storm" plasma balls running right next to it......
I'm impressed.... I DID bypass both ends like stink, but still, I expected trouble. Looks like its going to work.