General Arduino

URM12 using RS485 shield and Arduino Mega2560

userHead shin 2024-07-02 02:29:02 307 Views2 Replies

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. 

userHeadPic lia.ifat