Monday, July 4, 2011

Simple power supply for PIC MCU

The power supply for PIC is either 5V or 3.3V. Let us begin with simple 5V regulated power supply. Figure 1 illustrates Proteus simulation for the 5V supply. Note that the supply voltage to the 7805 has to be at least 2V from the regulated voltage. Thus, in this case, the supply voltage has to be 7V and above.

In some cases, you might want to use it with PIC24F and also dsPIC devices that needs 3.3V. Thus, it is better to have both 3.3V and 5V.

Regulated 5V supply

Figure 1: 5V using 7805

Figure 2 and figure 3 shows a simple circuit that will provide 5V and 3.3V. Here, a voltage divider is used to convert the 5V to 3.3V. The switch, SW1 can be replaced with a 3-pin connector. Thus, this will enable you to have, 5V, 3V and GND on the 3 pins.

Figure 2 shows direct output 5V from the regulator while Figure 3 shows the output from the regulator is passed through a voltage divider to get 3.3V.



Figure 2: Direct output from regulator

Regulated 5V and 3.3V supply

Figure 3: Output from a regulator through a voltage divider

Conclusion


Having 5V and 3.3V, power supply could be very handy. IC's such as PIC24F would require 3.3V while Max232 requires 5V. Therefore, in this case, you would require both 5V and 3.3V

2 comments:

  1. Your blog are impressive to each other.I read your blog. useful content .its very good, Helpfull for all. Thank you for sharing this.

    ReplyDelete
  2. Nice post, its useful information for everyone, really i enjoyed and sharing with my friends.

    ReplyDelete