I'm scratching my head over this. I've got a motor shield powering an HO train as seen here:
http://www.youtube.com/watch?v=OAfjMWR0J_w
I'm set up with a 9V for the Arduino (Duemilanove) power, and the rail voltage (around 12V, but variable with the track transformer) fed into the EXT terminals on the motor shield. The shield's power jumper is off, so I should be getting the optimal logic vs. motor power supply, right?
I'm running the sample sketch which loops up to 255 and back to zero forward, then does it in reverse, pauses, repeats. This works perfectly fine with little DC motors, so I think the shield's health. On the train it works pretty well, but sometimes it cuts off voltage to the motor as it reaches top speed. It seems like the Arduino is not being reset, and the power LED on the motor shield remains lit. If I wait a few seconds it seems to resume normal operation.
I've read these forums and Limor's advice, so I doubled up on M3 & M4 in case current draw was too high (I measured it at ~400 mA). This seems to have improved things a lot, but there are still cases where it behaves erratically, cutting power as it approaches top speed.
I'm planning to piggyback another h-bridge chip on there tonight, and switch the cruddy little transformer out for a regulated supply, but wonder if anyone can offer additional suggestions.
Thanks,
John

