I'm new to Arduino and I have been trying to make a simple switching program triggered by a motion sensor. It has not been easy.
Most recently, I fried my Arduino Nano that I was using. Not sure how.
I have an Arduino UNO that often won't take a new sketch and does nothing, an Arduino Pro with no USB header, making it useless to me, and a Arduino Micro Pro that I am hoping to use for this simple simple project.
I can't get the Micro Pro to trigger Windows and assign a com port. So I can't access it in the IDE. Any suggestions? So far the only similar issue I have found was someone who had a bad cable. I've tried 3 different Windows 11 machines and 6 different cables. The device powers on and a green LED stays solid. Meanwhile the red LED blinks. I read that the blinking red LED is the default "BLINK" sketch loaded into new Arduinos.
Anyone know how to get Windows to acknowledge my Micro Pro? Thanks for your help.
The Pro Micro uses a microUSB cable. MicroUSB cables come in two flavours, charge only cables and data cables (sync cables). I suspect that you are using a charge-only cable.
Try other cables or buy a sync cable. If you have a phone that has a microUSB port, use the cable that came with it for data transfer between your PC and the phone.
Thanks for your reply. I am using the same micro usb cable that I have been using to transfer data between a couple of external hd enclosures, so it is definitely not a power cable. That was a reasonable suggestion, but I have tried other cables as well and nothing seems to get it to recognize. This is the Event Log Error:
Device USB\VID_0000&PID_0002\7&c9239dc&0&4 had a problem starting.
Driver Name: usb.inf
Class Guid: {36fc9e60-c465-11cf-8056-444553540000}
Service:
Lower Filters:
Upper Filters:
Problem: 0x2B
Problem Status: 0x0
additional info in event log:
Device USB\VID_0000&PID_0002\7&c9239dc&0&4 was configured.
It seems like these are not very hearty little devices and the boot loaders go bad a lot. Perhaps that's the problem. I just don't know what to do about it. Thanks for any advice you may have
I can definitely see the device in the Device Manager and see the errors it has in the event log. It's not getting a descriptor from the device and assigning it "bad device" drivers while disabling it.
It appears to be a driver problem. What version of the IDE are you using? I've read some old posts that suggest the 1.8x version might help but I can't attest to that. I don't have Win11 or a Pro Micro.
The VID and PID look odd to me but i can not check at the moment. I use original Sparkfun ProMicros (3.3V / 8MHz) so will check later when load shedding and time permit. I usually don't dig in the event log; can you point me to the correct location?
That is very unlikely. The usual cause is bugs in the sketch that corrupt variables used by the CDC stack that is part of the uploaded sketch. This results in the device not being detected or not reacting on the software reset.
//Edit
This applies to all devices with native USB; Leonardo, Micro, newer Arduino boards (e.g. Nano 33 ..., MKR...) and 3rd party boards).