Convert 9 volts to a constant 5 volts.

Components:

  • 100uF Polarized Capacitor
  • .1uF Ceramic Capacitor
  • Switch (On/Off)
  • LM7805L Voltage Regulator
  • 9 Volts battery

 

This circuit works with inputs higher and lower than 9 volts also, but not lower than 5 volts. See the datasheet for the LM7805 to know more.