I have a issue with my Arduino Uno r3.
I'm not sure why is that happening but I have a 5 V, 18 A power supply to power my LEDs. I connected 5 V from the Arduino to 5 V from the external power supply and I plugged this combined cable to my LEDs. I did the same with GND. On data pin 6 I used a 220 Ω resistor. Also I am using a 12 V power supply to power my Arduino.
At the same time the USB was plugged in.
In and between USB and power some chip is getting hot. I got scared and unplugged the whole Arduino. I am not sure how I should plug this in. It worked fine until I plugged in the external power supply and I was using few LEDs at the time.
This is what it looked like in more understandable way.
Please point out to me what I did wrong.