The present invention provides methods and apparatus for unmanned aerial vehicles (UAVs) with improved reliability. According to one aspect of the invention, interference experienced by onboard sensors from onboard electrical components is reduced. According to another aspect of the invention, user-configuration or assembly of electrical components is minimized to reduce user errors.