Cannot upload sketches while IO Expansion Board is connected

I get the avrdude: stk500_recv(): programmer is not responding avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00 error when trying to upload a sketch to my Elegoo UNO R3 with the IO Expansion Board is connected. I can upload the sketch fine with the IO expansion board disconnected, but switching the switch to "upload" on the expansion board does not change anything.

If I were to guess, the issue is because the IO expansion board uses the same pins that are used for uploading sketches which means the pins are busy and cannot be used to upload sketches, but then I am not sure what the point in the upload switch is.

This is the .ino code I am trying to upload, just so I can test to see if I can upload code sucessfully:

#include <avr/wdt.h>
#include "DeviceDriverSet0.h"
#include "AppFuncSet0.cpp"            // not sure if arduino requires importing .cpp files, or if you need to link them?

DeviceDriverSetMotor AppMotor;
App AppRover0;

void setup() {
  AppMotor.DeviceDriverSetMotorInit();
  delay(2000);

  for (AppRover0.MotionControl = 0; AppRover0.MotionControl < 9;
       AppRover0.MotionControl = AppRover0.MotionControl + 1) {
          Serial.println("moving rover");
          AppFuncSetRoverMotionControl(AppRover0.MotionControl, 255);
          delay(1000);
  }
}

void loop() {

}

I have tried resetting both the UNO R3 which reset properly and the expansion board.

For context I am using this car starter kit

Page 25 of the user manual gives a description of the switch. It's my understanding that it is used to switch between (1) communication with the ESP32 CAM module and (2) upload to the Uno.

I can not say why it would not work.

The page that you linked has a section "Customer questions & answers" where you can ask questions about the product. I have the idea that asking there is a bit of a waste of time because most replies tell you to contact 3dp@elegoo.com.

1 Like

It is more inconvinent than anything else that I have to remove the IO extension board before uploading but it is a workaround. Thanks for the reply, I wont bother asking because like you said they will just tell me to contact Elegoo themselves, and I dont think it is worth all the time just to fine ou the extension board is most likely faulty.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.