Description
- SUPPLY VOLTAGE -5V 1A OR 2A
- REVERSE POLARITY PROTECTION (USING SCHOTTKY DIODE 1N5822)
- Board color may be different
- High quality FR4 DOUBLE SIDE pcb
- Brand -Emerging Technologies
VIDEO
SAMPLE PROGRAM
# include <LiquidCrystal.h>
LiquidCrystal lcd(4, 5, 6, 7, 8, 9);//LCD RS-4,En-5,D4-6,D5- 7,D6-8,D7-9
#define relay1 11
#define relay2 12
void setup()
{
pinMode(relay1, OUTPUT);
pinMode(relay2, OUTPUT);
digitalWrite(relay1, LOW);
digitalWrite(relay2, LOW);
lcd.begin(16, 2);// set up the LCD’s number of columns and rows:
lcd.setCursor(0, 0);
lcd.print(“welcome”);// Print a message to the LCD.
lcd.setCursor(0, 1);
lcd.print(“haiiiiiiiiii”);// Print a message to the LCD.
delay(1000);
digitalWrite(relay1, HIGH);
digitalWrite(relay2, HIGH);
}
void loop(void)
{
digitalWrite(relay1, LOW);
digitalWrite(relay2, HIGH); delay(1000);
digitalWrite(relay1, HIGH); digitalWrite(relay2, LOW);
delay(1000);
}