URM12 using RS485 shield and Arduino Mega2560
I'm currently using Arduino Mega2560 to connect the RS485 shield for URM12 Ultra Sonic Sensor.
It would show these errors:
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
Failed uploading: uploading error: exit status 1
Is there a way to solve this?
2024-07-02 04:50:57
Are you trying to upload the code when the shield is connected to the ARduino? If yes, try to upload the code when the board is empty. Then connect the shield.
lia.ifat