I have been looking around, and it seems like I am allowed to put a higher voltage on pin RA4. Copy-paste from datasheet:
Code:
Absolute Maximum Ratings †
Voltage on any pin with respect to VSS (except VDD, MCLR. and RA4) ... -0.3V to (VDD + 0.3V)
Voltage on VDD with respect to VSS ................... -0.3 to +7.5V
Voltage on MCLR with respect to VSS (Note 2) ........0 to +13.25V
Voltage on RA4 with respect to Vss .......................0 to +8.5V
I am using the PIC at 5V, so I thought that voltage on any pin would be Vdd + 0.3V, so that would be 5.3V max.
The line about RA4 simply says 0 to +8.5V, so I assume that I am allowed to sink 25mA's max at 8.5V max since I am using RA4 as an Open Drain output.
So this would leave me with the problem that I don't know whether I am allowed to connect the buzzer directly to 7.2V, and whether it will fry my PIC whenn Vdd is switched off? Also, am I getting the first part right?
Bookmarks