Controlling servo motor by dht11 and temperature-humidity will display to LCD

Hello sir, good day! I am doing an experiment about brooding. I have dht11 sensor, lcd and servo motor. The temperature and humidity are now displayed on the LCD and the servo motor is now controlled by the dht11 sensor. I put a condition on that. Now, my problem is, if i will disconnect the connector from the computer and reconnect it, there's no display on the LCD. What might be the problem on that? Thank you.

ronzarevel,
Is this a software or hardware related question ? Do we know that yet ?
Is this something that might require reviewing your code (that you didn't post) ?
Do you think we might need to know how everything is wired ?
I'm not psychic.
I am wondering how your program knows the cable has been disconnected .
I'm assuming the whole circuit has it's own power source , right ?
Are you sending anything on the cable when your program is running ?

I am doing an experiment about brooding.

Is there any chance you meant to say "breeding" ?

I have a DS18B20 Temp sensor program that reads 5 sensors and displays the values on an lcd and prints values
to the serial port and if I disconnect the cable it still updates values if I power it independently .
And it doesn't recover if you press the reset button ?
I tested my lcd thermocouple program that has serial print statements and even when I disconnect the cable
it continues updating so we are probably going to need more detail to address your issue

The temperature and humidity are now displayed on the LCD and the servo motor is now controlled by the dht11 sensor. I put a condition on that.

What does that mean "I put a condition on that " ?
Please elaborate.