#define F_CPU 8000000UL#include <avr/io.h>#include <avr/interrupt.h>#include <util/delay.h>#include <string.h>#include <stdlib.h> #define LCD_Data_Dir DDRD /* Define LCD data port direction */#define LCD_Command_Dir DDRC /* Define LCD command port direction register */#define LCD_Data_Port…
Dhrushikkumar Hingrajiya
updated on 28 Dec 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 Dhrushikkumar Hingrajiya (10)
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
Overview of the Project: In this project the implementation of code for “Measuring distance of an object using ultrasonic distance sensor (28015 Ping) and also smoothen the sensor data using moving average filter”. Goals: Measuring the distance in terms of inches of an object using Ultrasonic Distance…
10 Mar 2023 06:20 PM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
Overview of the Project: In this project implementing the Code for “Interfacing a 16*2 LCD with two Arduino’s (one for Master and one for Slave) using Inter-Integrated Circuit (I2C) communication protocol” by sending the message to LCD using I2C communication protocol and display the message on…
06 Mar 2023 07:09 PM 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. Procedure Perform static code analysis for testrian.c The file location for the file is C:\**\LDRA_workarea\Examples\C_Testbed_examples\Testrain\Testrain.c”…
23 Jan 2023 01:41 PM IST
Project 1 - V&V SW Analysis - I
Aim:- Write a Test plan to test the features of a new mobile phone. Black box testing: Black box testing is a technique of software testing which examines the functionality of the software without peering into its internal structure or coding. The primary source of black-box…
23 Jan 2023 01:15 PM IST
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
#define F_CPU 8000000UL#include <avr/io.h>#include <avr/interrupt.h>#include <util/delay.h>#include <string.h>#include <stdlib.h> #define LCD_Data_Dir DDRD /* Define LCD data port direction */#define LCD_Command_Dir DDRC /* Define LCD command port direction register */#define LCD_Data_Port…
28 Dec 2022 05:45 PM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
#include <avr/io.h> //we are using I/O registers 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 direction…
18 Dec 2022 09:28 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
state.h file------------------------------------------------------- #ifndef STATE_H_#define STATE_H_ // Create global variablevoid Int_State_Machine();void Gear_Down();void Checking_Before_Takeoff();void Raising_Gear();void Gear_Up();void Checking_Before_Landing();void Lowering_Gear(); typedef enum State // defined six…
16 Oct 2022 05:25 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
#include#include// creat struct node for linked liststruct node{ int data; struct node *next;}; int i;// create element of linked liststruct node* createlist() { int n; struct node *head=NULL, *p, *ptr; int x,i; printf("enter no of elements in list :\n"); fflush(stdout); scanf("%d",&n); for(i=0;idata=x; p->next=NULL; if(head==NULL)…
09 Oct 2022 12:14 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
#include<stdio.h>#include<stdlib.h>// creat struct node for linked liststruct node{ int data; struct node *next;}; int i;// create element of linked liststruct node* createlist() { int n; struct node *head=NULL, *p, *ptr; int x,i; printf("enter no of elements in list :\n"); fflush(stdout); scanf("%d",&n);…
09 Oct 2022 05:17 AM IST
Project - Data Handling and Interpolation
clear all % V vs I A=xlsread('VI.xlsx') %read xlsx file V=A(:,1) % COLUMN A for VOLTAGE I=A(:,2) % A(row,col) COLUMN B for CURRENT V1=[-17.3:0.1:0.9] %interpolation range Ib1=interp1(V,I,V1) %linear interpolation Ib2=interp1(V,I,V1,'spline') %spline interpolation figure(1) plot(V,I,'o',V1,Ib1,':.') % plot linear interpolation…
26 Jun 2022 11:11 AM IST