Two boards, two power supplies
metron9
Posts: 1,100
I have a BS2 Homework Board powered by a 9volt battery
Another developement board for another PDIP using a 9 volt wall plug in. The board has a regulated +5V
I want to send high low signals from the stamp to the other board.
I think I should tie the grounds together, and then hook BS2 board P0 (output mode) to an input pin on the other board and read the high low from that board?
Also set BS2 P1 to input mode and hook to other board output pin?
But I have this nagging question what happens if I connect both grounds and both +5 volts on both boards? Like 2 batterys in parallel?
I have to laugh at myself for being so dumb about some things while working on the complex project at the same time.
Another developement board for another PDIP using a 9 volt wall plug in. The board has a regulated +5V
I want to send high low signals from the stamp to the other board.
I think I should tie the grounds together, and then hook BS2 board P0 (output mode) to an input pin on the other board and read the high low from that board?
Also set BS2 P1 to input mode and hook to other board output pin?
But I have this nagging question what happens if I connect both grounds and both +5 volts on both boards? Like 2 batterys in parallel?
I have to laugh at myself for being so dumb about some things while working on the complex project at the same time.
Comments
You have the right idea, connect both grounds.· I would suggest placing a current limiting resistor of 1K or so inline just in case
both stamp pins happen to be outputs.
You really don't want to do this.· Comparing this to two batteries in parallel, if one battery is slightly off (not the same voltage),
then BOTH batteries will fight one another.· Consider the schematic below...
Assume that R_batt is the battery's own internal resistance of about·2 Ohms
·
Total_R_batt =·4 Ohms
·
...Because the batteries are slightly different, there will effectively be about 0.3 Volts across the Total_R_batt.
This equates to 75mA ( I = V / R ) that BOTH batteries have to dissipate.· That's 446 milliWatts·( P = I * V ) of unnecessary heat.
·
The same thing can happen from a voltage regulator.
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Beau Schwabe
IC Layout Engineer
Parallax, Inc.
Do not tie the +5 volt supplies together.
And for the output of one stamp pin to the input of the other stamp pin, connect a 220 ohm resistor. Doing so should protect both stamps from a programming error that results in both stamp pins outputs with one high and the other low.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Ken