> Problem is, PWR from the Gumstix UARTs is V_BATT, which is the
> regulated power. This is a lot of drain on the RoboStix's power
> regulator, and for us, the camera plus the Gumstix, five infrared
> sensors, an LCD, and two bump-switches is just too much on the
> regulator. Instead we're powering the CMUCam2 by hooking its power
> supply to V_MOTOR and GND on one of the RoboStix's servo ports, which
> provides unregulated power from our battery pack I believe. I think
> that's fine as the CMUCam2 has a more than adequate power regulator
> onboard. Then we just hook up the respective TX and RX lines on the
> TTL and leave the PWR and GND lines unconnected. Seems to be working
> reasonably but I've not tested that much.
Yes - V_MOTOR would be unregulated power.
> At this stage my understanding is that the CMUCam2 might be receiving
> juice from two possible sources: the PWR line of the TTL UART, and
> the RX line ("0-bit" is 5V send from the Gumstix's TX to the
> CMUCam2's RX). Power from the PWR line is fine -- it bypasses the
> switch though. But power to the RX line isn't good if not
> accompanied by the PWR line.
If you put a pull-down resistor (say 10-50K) between Gnd and the STUART RxD=
Configure GPIO 46 as input, and GPIO 47 as output set to zero.
When you detect a logic high on GPIO 46, then the CMUCam has been
powered on, and you can configure 46 as AF2, and 47 as AF1 to get the
STUART functionality back.
Vancouver, BC, Canada