(Although doesn't look exactly the same as those I viewed on web.)
Green LED lit, red LED flashes at something under 1 Hz..
Uploading any sketch by the usual method gives "An error occurred while uploading the sketch". Full report:
Start with the blink sketch and change the delay times by a significant time and see if it works when uploaded. If it does then do a serial.begin and then serial.print hello.
Are you using a USB data cable, or just a charging one? Remember, USB charging cables do not transfer data, so use a data one.
Have you installed the CH340 drivers? Since your boards are clones and you're on Windows, you have to install the CH340 drivers, because Arduino Nano clones are interfaced with a CH340G chip.
Have you selected the old bootloader? If not, select it.
Is there anything connected to RX & TX pins? If there is, disconnect it first, then upload your code.
Turns out that four of these five cheap AliExpress Nano clones (actually 'compatibles' if I believe the advert) work correctly. So you can guess which one I opened first and spent much of yesterday struggling with!
This morning I tested all five and regret that I didn’t do so at the start. Of course, I can't even be sure that the first one was faulty. Perhaps I damaged it in my early tests. But assuming not, I'm still keen to pursue any further steps before binning it.
Signature?
Using Arduino as ISP I do not today seem to be getting the same result as previously. I get 'Uploading...' but the progress bar immediately turns solid green and if I have the patience to leave it for several minutes I eventually get this, not the 'Yikes!' message.
Thanks for all the help, which I’ve filed for future Nano trouble shooting.
Error report using Uno with ISP:
Arduino: 1.8.19 (Windows 10), Board: "Arduino Nano, ATmega328P (Old Bootloader)"
C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\terry\AppData\Local\Arduino15\packages -hardware C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\terry\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=2341_0043 -ide-version=10819 -build-path C:\Users\terry\AppData\Local\Temp\arduino_build_744246 -warnings=all -build-cache C:\Users\terry\AppData\Local\Temp\arduino_cache_638587 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\MY SKETCHES\MISC_or_UNASSIGNED\TestUNOPins-e4\TestUNOPins-e4.ino
C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\terry\AppData\Local\Arduino15\packages -hardware C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\hardware -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\terry\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\libraries -fqbn=arduino:avr:nano:cpu=atmega328old -vid-pid=2341_0043 -ide-version=10819 -build-path C:\Users\terry\AppData\Local\Temp\arduino_build_744246 -warnings=all -build-cache C:\Users\terry\AppData\Local\Temp\arduino_cache_638587 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\terry\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\MY SKETCHES\MISC_or_UNASSIGNED\TestUNOPins-e4\TestUNOPins-e4.ino
Using board 'nano' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Using core 'arduino' from platform in folder: C:\Program Files (x86)\Arduino\hardware\arduino\avr
Detecting libraries used...
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\sketch\\TestUNOPins-e4.ino.cpp" -o nul
Generating function prototypes...
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\sketch\\TestUNOPins-e4.ino.cpp" -o "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\preproc\\ctags_target_for_gcc_minus_e.cpp"
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\builtin\\tools\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\preproc\\ctags_target_for_gcc_minus_e.cpp"
Compiling sketch...
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -Wall -Wextra -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -MMD -flto -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10819 -DARDUINO_AVR_NANO -DARDUINO_ARCH_AVR "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\cores\\arduino" "-IC:\\Program Files (x86)\\Arduino\\hardware\\arduino\\avr\\variants\\eightanaloginputs" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\sketch\\TestUNOPins-e4.ino.cpp" -o "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\sketch\\TestUNOPins-e4.ino.cpp.o"
Compiling libraries...
Compiling core...
Using precompiled core: C:\Users\terry\AppData\Local\Temp\arduino_cache_638587\core\core_arduino_avr_nano_cpu_atmega328old_0c812875ac70eb4a9b385d8fb077f54c.a
Linking everything together...
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-gcc" -Wall -Wextra -Os -g -flto -fuse-linker-plugin -Wl,--gc-sections -mmcu=atmega328p -o "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/TestUNOPins-e4.ino.elf" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246\\sketch\\TestUNOPins-e4.ino.cpp.o" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/..\\arduino_cache_638587\\core\\core_arduino_avr_nano_cpu_atmega328old_0c812875ac70eb4a9b385d8fb077f54c.a" "-LC:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246" -lm
C:\Program Files (x86)\Arduino\hardware\arduino\avr\cores\arduino\main.cpp: In function 'main':
C:\Users\terry\Dropbox\Electronics\Arduino\SKETCHES\MY SKETCHES\MISC_or_UNASSIGNED\TestUNOPins-e4\TestUNOPins-e4.ino:28:8: warning: 'tabs' may be used uninitialized in this function [-Wmaybe-uninitialized]
byte tabs;
^
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/TestUNOPins-e4.ino.elf" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/TestUNOPins-e4.ino.eep"
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-objcopy" -O ihex -R .eeprom "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/TestUNOPins-e4.ino.elf" "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/TestUNOPins-e4.ino.hex"
"C:\\Users\\terry\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-size" -A "C:\\Users\\terry\\AppData\\Local\\Temp\\arduino_build_744246/TestUNOPins-e4.ino.elf"
Sketch uses 2758 bytes (8%) of program storage space. Maximum is 30720 bytes.
Global variables use 189 bytes (9%) of dynamic memory, leaving 1859 bytes for local variables. Maximum is 2048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
Problem uploading to board. See https://support.arduino.cc/hc/en-us/sections/360003198300 for suggestions.
Try Aliexpress they have many vendors selling with the USB C connector. In many cases they are less expensive. I have about 20 of them and only had problems with one, it was the cable i got from the box store.