Menu

Executive 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)

#include <avr/io.h>#define F_CPU 16000000#include <util/delay.h>#define TRIG PB1#define ECHO PB0unsigned int pulse_width,TimerOverflow;int main(void){ float distance = 0; DDRB |= (1<<DDB1); //Configure the trig pin as output while(1) //Infinite loop { trigger(); init_timer(); distance = (34*pulse_width)/2;…

    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 Omkar Lad (7)

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

    Objective:

    #include <avr/io.h>#define F_CPU 16000000#include <util/delay.h>#define TRIG PB1#define ECHO PB0unsigned int pulse_width,TimerOverflow;int main(void){ float distance = 0; DDRB |= (1<<DDB1); //Configure the trig pin as output while(1) //Infinite loop { trigger(); init_timer(); distance = (34*pulse_width)/2;…

    calendar

    25 May 2022 07:24 AM IST

      Read more

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

      Objective:

      Code #include<avr/io.h> #define F_CPU 16000000ul #include "avr/interrupt.h" #include <util/delay.h> #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 RS_low PORTD|=(1<<5) #define…

      calendar

      25 May 2022 06:51 AM IST

        Read more

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

        Objective:

        Ans:-  In this project we have to implement the concept of the safely landing and take off of operation of the plane in that taken care of the safety precaution and accurate operation of the respective gear and lever positions and light status as well.   The goal is using the condition which is menstion…

        calendar

        28 Apr 2022 05:27 PM IST

          Read more

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

          Objective:

          Project.c= #include"list.h"//header// int main()//main function// { int first_list_nodes=0,second_list_nodes=0,first_list_items=0,//local variable// // second_list_items=0;//variable declaration// printf("\nEnter the number of nodes in first list:");//displayed the massage to  the user to enter the first list// fflush(stdout);//cleared…

          calendar

          27 Apr 2022 06:35 AM IST

            Read more

            Project

            Objective:

            Q1. For CVT model the following blocks are used as follow  1) Signal Builder 2) Generic Engine 3) Signal Builder For CVT signal 4) Engine Sensor 5) Simple Gear 6) Vehicle Body Explanation:- For thr run this model we have to you all different type of component and parameter to get an desire output. We use signal builder…

            calendar

            05 Apr 2022 10:44 AM IST

              Read more

              Week - 4

              Objective:

              Q1 While implementing the washing machine logic i use the stateflow. In this i use the power supply and water Supply as the input. As i use the logic 1st i give the input supply to machine if it is on then it goes to 2nd condition for cheaking the water if water is high that is 1 then it is go for soak condition if it…

              calendar

              30 Mar 2022 08:32 AM IST

                Read more

                Week -2

                Objective:

                Q1.Ans= For creating the model i use the solenoid coil because solenoid coil is work as the switching purpose when we give the supply to both the positive and negative terminal the coil get energized and create the magnetic field. in this coil i give the supply to that from battery source and also the common reference…

                calendar

                09 Mar 2022 10:43 AM IST

                  Read more
                  Showing 1 of 7 projects