All Courses
All Courses
Courses by Software
Courses by Semester
Courses by Domain
Tool-focused Courses
Machine learning
POPULAR COURSES
Success Stories
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:
Key Highlights of the Project:
Deliverables of this project:
Expected Outcomes:
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.
Other comments...
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…
15 Jun 2022 09:49 AM IST
Project 2
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…
04 Jun 2022 09:32 AM IST
Project 1
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,…
03 Jun 2022 11:36 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
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…
25 May 2022 06:57 AM IST
Related Courses
0 Hours of Content
Skill-Lync offers industry relevant advanced engineering courses for engineering students by partnering with industry experts.
© 2025 Skill-Lync Inc. All Rights Reserved.