Jump to content

I was preparing my arduino uno to run a program to use the dht11 module. After it compiled sucessfuly, whent trying to send the actual program to the arduino, it appeard the following error:

Arduino: 1.8.10 (Windows 7), Placa:"Arduino/Genuino Uno"

O rascunho usa 6728 bytes (20%) do espaço de armazenamento do programa. O máximo é 32256 bytes.
Variáveis globais usam 219 bytes (10%) de memória dinâmica, restando 1829 bytes para variáveis locais. O maximo é 2048 bytes.
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x20
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x30
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x20
Ocorreu um erro a enviar o rascunho

Este relatório teria mais informação com a
opção «Mostrar mensagens detalhadas durante a
compilação» seleccionada nas Preferências.

I do not have any module connected to the arduino and its connected to the computer throught a usb cable. Can any of you help me?

 

Link to comment
https://linustechtips.com/topic/1138761-arduino-help-sync-erroer-while-compiling/
Share on other sites

Link to post
Share on other sites

From quick googling it appears this error occurs when you haven't selected correct board and port in your arduino IDE.

 

Go to Tools -> Board -> select Arduino Uno

then Tools -> Port -> select COM port on which the uno is connected.

CPU: i7 3770K | MB: EVGA Z77 FTW | RAM: HyperX Savage 2400Mhz 16GB | GPU: R9 280X Toxic | Cooler: Scythe Fuma | PSU: CoolerMaster B600

SSD: Crucial MX300 525GB | HDD: Seagate Barracuda 7200.12 500GB - Toshiba DT01ACA300 3TB

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×