Schulerbible
Newbie level 4
- Joined
- May 9, 2014
- Messages
- 6
- Helped
- 0
- Reputation
- 0
- Reaction score
- 0
- Trophy points
- 1
- Activity points
- 52
Hi guys,
I got a pair of PIC16F1783 microcontrollers (programmed in MPLAB). The PIC 16F1783 has a 8-bit DAC with two outputs. I implemented a PI loop for a temperature regulation. The output of the DAC is connected to the base of a 2N6488 (NPN) transistor that switches a 12V source which drives an electric heater on (255) and off (0). This was just a quick test. Later I would like to use the 8 bit resolution to limit the current through a transistor.
All worked fine so far but at some point the DAC output did not worked abymore. So, I switched to the second output and here I experienced the same thing. During the last days I grilled 3 of 4 outputs and I still don't have a solution for that.
What I think could have happened:
During programming and debugging I measured the output voltage with a multimeter and maybe I touched the probe (multimeter needle) with my fingers which could have result in a static shock at the DAC pin. When I use the DAC outputs as I/0 pin then they are dead as well. So, something happened of I am not aware.
I don't use any buffer circuit since I have no idea how to set this up. It would be good to find a quick and easy solution to prevent this problems in future.
Thanks
Tobias
I got a pair of PIC16F1783 microcontrollers (programmed in MPLAB). The PIC 16F1783 has a 8-bit DAC with two outputs. I implemented a PI loop for a temperature regulation. The output of the DAC is connected to the base of a 2N6488 (NPN) transistor that switches a 12V source which drives an electric heater on (255) and off (0). This was just a quick test. Later I would like to use the 8 bit resolution to limit the current through a transistor.
All worked fine so far but at some point the DAC output did not worked abymore. So, I switched to the second output and here I experienced the same thing. During the last days I grilled 3 of 4 outputs and I still don't have a solution for that.
What I think could have happened:
During programming and debugging I measured the output voltage with a multimeter and maybe I touched the probe (multimeter needle) with my fingers which could have result in a static shock at the DAC pin. When I use the DAC outputs as I/0 pin then they are dead as well. So, something happened of I am not aware.
I don't use any buffer circuit since I have no idea how to set this up. It would be good to find a quick and easy solution to prevent this problems in future.
Thanks
Tobias