Hi everyone, was trying to make the Arduino "knock" example today, following instructions on the arduino.cc website.
When I tried to upload the sketch, I got the following error:
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51
I should say that this is my second arduino, and my last arduino broke when I was trying to wire this exact same circuit. It has been working fine up until now, because I have been doing other projects, but as soon as I wired this up, it broke.
This is the exact same message I got last time, and I cannot upload any sketches, reburn the bootloader or anything. It just keeps running the last sketch I uploaded.
The board is an Arduino Duemillanove with an ATMEGA328 chip in it.
Since last time I replaced the whole board, not just the chip, so I know it is not a problem with that.
I have checked and re-checked my circuit, it is exactly as wired there except for one thing: I am using two 610k resistors end-end rather than a single 1megaohm resistor. As far as I know, 1.22megaohms shouldnt cause a problem, but I might be wrong.
Here is the piezo I used, brand new from maplin today:
http://www.maplin.co.uk/images/full/qy13p_yu85g.jpg
It is unmodified, same bootloader it came with, and is running from USB to a Windows 7 machine (don't believe that to be an issue because the last time it was on XP)
I would send a link to the item itself but their website appears to be on the blink.
Please help me as I need my arduino working for my car; it was driving my alarm and electronic door locks.
Thank you!!