For any decent scale project hardware costs (chips, PCBs, assembly, conenctors) shadow developement costs. While in software it is appropriate to have large libraries/frameworks with batteries-included, in hardware it is much cheaper to stitch together custom solution out of very specialized circuits.