Arduino Uno smoking HELP

I'm very new to all this so i might lack in the language and terms of all this!
I'm wanting to know if it is safe to plug the board back to a power source without it breaking further more.
I was trying some codes to make two stepper motors work, and it was working, but eventually it started "lagging" i assumed it was my computer that was having a hard time to stay connected and that the usb port was struggling, so i let it run and eventually i wrote a new code and i tried to send it and it didn't want to, it gave me error messages, and the old code kept running and lagging. then it did a small "chock" noise and smoke started comming out the board. so i unplugged the power port and the smoke stopped. I'm pretty sure the smoke was from the USB interface chip, and now the plastic has a slight bump in it. as of now it is still plugged with the usb and the "L" "TX" and "RX" lights are still open, as well as the green "QN" light.

i assume a schematic could be useful but i am unable to figure it out... so i made a drawing to show what i had to work with. i hope its better then nothing

i did not draw it on the image to keep it understandable but the square pieces on the left are also connected appropriately to a - or + board. (i'm sorry i have no idea what it's called) and one of them still has the A light on when it's plugged in the pc. The rectangle on the right is a simplified arduino board !

i don't think the codding can cause something to smoke but if it is the case i'll just link it if anyone needs to see it.
the power cable is a 12 v one.

if i'm missing any information for this let me know i'll try my best to give what is missing!

Not the magic smoke! It's so hard getting it back.

I don't think it's worth spending time on that Uno, but get a new one plus going through the schematics and find where current finds a way where it shouldn't.

Do they have common GND, i.e the 12V supply and the Arduinos 5V?

the 12 V supply was plugged into the power port of the arduino
the 5v of the arduino was connected as a positive and the gnd was used as a negative (those where both plugged onto a little board that allows to connect a lot of negative together and a lot of positive together , i'm not sure what it's called but that's the function of it!)
i'm not sure if it would make it where they have a commone gnd tho...

Start over with the IDE built in samples. Learn how to wire up the Blink sketch and then do more basic sketches. In general, an UNO can be powered by ONE of the following, USB, power jack, VIN (rarely) NEVER more than one. The stepper motors need their own power supply, to start a wall wart later after much experience you can investigate battery power but it is much more complicated than it appears. Make sure the grounds are in common and good luck.

A picture is worth a thousand words. Why do't you take a few pictures of the entire set-up so we can see what you have.

This is what we're talking about

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.