I'm a college student and I was using arduino Uno with a 9V battery and two small motors in one of my labs. I have a lenovo yoga 9i laptop and the arduino was connected to my laptop and battery was plugged in. Suddenly my laptop shut down and didn’t turn on. It's been 3 days, It's not turning on but it is fully charged. What can I do about it?
Thank you so much, I'm so stressed!
Motors and servos draw a lot of current and generate severe voltage spikes. On this forum, we recommend to power motors separately to avoid damage to the Arduino and/or a USB port, if connected.
It is possible that the USB port on your laptop was damaged. If you have disconnected everything and the laptop still won't turn on, take it to a repair shop.
I moved your topic to an appropriate forum category @safsara07.
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category" topic at the top of each category that explains its purpose.
It appears you misconnected something and damaged your laptop. Try removing the charger and battery from the laptop, let is set a while at least an hour. Put it back together and see if it starts up, if not you need to take it to the repair shop.
I cannot say I do not know your skill set or if it was designed to be removed. The reason is to force a hard reset, you may have a reset button. If you have a button try that, they are generally fairly well hidden. You can also go on line and see the manual for it.
There is probably a connector for the battery that you can carefully unplug instead of actually removing the battery. Check iFixit to see if they have a tutorial for battery service for your laptop.
If you are powering an inductive load (motor or solenoid) without a kickback suppression diode from the UNO's 5V pin, kickback spikes have a direct path back to your laptop's USB supply.