Hi David,
This is almost definitely drawing more current than the Teabox can
supply. To fix this, you will need to supply more power. It's a
relatively simple circuit - as long as you can get the parts - a
regulator a couple capacitors and a power supply (9-12v typically).
Here are 2 posts which discuss making a simple regulated power circuit:
The generic overview:
http://idiarts.net/hci/show/1
and a specific 5v device:
http://idiarts.net/hci/show/18
The principle is like this. . .
The Teabox has a 5v power source that can supply 250mA to all
sensors. Since the power draw at times is above this range, you need
to supply the capability of drawing more current.
You can take another power source that has the same potential - 5v -
and connect the 5v and Ground to the Teabox's 5v and Ground. The
potential is the same, but if the circuit of sensors draws more than
250mA, the current can come from the other supply. In practice, they
both will pass current along proportionally.
The one issue you can run into with this method, is if your new power
supply is noisier than your first one. All of that noise will be
transfered into the sensor data.
This circuit is what we have on our Powered Expander - it uses the
same regulator as the Teabox and adds 500mA of current capacity.
http://shop.electrotap.com/products/expander
One last thought. . .
Since the brownouts are intermittent, it seems that the cyclical power
draw from the IR sensors has to line up to go over the maximum. A
capacitor is used with regulation circuits to store a little bit of
energy and when there is a large draw, it dumps some current back into
the circuit which smoothes out the power line. If the time when the
Teabox is being overdrawn is very small. . . you may be able to put a
number of capacitors between 5v and Ground and have them supply the
momentary power that you need to keep it from browning out.
I'd try this first just in case this is all you need to do. (Don't
bet on it, but it just might work.) Just take a smattering of
capacitor sizes - 0.1mF to 10mF (you could go beyond this range if
that was all you had). Then connect one side to 5v and the other side
to Ground. Go ahead and connect a number of them to see if you can
get enough energy stored up to stop the brownouts. If it is still
browning out on occasion, you'll have to add a proper regulator as
described above.
Let me know if either of these work out.
-Jesse Allison
.