Menu

Executive Programs

Workshops

Projects

Blogs

Careers

Placements

Student Reviews


For Business


More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Loading...
Executive Programs
Workshops
For Business

Success Stories

Placements

Student Reviews

More

Projects

Blogs

Academic Training

Find Jobs

Informative Articles

We're Hiring!

phone+91 9342691281Log in
  1. Home/
  2. Setlem Yogi Venkata Karishma/
  3. Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol

Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol

Aim: Overview of the Project:  In this project implementing the Code for “Interfacing a 16*2 LCD with two Arduino’s (one for Master and one for Slave) using Inter-Integrated Circuit (I2C) communication protocol” by sending the message to LCD using I2C communication protocol and display the message…

    • Setlem Yogi Venkata Karishma

      updated on 15 Jun 2022

    Aim:

    Overview of the Project: 

    In this project implementing the Code for “Interfacing a 16*2 LCD with two Arduino’s (one for Master and one for Slave) using Inter-Integrated Circuit (I2C) communication protocol” by sending the message to LCD using I2C communication protocol and display the message on LCD screen.

    Goals:

    • Communication between Arduino and 16*2 LCD using I2C protocol.
    • Displaying the message sent by Master and received by slave i.e. LCD display.

    Key Highlights of the Project: 

    • Using the inter-integrated circuit communication protocol, transferring the data i.e. the message we want to display is sent to the LCD.
    • Two Arduino’s connected to the LCD display and the communication is executed using I2C protocol between Arduino and the LDC display.

    Deliverables of this project: 

    • Communication between the Arduino’s and LCD using I2C.
    • The message passed from master to slave and displayed on the 16*2 LCD.

    Expected Outcomes:

    • Students will get the Knowledge of I2C communication Protocol and the Arduino.
    • The Hardware connection of all components used in this project.
    • Displaying the message sent by master (Arduino) and received by the slave (16*2 LCD display).

    Solutions:

     Master code:

    #include<LiquidCrystal.h>                        //Library for LCD display function

    LiquidCrystal lcd(12, 11, 5, 4, 3, 2);         //Define LCD Module Pins (RS,EN,D4,D5,D6,D7)

    int val1=A4; 

    int val2=A5;

    void setup()

    {

    lccd.begin(16,2);

    }

    void loop()

    {

    lcd.setCursor(0,0);                     //Sets Cursor at line one of LCD

    lcd.print(">> Master <<");          //Prints >> Master << at LCD

    lcd.setCursor(0,1);                     //Sets Cursor at line two of LCD

    lcd.Print("SlaveVal: 99");            //Prints SlaveVal: in LCD

    LCD

    delay(1000);

    }

    Slave Code:

    #include <LiquidCrystal.h>                     //Library for LCD Display Function

    LiquidCrystal lcd(12, 11, 5, 4, 3, 2);        //Define LCD

    Module Pins(RS,EN,D4,D5,D6,D7)

    int val1=A4;

    int val2=A5;

    void setup()

    {

    lcd.begin(16,2);

    }

    void loop()

    {

    lcd.setCursor(0,0);                             //Sets Cursor at line one of LCD

    lcd.print(">> Slave <<");                  //Prints >> Slave << at LCD

    lcd.setCursor?(0,1);                         // Sets Cursor ar line two of LCD

    lcd.print("MasterVal: 100");              //Prints MasterVal: in LCD

    delay(1000);

    }

     

     

    Leave a comment

    Thanks for choosing to leave a comment. Please keep in mind that all the comments are moderated as per our comment policy, and your email will not be published for privacy reasons. Please leave a personal & meaningful conversation.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by Setlem Yogi Venkata Karishma (18)

    Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol

    Objective:

    Aim: Overview of the Project:  In this project implementing the Code for “Interfacing a 16*2 LCD with two Arduino’s (one for Master and one for Slave) using Inter-Integrated Circuit (I2C) communication protocol” by sending the message to LCD using I2C communication protocol and display the message…

    calendar

    15 Jun 2022 09:49 AM IST

      Read more

      Project 2

      Objective:

      Objective:  Design an interleaving DC/DC converter system for a data centre application with the following specifications: • Input voltage: 45 – 60 v• Output voltage: 3 V• Output current: 100A• Efficiency > 85% (extra credit for efficiency higher than 90% on a spice-based software simulation…

      calendar

      04 Jun 2022 09:32 AM IST

        Read more

        Project 1

        Objective:

        Project:1   Choose any three topologies and develop the models in Simulink. The project design report should include the following:1- A Design report to show the reasoning behind your choices of inductance and capacitance levels in your design.2- The full schematics of your converter including gate drivers, PWM chips,…

        calendar

        03 Jun 2022 11:36 AM IST

          Read more

          Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear

          Objective:

          Aim:Implement the Code for controlling the retraction and extension of Airplane’s landing gear Overview of the project: In this project, controlling the retraction and extension of Airplane’s landing gear can be implemented using Finite State Machine (FSM). FSM is the most efficient algorithm which is mathematical…

          calendar

          25 May 2022 06:57 AM IST

            Read more

            Schedule a counselling session

            Please enter your name
            Please enter a valid email
            Please enter a valid number

            Related Courses

            coursecard

            Design loads considered on bridges

            Recently launched

            10 Hours of Content

            coursecard

            Design of Steel Superstructure in Bridges

            Recently launched

            16 Hours of Content

            coursecard

            Design for Manufacturability (DFM)

            Recently launched

            11 Hours of Content

            coursecard

            CATIA for Medical Product Design

            Recently launched

            5 Hours of Content

            coursecardcoursetype

            Accelerated Career Program in Embedded Systems (On-Campus) Courseware Partner: IT-ITes SSC nasscom

            Recently launched

            0 Hours of Content

            Schedule a counselling session

            Please enter your name
            Please enter a valid email
            Please enter a valid number

                        Do You Want To Showcase Your Technical Skills?
                        Sign-Up for our projects.