I'm a complete novice with the Arduino, RPi etc. I've just bought an Arduino Uno and a Sparkfun Red Board, and I've been working through the first projects in the Spark Fun SIK and John Boxalls 'Arduino Workshop' book I.e 'Blink', sequence 5 LED's, etc, easy, simple sketches.
This problem applies to the Uno AND the Red Board. 1. I upload a simple sketch and it starts to run. After about 5 or so seconds the board appears to reset - the LED of pin 13 flashes, the blinking or sequence stops (depending on which sketch I've uploaded) briefly, and then the sketch starts to run again. 5 or so seconds later the pin 13 LED flashes, blinking stops or the sequence stops and so on......this just repeats.
One way I discovered that I can stop this apparent resetting is to disconnect the PC - a 2009 Mac Book Pro running MAC OS 10.6.8 Snow Leopard. This is mildly inconvenient, but once I advanced to the sketches that require you to open serial.begin() then obviously I can't do that if I've disconnected the MAC and if I leave the MAC connected I get a few serial port readings but on the first 'reset' they stop and don' start again when the sketch does, so effectively I can't use the serial port readings.
I've asked about this on the Spark Fun forum and the consensus was a too much current/power issue. I've tried running the boards straight off the MAC USB port with the MAC on battery, on mains, and with the MAC and boards connected up to a powered hub. None of that makes any difference.
My plan next is: uninstall from the MAC, re-install. Try it on a Windows PC running Win7, I've got access to both 32 and 64 bit versions.
Any help would be greatly appreciated as this, especially the serial port issue is spoiling what could be a very interesting experience. Regards,