Tell me more ×
Electrical Engineering Stack Exchange is a question and answer site for electronics and electrical engineering professionals, students, and enthusiasts. It's 100% free, no registration required.

I am talking about Mega 2560 and LCD 1602

When I tried uploading the program, it just gave me these error messages:

avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer

the arduino isn't lighting up or anything either.

share|improve this question

2 Answers

up vote 1 down vote accepted

This doesn't look like an error with the LCD or the sketch. The error message means that your Arduino IDE (or rather the underlying avrdude program) cannot connect to the Arduino board. So check you setting and your connections to the board. If this error persist, try to get more information about it, and then ask a more targeted question (which board do you have, how is it connected, can you program it at all, which IDE version do you use, and so on).

share|improve this answer

You already have similar open questions. Do some research before posting, you'll find things like:

Arduino Mega2560 can't be programmed via USB

Which suggests a work around and how to provide more advanced debugging info.

share|improve this answer
If there are questions very similar to this one you should flag it as "exact duplicate", referring to the duplicate, instead of answering. – stevenvh Jul 31 '12 at 12:24
@stevenvh I believe I did this, but they lacked the advice/link I provided. – ElectroNoob Jul 31 '12 at 12:25
1  
A link on its own is not considered an answer. If you instead detail advice here it can be valuable. Telling people to do research is counterproductive, we want to be the source. – Kortuk Jul 31 '12 at 14:50

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.