// master code#include //library file for I2C communication #include //library file for lcd displyLiquidCrystal lcd(12,11,5,4,3,2); // Define LCD pins void setup(){ lcd.begin(16,2); // initialize LCD dispaly Wire.begin(); // begin I2C communication } void loop(){ Wire.requestFrom(1,2); // request 2 byte from slave byte…
Raghul E
updated on 23 Nov 2022
Project Details
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...
Read more Projects by Raghul E (8)
Project 2 - V&V SW Analysis II
batch 2
07 Dec 2022 04:19 AM IST
Project 1 - V&V SW Analysis - I
if(owner switch on the phone) { (Company logo at the center of the screen) } else if(customer switch on the phone) { (All my icons of the APPS shall be present in the grid) } else if(owner powered on the phone) { (the "call the phone" icon is the first icon and the "Dictionary" icon…
03 Dec 2022 09:10 AM IST
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
#include <avr/io.h>#include "avr/interrupt.h"#define F_CPU 16000000L#include <util/delay.h>#define lcdport PORTD //object macro for PORTB#define rs_high() PORTB |= (1<<7); //object macro for PORTB7 set#define rs_low() PORTB &= ~(1<<7); //object macro for PORTB7 reset#define en_high() PORTB |=…
28 Nov 2022 12:44 PM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
#include <avr/io.h>#define F_CPU 16000000L#include <util/delay.h>#include "avr/interrupt.h"#define sw_dir (PIND&(1<<1))#define sw_spd (PIND&(1<<2))#define pw (PINC&(1<<3))#define RS_high PORTD |= (1<<5)#define RS_low PORTD &=~ (1<<5)#define EN_high PORTD |= (1<<6)#define…
28 Nov 2022 12:28 PM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
// master code#include //library file for I2C communication #include //library file for lcd displyLiquidCrystal lcd(12,11,5,4,3,2); // Define LCD pins void setup(){ lcd.begin(16,2); // initialize LCD dispaly Wire.begin(); // begin I2C communication } void loop(){ Wire.requestFrom(1,2); // request 2 byte from slave byte…
23 Nov 2022 11:22 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
//MASTER//I2C Communication between two arduino //library for I2C communication function#include //library for LCD display#include //Define LCD module pinsLiquidCrystal lcd_1(12, 11, 5, 4, 3, 2); void setup(){ //Begin I2C communication at A4,A5 Wire.begin(); //Begin Serial communication at 9600 band rate Serial.begin(9600);}…
23 Nov 2022 08:10 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
#include <stdio.h>void Initiate_State_Machine();void GearDown();void CheckingBeforeTakeOFF();void RaisingGear();void GearUp();void CheckBeforeLanding();void LoweringGear();static void(*statetable[])(void)={GearDown, CheckingBeforeTakeOFF, RaisingGear, GearUp, CheckBeforeLanding, LoweringGear};typedef enum State{…
15 Nov 2022 06:40 AM IST
Project 1 - Creation of user defined data type to implement the user interfaces for working with ‘Set’ (Mathematical Set theory) using Linked List
#include <stdbool.h>#include <stdio.h> // preprocessor#include <stdlib.h>struct node //structure declaration{ int data; struct node *next; //self referential structure declaration};//function declarationvoid push(struct node**head_ref,int key);int isPresent(struct…
07 Nov 2022 05:16 AM IST