Hi. What is the best way to power a Arduino if you hook it up to a Raspberry Pi? I am using a couple of sensors and dont want to kill the Pi's power. I have been using a 12v 2amp power supply on the Arduino. All worked 100% for about a week. I wanted to reset the Arduino so I unplugged it from usb and power supply. Then I plugged it in again. All of a sudden I saw smoke and saw the voltage regulator glow red.
So the Arduino got fried. Why would this happen? Is there a spedific sequence to plug in power and usb? What is the best way to power a setup like this?