I am trying to create an ultrasonic radar system that uses an Arduino Uno, HC-SR04 ultrasonic sensor and SG-5010 servo motor. I have a 12V power supply AC converter) that I connected to the arduino and a USB to my laptop, but my laptop suddenly turned off when trying to plug these in and is not turning back on. It seems like I shorted the USB port, and that somehow screwed up the rest of the laptop.
I cannot remember whether I plugged the USB cable or power supply in first. I think my circuit is designed correctly, but I’ve attached an image to describe it just in case. For what it’s worth, I used jumper leads and had to crudely tie a couple together to split the 5v and gnd.
Is there a flaw in the design of my circuit?
How am I supposed to upload a script to the board in this case? With or without the external power supply connected?
What can I do to prevent this from happening again/what may have caused my laptop to dry?
IMG-3027_compressed.pdf (997 KB)