.{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,…
Srinivas Chilakamarthi
updated on 29 Aug 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 Srinivas Chilakamarthi (27)
Week 1 Understanding Different Battery Chemistry
Lithium-ion battery Types SP SE SF LS CS PF Lithium Cobalt Oxide L H L L L M Lithium Manganese Oxide M M M L L L Lithium Nickel Manganese Cobalt Oxide M H M M L M Lithium Iron Phosphate H L H H L M Lithium Nickel Cobalt Aluminum Oxide M H L M M M Lithium Titanate M L H H H H
28 Feb 2023 06:02 AM IST
Project
PROJECT-1 SIMULINK MODEL FOR BAJA ATV WITH CVT: Major components in the model: Continuously Variable Transmission…
06 Jan 2023 07:12 AM IST
Week - 4
1ST QUESTION Implement control logic of a “washing machine” using State flow as per given sequence: If the…
03 Jan 2023 11:52 AM IST
Week -2
1st question : PS-Simulink and Simulink-PS converter, Scopes, Displays, Pulse generator, electrical and mechanical references, solenoid, Battery, switch, ideal Transalation motion sensor, solver configuration. These are the following simscape and Simulink blocks that are going to use in this simulation. PS-Simulink…
13 Dec 2022 10:29 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong duration, cm, inches; //declare the variableslong sum=0;long avg;int i; void setup() // one time run the loop { Serial.begin (9600); //used for serial monitor…
24 Nov 2022 04:49 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong duration, cm, inches; //declare the variableslong sum=0;long avg;int i; void setup() // one time run the loop { Serial.begin (9600); //used for serial monitor…
23 Nov 2022 05:55 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong duration, cm, inches; //declare the variableslong sum=0;long avg;int i; void setup() // one time run the loop { Serial.begin (9600); //used for serial monitor…
15 Nov 2022 03:13 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong duration, cm, inches; //declare the variableslong sum=0;long avg;int i; void setup() // one time run the loop { Serial.begin (9600); //used for serial monitor…
11 Nov 2022 02:55 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong duration, cm, inches; //declare the variableslong sum=0;long avg;int i; void setup() // one time run the loop { Serial.begin (9600); //used for serial monitor…
08 Nov 2022 03:50 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
08 Nov 2022 03:50 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
03 Nov 2022 07:22 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong duration, cm, inches; //declare the variableslong sum=0;long avg;int i; void setup() // one time run the loop { Serial.begin (9600); //used for serial monitor…
03 Nov 2022 07:14 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
PROJECT - 2 CODE: int trigPin = 2; // initialize Trigger pinint echoPin = 4; // initialize Echo pinlong…
01 Nov 2022 05:09 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
01 Nov 2022 04:06 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
30 Oct 2022 12:32 PM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
27 Oct 2022 02:55 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
25 Oct 2022 09:46 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
25 Oct 2022 09:44 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include#includeLiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #includevoid setup(){Serial.begin(9600);Serial.println("master");Wire.begin();}…
21 Oct 2022 12:23 PM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
1a) Slave. #include<Wire.h>#include<LiquidCrystal.h>LiquidCrystal lcd(13,12,5,4,3,2);void setup(){Serial.begin(9600);lcd.begin(16,2);Wire.begin(1);Wire.onReceive(myfunction);}void myfunction(int p){int a=Wire.read();lcd.setCursor(4,0);lcd.print(a);delay(500);} void loop(){ } 1b). Master. #include<Wire.h>void…
20 Oct 2022 03:43 PM IST
Project 2 - V&V SW Analysis II
v&v 2nd project
09 Sep 2022 10:26 AM IST
Project 1 - V&V SW Analysis - I
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…
09 Sep 2022 10:13 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
.{Implement the Code for controlling the retraction and extension of Airplane’s landing gear}. #include void Initiate_State_Machine();void GearDown();void CheckingBeforeTakeOFF();void RaisingGear();void GearUp();void CheckBeforeLanding();void LoweringGear();static void(*statetable[])(void)={GearDown, CheckingBeforeTakeOFF,…
01 Sep 2022 01:22 PM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
.{Implement the Code for controlling the retraction and extension of Airplane’s landing gear}. #include void Initiate_State_Machine();void GearDown();void CheckingBeforeTakeOFF();void RaisingGear();void GearUp();void CheckBeforeLanding();void LoweringGear();static void(*statetable[])(void)={GearDown, CheckingBeforeTakeOFF,…
30 Aug 2022 05:41 PM IST
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
.{easuring distance of an object using ultrasonic sensor (HC-SR04)}. avr project-2.c * * Created: 8/29/2022 2:23:43 AM * Author : srinivas */ #define F_CPU 8000000UL#include <avr/io.h>#include <avr/interrupt.h>#include <util/delay.h>#include <string.h>#include <stdlib.h> #define…
29 Aug 2022 09:47 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
.{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,…
29 Aug 2022 06:20 AM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
PROJECT-1 AIM: {Implement a system on the simulator for controlling a DC motor using L293 motor driver, monitor its status and print the running status of motor on the LCD Display}. AVR PROJECT-1.c * * Created: 8/28/2022 6:43:45 PM * Author : srinivas */ #include <avr/io.h> #define F_CPU 16000000L #include…
28 Aug 2022 01:34 PM IST