When you click on links to various merchants on this site and make a purchase, this can result in this site earning a commission. Affiliate programs and affiliations include, but are not limited to, the eBay Partner Network.
You can get 12V from the battery and use a 5V voltage regulator. That's the best way to do it. Otherwise you might overdraw current from the ECU and damage it.