xoy said:
can anyone help me please how can i convert a 9v from battery to 6 volts supply.... please post a circuit.
You can't use a 7806 regulator nor an LM317, because they need more than 8V or 9V at their input to regulate properly.
You can't use a 6V zener diode because it wastes power and its regulation fails as the battery runs down.
The problem is that the voltage of a 9V alkaline battery quickly drops to 7.2V, then slowly continues to drop to 6V over its life.
You need to find an adjustable
low-dropout regulator IC, all Semiconductor manufacturers make them, then replace the battery when its voltage drops to about 6.3V.
If your circuit will operate at 5V, then there are many low-dropout 5V regulators available. I use the LM2931AP-5.0 100mA regulator for all my 9V battery-powered projects. It looks like a little 2N3904 transistor.