Maker Pro
Maker Pro

Connecting multiple PICs

G

Glenn Ashmore

First I have received several very generous offers from members of s.e.d
to help me with the programming my remote light switch project and I
greatly appreciate your help. But before I can send off the
requirements I need to resolve a couple of things.

Right now I have it working with two PIC 16F87x processors, one in the
base switch and one in the remote, communicating via Linx 916Mhz
tranceivers. The final system will have 3 remote stations. One at the
navigation station, one in the cockpit and a portable one to carry in
the dinghy. I can see how by sending a station address in the data
stream multiple remotes can exist in the system. The base broadcast the
system status every 30 seconds and the remotes send 4 byte command
strings only when a button is pressed so collisions would be very rare.

The thing is, these tranceiver modules cost $40 each and are not really
needed or desired for the perminently installed remotes at the
navigation station and cockpit. I would like to keep the programming the
same on all stations and just eliminate the tranceiver on the fixed
stations. Can I get by by just routing RX/TX/SDO/SDI to a modular jack
and tying them to the base with CAT5? The wire runs would be about 30'
max.

--
Glenn Ashmore

I'm building a 45' cutter in strip/composite. Watch my progress (or lack
there of) at: http://www.rutuonline.com
Shameless Commercial Division: http://www.spade-anchor-us.com
 
S

scada

Glenn Ashmore said:
First I have received several very generous offers from members of s.e.d
to help me with the programming my remote light switch project and I
greatly appreciate your help. But before I can send off the
requirements I need to resolve a couple of things.

Right now I have it working with two PIC 16F87x processors, one in the
base switch and one in the remote, communicating via Linx 916Mhz
tranceivers. The final system will have 3 remote stations. One at the
navigation station, one in the cockpit and a portable one to carry in
the dinghy. I can see how by sending a station address in the data
stream multiple remotes can exist in the system. The base broadcast the
system status every 30 seconds and the remotes send 4 byte command
strings only when a button is pressed so collisions would be very rare.

The thing is, these tranceiver modules cost $40 each and are not really
needed or desired for the perminently installed remotes at the
navigation station and cockpit. I would like to keep the programming the
same on all stations and just eliminate the tranceiver on the fixed
stations. Can I get by by just routing RX/TX/SDO/SDI to a modular jack
and tying them to the base with CAT5? The wire runs would be about 30'
max.

--
Glenn Ashmore

I'm building a 45' cutter in strip/composite. Watch my progress (or lack
there of) at: http://www.rutuonline.com
Shameless Commercial Division: http://www.spade-anchor-us.com

You would have to try it! It may work, but for noise imunity and reliability
run it through RS232, using the popular MC1488 and MC1489 chips, or the
Max232 chip. Then use the cat5 run.
 
Top