7812 is a famous IC that is being widely used in 12V voltage regulator circuits. Truly speaking it is a complete standalone voltage regulator. We only need to use two capacitors, one on the input and the second one on the output of 7812. These capacitors will help us to achieve clean voltage output. You can even skip these capacitors in case of nonsensitive load.
You should mount a good heatsink plate with your 7812. This will help you in getting the full 1.5A current from your 7812. Thanks to the transistor-like shape of 7812 which makes it easy to mount on a heatsink plate. 7812 has built-in overheat and short circuit protection which makes it a good choice for making regulated power supplies.
In electronics markets, 7812 is sold under various names such as 7812a, 7812act, 7812t, and lm7812. All of them are almost identical with little to no differences at all. 7812 input voltage range is 14V to 35V. Exceeding the voltage range may damage the IC. Given bellow is a 7812 pin diagram to make the pinout connections clear in case you want to do some experiments.
If you hold upside down (pins up) and the IC number is facing you then the left pin will be the voltage regulator output, the center pin will be ground and the right pin will be the voltage input pin. From my experience, the maximum safe current you can get from one 7812 IC is 1A. If you need more power then there are a few ways to do so.
We can use more than one 7812 in parallel to get more than 1A current but the output voltage of each 7812 can slightly vary resulting in an unbalanced load on all of them. This can result in load balancing issues and can damage the IC carrying most current. However, there is a way to overcome this problem. I have bellowed a schematic diagram in which two 7812 ICs are attached and both of them are carrying an almost equal load. At least the current difference is not too much to damage any IC.
Please note that in this circuit diagram, I have used resistors for load balancing purposes so the output of this voltage regulator circuit may be slightly inaccurate. Both resistors should be a minimum of 15 Watt or above. If you don’t find such resistors in your area then you can make them using 32 gauge or thinner copper wire. This parallel 7812 circuit will provide 12V and approximately 2A current. You can increase the number of 7812 but each additional 7812 will require a resistor on its output.
Following is the link to a simple but complete power supply circuit diagram developed using 7812.