Doodle bot not connecting

IMG_20130526_2025501.jpg (1110411Bytes)
IMG_20130526_2025591.jpg (1003989Bytes)
IMG_20130526_2026071.jpg (1177482Bytes)
IMG_20130526_2026241.jpg (1067869Bytes)

I recently purchased the DAGU kit for the Doodle bot. I set it all up as per the instructions and uploaded the sample text. I am a beginner and was hoping to use this simple kit to learn the basics of how all the components work and are programmed. Originally I was unable to get the robot to work properly, the right motor would spin continuously and the left was not responding (I checked, both motors were fine though).


However, now I am unable to upload the sketch to the controller. I get the following error:



Binary sketch size: 4570 bytes (of a 7168 byte maximum)

C:\Program Files\arduino-0022\hardware/tools/avr/bin/avrdude -CC:\Program Files\arduino-0022\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -patmega8 -cstk500v1 -P\\.\COM4 -b19200 -D -Uflash:w:C:\Users\Batbeel\AppData\Local\Temp\build8159994617669351512.tmp\Doodle_Bot_Text_Demo.cpp.hex:i 


avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32

         Copyright (c) 2000-2005 Brian Dean,


         System wide configuration file is "C:\Program Files\arduino-0022\hardware/tools/avr/etc/avrdude.conf"


         Using Port            : \\.\COM4

         Using Programmer      : stk500v1

         Overriding Baud Rate  : 19200

avrdude: ser_open(): setting dtr

avrdude: Send: 0 [30]   [20] 

avrdude: Send: 0 [30]   [20] 

avrdude: Send: 0 [30]   [20] 

avrdude: Recv: 

avrdude: stk500_getsync(): not in sync: resp=0x00

avrdude: Send: Q [51]   [20] 

avrdude: Recv: 

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51


avrdude done.  Thank you.


I don't now what might be the cause. Is my board a dud? I was using old batteries at first. So thought maybe that's why only one motor is working, but that doesn't explain why it won't communicate with the pc anymore. I attached pics to see the board and provide feedback on if I made any mistakes on wiring and might have fried the board. Being a beginner I really want to figure out what the problem is, even if I fried the board I would like to know why before I buy a replacement.


No Sync

It’s possible that AVRDude is simply looking at the wrong port for the programmer.

That happened to me once when my ICSP changed the serial port it was on.

If you’re trying to program it directly from the USB port, make sure the microcontroller is being recognised in the device manager (Windows). If not, then as someone else said, your bootloader may be corrupt.

In this case, you will need an ICSP (ISP) programmer to re-flash the bootcode to it.

Alternately, you can also use it to send your program to it with no bootloader.

I use a USBTinyisp. Got mine on EBAY for under 9 bucks including shipping here.