I have 6 Elegoo Smart Robot 4.0s. I've been having problems with two of them that they cannot be found when connecting to wifi. I thought I'd try reuploading the software that can be found on the Elegoo downloads link. However, every time I try to upload to any of the robots I get the message:
avrdude: stk500_recv(): programmer is not responding
All my other Arduinos upload fine but I can't upload to any of the ones sent with the Robot Car. What am I doing wrong? Am I selecting the wrong board (Arduino Uno)?
The documentation isn't that useful because it doesn't go through the process of uploading
Hi @theanonguy. I'm going to ask you to post the full verbose output from an upload attempt.
This procedure is not intended to solve the problem. The purpose is to gather more information.
Please do this:
Select File > Preferences... (or Arduino IDE > Settings... for macOS users) from the Arduino IDE menus.
The "Preferences" dialog will open.
Uncheck the box next to Show verbose output during: ☑ compilation in the "Preferences" dialog.
Check the box next to Show verbose output during: ☐ upload.
Click the "OK" button.
Attempt an upload, as you did before.
Wait for the upload to fail.
You will see a "Upload error: ..." notification at the bottom right corner of the Arduino IDE window. Click the "COPY ERROR MESSAGES" button on that notification.
Open a forum reply here by clicking the "Reply" button.
Click the <CODE/> icon on the post composer toolbar.
This will add the forum's code block markup (```) to your reply to make sure the error messages are correctly formatted.
Press the Ctrl+V keyboard shortcut (Command+V for macOS users).
This will paste the error output from the upload into the code block.
Move the cursor outside of the code block markup before you add any additional text to your reply.
Click the "Reply" button to post the output.
From looking at the "Smart Robot Car Kit V4.0 (With Camera)" product listing on the Elegoo website, it appears the board is an UNO derivative, so selecting "Arduino Uno" from the board menu should be correct.
Sketch uses 30952 bytes (95%) of program storage space. Maximum is 32256 bytes.
Global variables use 1173 bytes (57%) of dynamic memory, leaving 875 bytes for local variables. Maximum is 2048 bytes.
"/Users/[hidden]/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/bin/avrdude" "-C/Users/[hidden]/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf" -v -V -patmega328p -carduino "-P/dev/cu.usbserial-14120" -b115200 -D "-Uflash:w:/private/var/folders/xv/kkkrlk996tq9svkvpmtxj_kh0000gp/T/arduino/sketches/952F59F661B63BC0033E106FC1A5B46F/SmartRobotCarV4.0_V1_20230201.ino.hex:i"
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Users/[hidden]/Library/Arduino15/packages/arduino/tools/avrdude/6.3.0-arduino17/etc/avrdude.conf"
User configuration file is "/Users/[hidden]/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.usbserial-14120
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x00
avrdude done. Thank you.
Failed uploading: uploading error: exit status 1
Yes the board and port are all correct. I have verified the port by connecting and disconnecting to see which one pops up. The board I'm using is Arduino Uno
OK, I seem to have gotten somewhere. I cannot upload while the Robot Car shield is connected to the Arduino. Even when switching the switch from "CAM" to "UPLOAD". But it uploaded with the shield disconnected. Any ideas why?
Does the robot car shield use the Rx & Tx pins for its own purposes? If it does, that would prevent the upload from working as it needs to communicate over those same pins.