Menu

IIT Certification Programs

Workshops

Projects

Blogs

Careers

Student Reviews



More

Academic Training

Informative Articles

Find Jobs

We are Hiring!


All Courses

Choose a category

Loading...

All Courses

All Courses

logo

Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)

Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04) Code: #include <avr/io.h>#define F_CPU 16000000L#include <util/delay.h>#define rs_high PORTD |=(1<<0);//DEFINE BIT FOR RS_HIGH#define rs_low PORTD &=~(1<<0);//DEFINE BIT FOR RS_LOW#define en_high PORTD |= (1<<2);//DEFINE…

    Project Details

    Loading...

    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.

    Please  login to add a comment

    Other comments...

    No comments yet!
    Be the first to add a comment

    Read more Projects by HEVAL JHAVERI (20)

    Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter

    Objective:

    Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter Code: // Arduino-1 // #include<LiquidCrystal.h> //To use LCD functions#include<Wire.h> //To use I2C communicationLiquidCrystal lcd(2,7,8,9,10,11); //initializing data pinsint…

    calendar

    12 Apr 2023 04:05 PM IST

      Read more

      Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol

      Objective:

      Aim: Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol Code: /Master/ #include<Wire.h> //Header file for I2C communication#include<LiquidCrystal.h> //Header file for LCD configurationLiquidCrystal lcd(2, 7, 8, 9, 10, 11); //Define LCD Module Pins (RS,EN,D4,D5,D6,D7) void setup(){lcd.begin(16,2);…

      calendar

      28 Mar 2023 01:15 PM IST

        Read more

        Project 2 - V&V SW Analysis II

        Objective:

        1. Perform Static Code Review Analysis for C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c” Generate Code review report and upload them. Solution: a. Preform unit testing Fro menu bar: Souce -> Single file -> Userinterface.c -> Select          b. Create new test…

        calendar

        12 Feb 2023 09:10 AM IST

          Read more

          Project 1 - V&V SW Analysis - I

          Objective:

          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…

          calendar

          30 Jan 2023 02:16 PM IST

            Read more

            Project 2 Adaptive Cruise Control

            Objective:

            EMD BATCH 08 Project 2 Adaptive Cruise Control   Objective of Mini Project: 1. Development of MATLAB Simulink model as per requirement. Below is shown our main subsystem which is based on three given requirements. This main subsystem consists of nine inputs and four outputs.  Inputs are as follows: RadarInput_LeadVehicle, CameraInput_LeadVehicle, RadarInput_DriveVehicle, CameraInput_DriveVehicle, Time_Gap, Set_Speed, Set_Gap, CruiseSwitch, SetSwitch. …

            calendar

            14 Dec 2022 04:52 PM IST

            • MATLAB
            • MBD
            Read more

            Project 1 (Mini Project on Vehicle Direction Detection

            Objective:

            EMD BATCH 08 Project 1 (Mini Project on Vehicle Direction Detection) Objective of Mini Project: 1. Development of MATLAB Simulink model as per requirement. Below is shown our main subsystem which is based on two given requirements. This main subsystem consists of two inputs and one output.  Inputs are: SteeringWheel_YawDegreeInput…

            calendar

            09 Dec 2022 02:49 PM IST

            Read more

            Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)

            Objective:

            Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04) Code: #include <avr/io.h>#define F_CPU 16000000L#include <util/delay.h>#define rs_high PORTD |=(1<<0);//DEFINE BIT FOR RS_HIGH#define rs_low PORTD &=~(1<<0);//DEFINE BIT FOR RS_LOW#define en_high PORTD |= (1<<2);//DEFINE…

            calendar

            06 Nov 2022 01:12 PM IST

              Read more

              Project 1 - Controlling a DC motor using PWM and monitoring its Running status

              Objective:

              Project 1 - Controlling a DC motor using PWM and monitoring its Running status Code: #include // we are using i/o resisters of avr#define F_CPU 16000000 //define the crystal frequency#include "avr/interrupt.h" // we are using external interrupt pin#include //delay function purpose #define sw_dir !(PIND&(1

              calendar

              05 Nov 2022 03:25 PM IST

                Read more

                Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear

                Objective:

                Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear Code: Aircraft.h file #ifndef AIRCRAFT_H_#define AIRCRAFT_H_#include //All the Function prototypes are defined herevoid Initial_state();void Gear_down();void Checking_BeforeTakeoff();void Raising_Gear();void Gear_Up();void…

                calendar

                27 Sep 2022 06:16 PM IST

                  Read more

                  Project 1 - Creation of user defined data type to implement the user interfaces for working with ‘Set’ (Mathematical Set theory) using Linked List

                  Objective:

                  Project 1 - Creation of user defined data type to implement the user interfaces for working with ‘Set’ (Mathematical Set theory) using Linked List Code: set theory.h file #ifndef SET_THEORY_H_#define SET_THEORY_H_ typedef struct node//node representation{ int data;//data of the node struct node *next;//address…

                  calendar

                  18 Sep 2022 06:37 AM IST

                    Read more

                    Final Project: Design of an Electric Vehicle

                    Objective:

                    Create a MATLAB model of electric car which uses a battery and a DC motor. Choose suitable blocks from Powertrain block set. Prepare a report about your model including following: Objectives:         1. System level configurations        2. Model parameters      …

                    calendar

                    05 Jun 2022 06:23 AM IST

                    Read more

                    Project-1: Powertrain for aircraft in runways

                    Objective:

                    Part A: 1. Search and list out the total weight of various types of aircrafts.  Solution: Types of aircrafts in the world: 1. Amphibious 7. Gyroplanes 13. Tiltrotors 2. Helicopters 8. Parachutes 14. Turboprops 3. Multi engine piston 9. Single engine piston 15. Light sport 4. Biplanes 10. Tricycle gear 16. Floatplanes …

                    calendar

                    26 May 2022 04:15 PM IST

                      Read more

                      Week-11 Challenge: Braking

                      Objective:

                          1. For a defined driving cycle, calculate the energy required for braking.  Solutiom: For any random drive cycle calculating the amount of energy required for braking at a particular instant. Work done = Kinetic energy(E) = (1/2*m*v^2)  From work done Power is calculated as P = E/t  m = mass…

                      calendar

                      20 May 2022 03:53 PM IST

                      Read more

                      Week-7 Challenge: DC Motor Control

                      Objective:

                      1. A. Explain a MATLAB demo model named ‘Speed control of a DC motor using BJT H-bridge’. Solution: H-bridge is a simple circuit which helps to control the movement of motor or load in forward or reverse direction. It contains 4 semiconductor switches or a transistors having load at the centre which looks like…

                      calendar

                      01 May 2022 04:04 PM IST

                      Read more

                      Week-6 Challenge: EV Drivetrain

                      Objective:

                      1.  Which types of power converter circuits are employed in electric and hybrid electric vehicle?    Solution: Power converter: From below image power converter can be explained as main link between electrical energy source and electrical load. To enhance life and reliability of load it is necessary…

                      calendar

                      28 Apr 2022 03:53 PM IST

                      Read more

                      Week-4 Challenge WOT Condition Part-2

                      Objective:

                      1. What is the difference between mapped and dynamic model of engine, motor and generator? How can you change model type?  Solution: The Powertrain blockset has two types of combustion engine models such as: Mapped model and Dynamic model. Main difference between Mapped model and Dynamic model are stated below: Mapped…

                      calendar

                      18 Apr 2022 04:35 PM IST

                      Read more

                      Week-3 Challenge: ADVISOR Tool

                      Objective:

                      1.   For EV_defaults_in file, if cargo mass is 500 kg with all other default conditions, can the vehicle travel for 45 km with FTP drive cycle? Conclude your observations. Solution: EV_defaults_in file is loaded and changing its cargo mass to 500 kg. Thus total calculated mass is 1508 Kg. Without changing any…

                      calendar

                      11 Apr 2022 05:16 PM IST

                        Read more

                        Project

                        Objective:

                        Aim: Carry out a system-level simulation of an all-terrain vehicle. In this project total 6 ATV models are explained which are bit different from each other in respect of functioning related with blocks, although not much different while understanding the working of an individual. The list of following models are mentioned…

                        calendar

                        30 Mar 2022 02:26 PM IST

                          Read more

                          Week - 4

                          Objective:

                          1. Implement control logic of a “washing machine” using Stateflow as per given sequence:  If the power supply is available, the system gets activated  If the Water supply is not available, stop the process & indicate through LED Soaking time should be 200s followed by Washing time of 100s. Then rinsing happens for next…

                          calendar

                          18 Mar 2022 12:02 PM IST

                            Read more

                            Week -2

                            Objective:

                            Make a Simulink model of Doorbell using solenoid block with the following details:                                       In above fig. Simulinkmodel is shown for Doorbell using solenoid block Let first understand…

                            calendar

                            07 Mar 2022 02:18 PM IST

                            Read more
                            Showing 1 of 20 projects