Thanks
So I changed it a bit. It now runs through a comparater (LM358 - it was the closest to LM393 I could find) and continues to a diode. The main VCC is at 5V and runs through a resistor at 180 ohm and 120 ohm whichshuld decrease the VCC to 2V. Is it possible then, to se another power source, i.e. higher than 2V (it can variate of course) at the - input in the comparater to make a fake humidity sensor input? I tried it so far, but the diode keeps lightning, no matter if I change it to 5 V or higher, it keeps lightning. It should work in theory, but do you have any suggestions, would could cause the error? If I can this circuit to work, then I can simply just copy/paste it and change the V output on the second comparator to match the RH % for the output.