When working with electronics, many times you’ll need to produce a voltage for some or all of your system that doesn’t align with your battery supply. Using a voltage dividing resistor is one technique, but has some disadvantages, and if you actually need to increase your voltage level going into a circuit you’ll need to employ a different technique.
One way is via a boost converter, which takes a certain voltage input, then allows you to literally dial in the needed higher output voltage. This item is one example of this type of device, and can take 3-35V in and convert it to 4-45V out. Of course, this means that the current in will need to be greater than the current output in order to satisfy the laws of thermodynamics, so you’ll need to take that into account when designing your system.
The opposite of this is a buck converter, which is also available from the same seller. Either of these are also available from your favorite online auction sites, but after looking at a few of these listings, many will call them “Buck-Boost” converters or similar, while they appear to only do one of those jobs.
Whether you buy components here or elsewhere, be sure to check the specs carefully to ensure you’re getting what you really want. If you do buy something from us, you’re backed up with the Tindie Guarantee. This allows you to refund what you buy within 30 days if you’re unhappy with your purchase, but be sure to “read the docs” to help you avoid even this inconvenience.