Hey guys... looking for a little input on a project I am doing...
A little pre-question background...I built a regulated DC power supply IAW "Tab Electronics Guide to Understanding Electricity and Electronics" by G. Randy Slone a while back. The build went great and everything works as designed and I learned a little bit along the way. The one thing I want to change is the enclosure it is in and I also want to add a few things to the design such as a few LED's for visual indications like "power on" and "stand-by" as well as indicating whether the "positive" or "negative" circuit is energized. I also want to add a digital volt meter that indicates anywhere from -50 to +50 vdc. And lastly I want to put a fan in the enclosure linked up with a thermal switch to help keep everything cool incase it starts getting warm. I realize some of these features are overkill and the main reason I want to do them is for the learning experience.
At the moment I am teaching myself about PIC microcontrollers so I want to utilize a PIC to control the LED's, fan, and a relay that will switch the power input to the voltmeter.
So my question is basically, is a PIC the correct way to go about making this circuit? The inputs and outputs are going to be as follows:
Power Switch "on" ------------------------> Green LED
Power Switch "off" ------------------------> Orange LED
Voltage Selector Switch "positive" -------> Red LED "1"
Voltage Selector Switch " negative" -----> Red LED "2"
Voltage Selector Switch "negative" ------> Control Relay Coil
Thermal Switch ----------------------------> Fan
Should the PIC I choose to control this circuit be picked based solely on inputs and outputs available or are there other factors I should consider? I have the following PIC's in my possession: PIC12F508, PIC12F675, and PIC16F54. Unless I think of anything else I want to incorporate, it looks like I am looking at 5 inputs and 6 outputs.
Any input, positive or negative, will be greatly appreciated.
A little pre-question background...I built a regulated DC power supply IAW "Tab Electronics Guide to Understanding Electricity and Electronics" by G. Randy Slone a while back. The build went great and everything works as designed and I learned a little bit along the way. The one thing I want to change is the enclosure it is in and I also want to add a few things to the design such as a few LED's for visual indications like "power on" and "stand-by" as well as indicating whether the "positive" or "negative" circuit is energized. I also want to add a digital volt meter that indicates anywhere from -50 to +50 vdc. And lastly I want to put a fan in the enclosure linked up with a thermal switch to help keep everything cool incase it starts getting warm. I realize some of these features are overkill and the main reason I want to do them is for the learning experience.
At the moment I am teaching myself about PIC microcontrollers so I want to utilize a PIC to control the LED's, fan, and a relay that will switch the power input to the voltmeter.
So my question is basically, is a PIC the correct way to go about making this circuit? The inputs and outputs are going to be as follows:
Power Switch "on" ------------------------> Green LED
Power Switch "off" ------------------------> Orange LED
Voltage Selector Switch "positive" -------> Red LED "1"
Voltage Selector Switch " negative" -----> Red LED "2"
Voltage Selector Switch "negative" ------> Control Relay Coil
Thermal Switch ----------------------------> Fan
Should the PIC I choose to control this circuit be picked based solely on inputs and outputs available or are there other factors I should consider? I have the following PIC's in my possession: PIC12F508, PIC12F675, and PIC16F54. Unless I think of anything else I want to incorporate, it looks like I am looking at 5 inputs and 6 outputs.
Any input, positive or negative, will be greatly appreciated.