Arduino - LCD 1602A KEYPAD LCD SHIELD RELAY CONTROL.

Introduction: Arduino - LCD 1602A KEYPAD LCD SHIELD RELAY CONTROL.

About: Hello world! I make simple & Advanced projects for people who want to learn programming and electronics. Most of my Instructables are about arduino and the wide range of sensors you can use with it. I ma...

Hello world! today i wrote a simple code to control 4 relays with a keypad LCD shield for arduino. You can add any device and the code is easy to modify. I used 1 lamp as a example device. The video displays dutch text on the lcd screen but the code i uploaded is english, "apparaat" means device. Follow the next step for the schematic, Code & Parts list.

Teacher Notes

Teachers! Did you use this instructable in your classroom?
Add a Teacher Note to share how you incorporated it into your lesson.

Step 1: Schematic, Code & Parts List.

Just wire it up like the schematic, upload the code and it should work.

If things don't work you probably don't have the library LiquidCrystal.h installed.

Parts list.

  1. Arduino mega 2560, I used the RobotDyn Mega 2560
  2. 4 x 1 channel relay KY-019
  3. LCD shield with keypad. <- i bought a bunch of those. shipping fast
  4. Jumper wires set MM/FF/MF
  5. Power cables + lamp sockets.(optional)

Good luck!

Be the First to Share

    Recommendations

    • Arduino Contest 2020

      Arduino Contest 2020
    • First Time Author Contest

      First Time Author Contest
    • Space Challenge

      Space Challenge

    2 Discussions

    0
    suleymanozaslan
    suleymanozaslan

    6 weeks ago

    Merhaba, kolay gelsin devreye DS 3231 RTC ekleyerek röleleri haftalık veya aylık kontrol edebilir miyiz
    ...Hello, easy, can we check the relays weekly or monthly by adding DS 3231 RTC to the circuit

    0
    nageshsp
    nageshsp

    3 years ago

    Good one... is it possible to use relay code for rotating DC motor clock wise and anticlock wise?