I have bought a set of Addressable WS2811 RGB LEDs which I wanted to control with an Arduino.
I used an Arduino Uno which was powered by 5V 1A adapter and the LEDs were directly powered by a 12V 1A adapter. The data cable from the Arduino is connected to the data input of the LED with a 330-ohm resistor, and the GND of the LED is connected with the GND of the board and the last is connected to the 5V on the board.
I used an example blink code from the FastLED library to test the blinking on the LEDs. This worked fine but as soon as I switched off the circuit and connected my Arduino to the laptop to transfer a new code, the laptop couldn’t detect the Arduino at all. This code was shown
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
And the Arduino isn’t being detected at the port.
I took the arduino to the shop and they told me the chip is fried. I tried again with another UNO and the same thing happened.
Please check my circuit and Advice on how i should proceed and what am I doing wrong.
I am attaching my circuit diagram below.
I had connected the 12V from the LED to the 5V pin on the Arduino. Both were powered by the 12v and 5v respectively hence I burned my Arduino.