in 8/26/2023, i try to connect my arduino nano to my laptop, after i plug my arduino to laptop, my arduino was like trying to reset itself and after that my windows say "Usb not recognized". and it happening repeatedly like 3 times every 10 seconds. after i checked in device manager, my device manager was like scanning for hardware changes repeatedly so fast
but in 8/24/2023, my arduino nano still can connect to my laptop
this is the component that i plug into arduino nano My Files.PDF (14.8 KB)
My component >> arduino)
9V >> Vin
VCC/VDD >> 5V (for CD4052, because in my schematic there is no power pin for CD4052)
GND >> GND
B >> D11
A >> D12
X >> A0
Y >> A1
i just connect my nano to my laptop and nothing happen
and if i use my second nano (i was not use this one because it was half broke) it can detect to my laptop
i know my nano was broke but at least i don't want to do same thing to my new nano
if i see here, the max foward voltage for infrared is 1.7V. so, if i plug the infrared series, and i give 9v, there is 1.125V for every infrared so i think it's okay
the vcc was connect to cd4052, it was like not connected, but it connected
this the pcb patterns Sensor_SL-02.PDF (37.2 KB)
Have you measured the volt drop across each LED emitter in your circuit?
Have you measured the current flowing through the LED emitters in your circuit?
New Information. If i plug 9V to Vin nano and gnd to gnd nano, the nano can run without reseting itself. But, if plug it into my laptop, the nano automatically reseting it self and my windows say "Usb Not Recognized"
in my nano, if i press reset button, the tx led blinking, and if i release the reset button the light/D13 button was blinking. and it happen if i plug my nano to laptop
So the nano was working at some point because you were able to download a program.
So something happened between the time you downloaded that program and 8/26 but I still don't understand why you think he nano is resetting itself.
why i think my nano is resetting it self?
because in my program i use Serial.println() command which is tx or rx light (idk the specified) will be blinking while i plug my nano to 9V power or laptop
in 26/8, after i plug my nano to 9V power. First the tx or rx led is still blinking, then 2 seconds later there is a notification and it say "Usb not recognized". and the notification was repeatledly. Until at some time my tx or rx led was turning off like 2-3 seconds, and after that my D13 led was blinking once
this my program if you still understand why i assumed if my tx or rx pin turned off in 2-3 seconds, my nano was resetting itself