CIRCUIT DIAGRAM: CODE: FOR MASTER: #include<Wire.h> //Library for I2C communication functions#include<LiquidCrystal.h> //Library for LCD functionsLiquidCrystal lcd(2,7,8,9,10,11); //define lcd module pins(rs,en,D4,D5,D6,D7) void setup(){ lcd.begin(16,2); // initialize LCD display lcd.setCursor(0,0); //set cursor…
mounika Vangala
updated on 01 Apr 2023
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 mounika Vangala (9)
Project 2 - V&V SW Analysis II
1.Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_tbrun_examples\Ggrocers.c” (Single .c file), modify the Code to remove violations and make it compliant with MISRA: C 2012 & CERT standards. Static code analysis is a method of debugging by examining source code before a program…
06 May 2023 06:19 AM IST
Project 1 - V&V SW Analysis - I
ANSWER: Test features required by the customer: Test feature 1: When long pressed the power button of the phone shall switch on with a company logo at the center of the screen. Test feature 2: When the power button is pressed my phone is switched ON and all my icons of the APPS shall be present in…
01 May 2023 11:26 AM IST
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
CODE: #include <avr/io.h>#define F_CPU 16000000ul#include <util/delay.h>#include <avr/interrupt.h>#include <string.h>#include <stdlib.h> #define lcd_data_dir DDRD /*Define LCD data port direction*/#define lcd_command_dir DDRC …
23 Apr 2023 02:19 PM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
CODE: #include <avr/io.h> // we are using i/o resisters of avr#define F_CPU 16000000L //define the crystal frequency#include "avr/interrupt.h" // we are using external interrupt pin#include <util/delay.h> //delay function purpose#define sw_dir (PIND & (1<<1)) //d1 pin is declared as push button for…
16 Apr 2023 07:30 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
ANSWER: int inches = 0; int cm = 0;int temp=0;int avg=0; long readUltrasonicDistance(int triggerPin, int echoPin){pinMode(triggerPin, OUTPUT); // Clear the triggerdigitalWrite(triggerPin, LOW);delayMicroseconds(2);// Sets the trigger pin to HIGH state for 10 microsecondsdigitalWrite(triggerPin, HIGH);delayMicroseconds(10);digitalWrite(triggerPin,…
05 Apr 2023 04:33 PM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
CIRCUIT DIAGRAM: CODE: FOR MASTER: #include<Wire.h> //Library for I2C communication functions#include<LiquidCrystal.h> //Library for LCD functionsLiquidCrystal lcd(2,7,8,9,10,11); //define lcd module pins(rs,en,D4,D5,D6,D7) void setup(){ lcd.begin(16,2); // initialize LCD display lcd.setCursor(0,0); //set cursor…
01 Apr 2023 05:34 PM IST
Project 3
PROJECT 3 CODE: #include<iostream>#include<string> using namespace std; class Maintenance{public: string list={"maruthi creta breeza"}; void List__inventory(){ cout<<"list inventory"<<list<<endl;}void Add_Vehicle(){ string newcar, newmake, newmodel;int newyear;//string list;int type=-1; do…
20 Mar 2023 03:30 PM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
proejct 2 ans: project22.c #include<stdio.h> #include "States.h" static void(*state_table[])(void) = {Gear_Down, Checking_Before_Takeoff,Raising_Gear, Gear_Up, Checking_Before_Landing, Lowering_Gear}; int main() { Init_State_Machine(); while(1) { state_table[current_state](); } } states.h #ifndef STATES_H_ #define…
24 Feb 2023 05:00 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
PROJECT 1 #include <stdio.h> #include <stdlib.h> /* Linked list node */ struct Node { int data; struct Node* next; }; /* A utility function to insert a node at the beginning of a linked list*/ void push(struct Node** head_ref, int new_data); …
23 Feb 2023 05:00 AM IST