//embedded offline batch 2 //I2C Master code#include //Library for I2C communication#include //Library for LCD display functionLiquidCrystal lcd(2,7,8,9,10,11);//Define LCD module pinvoid setup(){ lcd.begin(16,2);//initialize LCD display lcd.setCursor(0,0);//set cursor at first line of display lcd.print("vikash");//print…
Vikash K
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 Vikash K (12)
Project 2 - V&V SW Analysis II
PDF INCLUDE BELOW
03 Dec 2022 09:18 AM IST
Project 1 - V&V SW Analysis - I
//offline embedded AIM: Write a Test plan to test features of a new mobile phone (Blackbox test) that needs to be implemented based on the following requirements.(The product is still under development stage and is yet to be UA (User Acceptance ) tested…
03 Dec 2022 08:58 AM IST
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
Embeddded Offline Batch-2 #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…
28 Nov 2022 12:38 PM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
Embedded Offline Batch-2 #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…
28 Nov 2022 10:03 AM 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<Wire.h> //library file for I2C communication #include<LiquidCrystal.h> //library file for lcd displyLiquidCrystal lcd(12,11,6,5,4,3); // Define LCD pinsvoid setup(){ lcd.begin(16,2); // initialize LCD dispaly Wire.begin(); // begin I2C communication }void loop(){ Wire.requestFrom(1,2);…
23 Nov 2022 09:42 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
//embedded offline batch 2 //I2C Master code#include //Library for I2C communication#include //Library for LCD display functionLiquidCrystal lcd(2,7,8,9,10,11);//Define LCD module pinvoid setup(){ lcd.begin(16,2);//initialize LCD display lcd.setCursor(0,0);//set cursor at first line of display lcd.print("vikash");//print…
23 Nov 2022 08:14 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 //preprocessor directive#include struct node // structure{ int data; //datatype member struct node *link;};// fun prototypestruct node* insert_node(struct node *head_ref,int data);void disply_list(struct node *head_ref);void union_node(struct node *head1_ref,struct node *head2_ref);void intsec_node(struct…
11 Nov 2022 09:14 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
#include <stdio.h> // preprocessor directives // fun prototypevoid initial_state_machine();void geardown();void gearup();void checking_before_takeoff();void checking_before_landing();void loweringgear();void raisinggear(); // decl of states in enum typetypedef enum states{ gear_down, check_before_takeoff,…
10 Nov 2022 12:17 PM 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 //preprocessor directive#include struct node // structure{ int data; //datatype member struct node *link;};// fun prototypestruct node* insert_node(struct node *head_ref,int data);void disply_list(struct node *head_ref);void union_node(struct node *head1_ref,struct node *head2_ref);void intsec_node(struct…
10 Nov 2022 11:00 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 //preprocessor directive#include struct node // structure{ int data; //datatype member struct node *link;};// fun prototypestruct node* insert_node(struct node *head_ref,int data);void disply_list(struct node *head_ref);void union_node(struct node *head1_ref,struct node *head2_ref);void intsec_node(struct…
09 Nov 2022 09:07 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 //preprocessor directive#include struct node // structure{ int data; //datatype member struct node *link;};// fun prototypestruct node* insert_node(struct node *head_ref,int data);void disply_list(struct node *head_ref);void union_node(struct node *head1_ref,struct node *head2_ref);void intsec_node(struct…
06 Nov 2022 02:10 PM 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<stdio.h> //preprocessor directive#include<stdlib.h> struct node // structure{ int data; //datatype member struct node *link;};// fun prototypestruct node* insert_node(struct node *head_ref,int data);void disply_list(struct node *head_ref);void union_node(struct node *head1_ref,struct…
04 Nov 2022 12:38 PM IST