This is a switching regulator that supports buck, boost and inverting topologies ... but it can be bought for peanuts, has a wide input voltage range of 3 to 40 V, can switch up to 1.5 A and ...