Or get one of the the ready-to-use 3.3V/5V voltage regulator boards.
Packages of 10 AMS1117 3.3V or AMS1117 5.0V or AMS1117ADJ SMT components
The AMS1117 3.3V or AMS1117 5.0V or AMS1117ADJ SMT/SMD chips come in packages of 10, the
2.5V, 3.3V or 5V voltage regulator boards come in packages of 1.