Hello, Guys!
Today I'm going to show you how to make a motion detector operate with fans, an LCD, and relays.
I made codes to work with 20x4 and 16x2 LCDs with or without the I2C Module
If the LCD is with the I2C module:
Connect SCL --> pin A5
Connect SDA --> pin A4
Connect VCC --> 5v
Connect GND --> GND
If the LCD is without the I2C module:
Connect VSS --> GND
Connect VDD --> 5v
Connect VO --> Through Potentiometer to 5v & GND
Connect RS --> pin 11
Connect RW --> GND
Connect E --> pin 12
(D0 Not Used)
(D1 Not Used)
(D2 Not Used)
(D3 Not Used)
Connect D4 --> pin 5
Connect D5 --> pin 4
Connect D6 --> pin 3
Connect D7 --> pin 2
Connect A --> 5v
Connect K --> GND
If you have any questions, please comment
I've Attached The Codes Below (16x2 I2C, 16x2 no I2C, 20x4 I2C, 20x4 no I2C):
JakeCraft_Channel_s_Auto_Fan__16x2_I2C_.ino (7.69 KB)
JakeCraft_Channel_s_Auto_Fan__16x2_no_I2C_.ino (7.7 KB)