1 Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them. step 1: start LDRA TBrun. step 2: From the LDRA page select source->single file->LDRA_workarea->examples->C_Testbed_examples->Testrain->Testrain.c->open.(in log…
Priyal Choudhary
updated on 07 Jan 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 Priyal Choudhary (13)
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
//I2C MASTER CODE #include //Library for I2C Communication functions#include //Library for I2C Communication 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 displaylcd.setCursor(0,0); //Sets Cursor at first line of displaylcd.print("Circuit…
29 Jan 2023 04:45 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
int inches = 0;int cm = 0;long readUltrasonicDistance(int triggerPin, int echoPin){pinMode(triggerPin, OUTPUT); // Clear the trigger digitalWrite(triggerPin, LOW); delayMicroseconds(2); // Sets the trigger pin to HIGH state for 10 microsecondsdigitalWrite(triggerPin, HIGH);delayMicroseconds(10);digitalWrite(triggerPin,…
27 Jan 2023 09:43 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
Master code: #include //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…
24 Jan 2023 10:40 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
int inches = 0;int cm = 0;long readUltrasonicDistance(int triggerPin, int echoPin){pinMode(triggerPin, OUTPUT); // Clear the trigger digitalWrite(triggerPin, LOW); delayMicroseconds(2); // Sets the trigger pin to HIGH state for 10 microsecondsdigitalWrite(triggerPin, HIGH);delayMicroseconds(10);digitalWrite(triggerPin,…
24 Jan 2023 09:47 AM IST
Project 2 - V&V SW Analysis II
1 Perform Static Code Review Analysis for “C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them. step 1: start LDRA TBrun. step 2: From the LDRA page select source->single file->LDRA_workarea->examples->C_Testbed_examples->Testrain->Testrain.c->open.(in log…
07 Jan 2023 09:21 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_command_dir DDRC #define lcd_data_port PORTD #define lcd_command_port PORTC #define EN PC2 #define RW PC3 #define…
16 Oct 2022 05:44 PM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
code: #include avr //preprocessor directive#define F_CPU 16000000ul#include "avr/interrupt.h"//Preprocessor directive of an avr interrupt#include#define sw_dir (PIND&(1<<1))#define sw_spd (PIND&(1<<2))#define pw (PINC&(1<<3))#define lcd_port PORTB#define RS_high PORTD|=(1<<5)#define…
16 Oct 2022 05:42 PM IST
Project 1 - V&V SW Analysis - I
AIM: if(owner long press the power button) { open the company logo at centre; } else if(customer press the power button) { open the apps in grid; } else if(owner power on the phone) { shows call the phone icon on first position at bottom; } else if(owner power on the phone) { shows Dictionary icon on second position at…
10 Oct 2022 01:27 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
21 Aug 2022 09:39 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
19 Aug 2022 07:09 AM IST
Project
Aim: To prepare a technical report of simulation of BAJA All-Terrain Vehicle (ATV) under different conditions. Objectives: Carry out a system-level simulation of an all-terrain vehicle and prepare a technical report explaining the model properties & comments on the results. All-Terrain Vehicle An all-terrain vehicle…
20 Jun 2022 12:24 PM IST
Week - 4
1. Stateflow: Control logic of a Washing Machine Observation- 2. Gear Shit Logic
17 Jun 2022 12:09 PM IST
Week -2
Following blocks are used in Simulink to make this project Pulse Generator Switch Battery Electrical Reference Solenoid Mechanical Translational Reference Ideal Translational Motion Sensor Solver Configuration Scope INPUT PULSE RATE The graph will show the cycle- OUTPUT Here can sense the Physical moment…
14 Jun 2022 10:02 AM IST