PROJECT) #include <avr/io.h> //preprocessor directive#define F_CPU 16000000ul#include "avr/interrupt.h"//Preprocessor directive of an avr interrupt#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…
SRIDHAR U
updated on 19 Sep 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 SRIDHAR U (8)
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
Project 2)offline #include <avr/io.h> #include <avr/interrupt.h> #define F_CPU 8000000 #include <util/delay.h> #include <string.h> #include <stdlib.h> #define LCD_data_dir DDRD //LCD data port direction…
21 Sep 2022 11:06 AM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
PROJECT) #include <avr/io.h> //preprocessor directive#define F_CPU 16000000ul#include "avr/interrupt.h"//Preprocessor directive of an avr interrupt#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…
19 Sep 2022 12:51 PM IST
Project 1 - V&V SW Analysis - I
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…
06 Sep 2022 12:08 PM IST
Project 2 - V&V SW Analysis II
offline
05 Sep 2022 11:28 PM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
1)offline float microsecToinchs( float d);float avg;int i,sum;int duration,inches;float Duration_inch;int data[5]; void setup(){ Serial.begin(9600); pinMode(6, INPUT);} void loop(){ float average = mov_avg(); Serial.println("distance value is"); Serial.println( inches); delay(1000);} void US_Tx(){ pinMode(6,OUTPUT); //delayMicroseconds(5);…
18 Aug 2022 06:13 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
// C++ code//slave#include<LiquidCrystal.h>#include<Wire.h>LiquidCrystal lcd(12,11,5,4,3,2);void setup()//void setup(){ //Serial.begin(9600); Wire.begin(8);// LiquidCrystal lcd(rs,enable,lcd,d5,d6,d7); // LiquidCrystal lcd(12,11,5,4,3,2); lcd.begin(16,2); Wire.onReceive(display);} void loop(){delay(30);}void…
17 Aug 2022 12:14 PM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
project#2(offline) #include <stdio.h>#include<string.h>typedef enum { gear_down, checking_before_take_off, rising_gear, gear_up, checking_before_landing, lowering_gear //checking_before_landing, //raising_gear //checking_before_take_off, //checking_before_landing}state_type;//naming the enumtypedef enum { close,…
04 Aug 2022 07:04 AM IST
Project 1 - Creation of user defined data type to implement the user interfaces for working with ‘Set’ (Mathematical Set theory)
project(offline) #include <stdio.h>#include <stdlib.h> // A structure of linked list nodestruct node { int data; struct node *next; } *LL1, *LL2, *unionLL, *intersectionLL; void initialize() { LL1 = LL2 = NULL;//keeping every linked list as null intially}//Given a Inserts a node in front of a singly linked…
30 Jul 2022 09:17 AM IST