ok in the breadboard setup, if I remove the 10k to ground for the temp sensor it works properly when the 5v is taken away. if I put it back in, nothing works
:EDIT:
I had a 100 Ohm instead of a 10k ohm in the breadboard, now the breadboard circuit works perfectly. I do have the 10k in the PCB though
:EDIT 2:
Ok it workes perfectly in the breadboard if I take away the 5v and leave the 12v connected. if I unplug it all, it doesn't work