Egzoset
Banned
Hi, i'm far from having all of the answers but i'll try to make sense. Thank you for the interest anyway!
The heater's resistance provides a path to the positive rail. Does that voltage level get close enough to 0 Volts when the transistor shunts it to the ground? I don't know, but if it does then you have the means to control a multi-colour LED!
Lets assume GP0 can source/sink 20mA and the J1 jumper is positioned to connect that multi-colour LED to your MOSFET's drain where the heater coil is attached, if you synchronize the GP0 output signal with GP2 (the PWM duty-cycle) then i believe it should become possible to control one half of that multi-colour LED at a time depending on wether GP0 is complementary of GP2 or not. In other words, you'd have the means to make the LED flash while its colour changes from red to yellow to green as the heater receives more energy. Remember, we agreed that the thermocouple's purpose is to measure temperature while energy is a function of the PWM duty-cycle... Now, allow me to refer you to this previous post:
I thought we also agreed that temperature and energy are not equivalent. If that is so then it's one thing to power up a heater coil until it reaches some preset temperature but it's quite another to monitor energy absorbtion in order to determine when vaporization is complete.
My suggestion at this point is to forget about the red LED, a multi-colour LED can fullfil the same role and more. Of course, there's no need to remove the copper traces leading to the red LED, no more than it would be necessary to make the J1 selection permanent through soldering. My point is this could be included merely for the simple purpose of exploring future options when the time is right... Put clearly, in your shoes i might want to include pads for J1, just in case. Maybe J1 will prove to be useful or maybe not! J1 doesn't even have to installed, actually.
The heater's resistance provides a path to the positive rail. Does that voltage level get close enough to 0 Volts when the transistor shunts it to the ground? I don't know, but if it does then you have the means to control a multi-colour LED!
Lets assume GP0 can source/sink 20mA and the J1 jumper is positioned to connect that multi-colour LED to your MOSFET's drain where the heater coil is attached, if you synchronize the GP0 output signal with GP2 (the PWM duty-cycle) then i believe it should become possible to control one half of that multi-colour LED at a time depending on wether GP0 is complementary of GP2 or not. In other words, you'd have the means to make the LED flash while its colour changes from red to yellow to green as the heater receives more energy. Remember, we agreed that the thermocouple's purpose is to measure temperature while energy is a function of the PWM duty-cycle... Now, allow me to refer you to this previous post:
I thought we also agreed that temperature and energy are not equivalent. If that is so then it's one thing to power up a heater coil until it reaches some preset temperature but it's quite another to monitor energy absorbtion in order to determine when vaporization is complete.
My suggestion at this point is to forget about the red LED, a multi-colour LED can fullfil the same role and more. Of course, there's no need to remove the copper traces leading to the red LED, no more than it would be necessary to make the J1 selection permanent through soldering. My point is this could be included merely for the simple purpose of exploring future options when the time is right... Put clearly, in your shoes i might want to include pads for J1, just in case. Maybe J1 will prove to be useful or maybe not! J1 doesn't even have to installed, actually.