This is my first post. I am brand new to this and I have spent the last couple of weeks trouble shooting this issue without success. I'm hoping someone can provide some insight.
Project Overview:CO2 and Fan Controller
- Measures temp and humidity (DHT11),
- If temp is above set-point, triggers a relay which powers an outlet which powers a fan,
- Measures C02 (CS811),
- If temp is below set-point, triggers a relay which powers a solenoid (on 12V power) which releases CO2.
(What appears to be) Randomly sometime after turning on the LCD goes wonky and displays weird characters. Sometimes this is after minutes, sometimes hours or days. Does anyone have insight into what i can try to fix this?
I have attached a picture of my hardware and wiring and the code I'm using.
thanks in advance for any assistance anyone can provide.
C02 and Fan Controller.txt (7.37 KB)