I have a small robot centered around the Raspberry pi 2 driving through a DFRobot Romeo (aka Arduino). When developing I have been drawing power from the USB connections on both the Arduino and Raspberry. When mobile the unit draws power from separate battery supplies for both the Raspberry, Arduino and the motors. This combination has worked very well. I recently upgraded the Raspberry to a pi 3 and now I am having a problem where any commands requiring GPIO output on the Raspberry will only work while I have the HDMI cable attached. This problem occurs regardless if the Raspberry is connected to the Raspberry power supply (I am using the new Raspberry 3 power supply) or to the battery pack.i.e. if I plug in the HDMI cable everything works fine - if I unplug the cable the GPIO output commands no longer work. It is as if the Raspberry is drawing power also through the HDMI port?
I am perplexed - any thoughts?