[Solved]Slow verifying and uploading os sketches

Hi,
I am using an Elegoo Arduino Uno R3 and notice that the verifying and uploading of sketches takes much longer than that showing on youtube videos such as New Arduino Tutorials by Paul McWhorter.
Why would this be?

Welcome to the forum

Have both 2 PCs got the same specification ?

Not to "mince" words, but Elegoo is not an Arduino, rather it is a knockoff clone manufactured to resemble and operate as an Arduino.

YouTubers often have a revenue $tream coming in from Google and can afford to buy fast hardware.

Hope you enjoy your microcontroller board.

As a new-comer to Arduino I would like to hear if that is factual and examples of issues related to Elegoo Uno.
Thanks

Thanks UKHeliBob, I'm sure it will be helpful to a newcomer to Arduino.

I suppose the "youtube" PC could be much faster than my laptop which I assume could be the reason?

Hi @minced_pie

Please provide some quantification of what you mean by "much longer". Variation within a reasonable range of compilation and upload durations can be explained by differences in the PC hardware (e.g., processor, memory, and hard drive specs). However, durations outside that reasonable range indicates a problem (usually interference from the antivirus software).

When comparing the durations, make sure you are compiling the same sketch as in the video and have the same board selected from the Tools > Board menu in Arduino IDE (or whatever development tool you are using). A large program will take significantly longer than a small program. This is not necessarily correlated to the amount of code in the sketch files because a significant amount of the program may be in the libraries and board core code separate from the code you see in the sketch files.

Another important thing to note is the Arduino development tools cache the compilation. So the first compilation or upload (because the sketch is compiled before the upload starts) will be significantly longer than subsequent operations. It is likely the compilations you see in the videos are not the first compilation (because the video creator surely did some compilations in preparation for filming the video), so you are seeing the duration using the compilation cache.

The PC specification will, of course, influence the time take to compile a sketch. Quite apart from anything else the compilation involves accessing the disk of the PC to read and write files so the presence/absence of an SSD, for instance, could make a big difference

My "new" 64-bit 4GB quad proc takes just as long as my 32-bit dual 2GB. I accept those as "fast enough." I pay for my products.

Assuming that the Elegoo works at all when described as an "Uno" in the Board type, any difference in speed is more likely to be due to PC-side optimizations and/or video editing than differences in the board itself.

Most likely: mcwhorter has everything on a very fast SSD, or maybe even a RAMDisk.

Thanks to all respondents for their comments; they all help a new-comer.

With regards to genuine/Elegoo etc, I first came across reference to Arduino via a model railway website. The introduction in the main was that it is an open-source platform. Having looked up what that meant it isn't made apparent that it is best to get the genuine Arduino; indeed it doesn't come up until after I buy one and having problems, join the forum.
Having looked at various websites it appears to me that the main reason to buy Arduino is to support them which I am quite happy to do and as I a new to this hobby, think it would be best to have the best to avoid encountering errors in the hardware rather than my workmanship.

The presence of virus protection software can more than double compilation time.
You can tell your virus scanner that actions by arduino IDE are 'safe'. That can help a great deal.
Also, the second time that you compile (nearly) the same sketch, it will be way faster (as it will use precompiled library files for the build).

I have a number of clone "Arduinos" but I also have genuine Unos, Nanos and a Leonardo bought to support the Arduino project and to have reference boards on hand should I need them

I have never encountered a problem using the clones beyond needing to ensure that the correct drivers were installed that was a hardware fault

Thanks build_1971, I'll try that. Cheers.

Thanks UKHelibob, I 've just bought a genuine Uno just in case.

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