Embedded offline batch: #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…
Akash K
updated on 22 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 Akash K (8)
Project 2 - Measuring distance of an object using ultrasonic sensor (HC-SR04)
Embedded offline batch: #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…
22 Sep 2022 09:06 AM IST
Project 1 - Controlling a DC motor using PWM and monitoring its Running status
PROJECT-1 Embedded offline batch: #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…
22 Sep 2022 07:50 AM IST
Project 1 - V&V SW Analysis - I
EMBEDDED OFFLINE BATCH: PROGRAM: if(long pressed power button) { printf("Product owner "); printf("phone shall switch on with a company logo at the center of the screen."); } else if(pressed power button) { printf("Customer "); printf("phone is…
06 Sep 2022 11:43 AM IST
Project 2 - V&V SW Analysis II
EMBEDDED OFFLINE BATCH:
06 Sep 2022 11:04 AM IST
Project 2 - Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter
EMBEDDED OFFLINE BATCH: Measuring the distance of an object using ultrasonic sensor and also smoothen the sensor data using moving average filter: int trigPin = 11; // Triggerint echoPin = 12; // Echolong duration, cm, inches;long sum=0;long avg;int i; void setup() { //Serial Port begin Serial.begin (9600); //Define…
18 Aug 2022 04:37 AM IST
Project 1 - Interfacing a 16*2 LCD with Arduino using I2C protocol
EMBEDDED OFFLINE BATCH: Interfacing a 16*2 LCD with Arduino using I2C protocol: //MASTER #include<Wire.h>#include<LiquidCrystal.h>void setup(){ LiquidCrystal lcd(12,11,5,4,3,2); lcd.begin(16,2); Serial.begin(9600); Wire.begin(8); Wire.onReceive(display);} void loop(){ delay(30); }void display(int x){…
18 Aug 2022 04:08 AM IST
Project 2 - Implement the Code for controlling the retraction and extension of Airplane’s landing gear
EMBEDDED OFFLINE BATCH: Implement the Code for controlling the retraction and extension of Airplane’s landing gear: #include <stdio.h>#include<string.h>typedef enum { gear_down, checking_before_take_off, rising_gear, gear_up, checking_before_landing, lowering_gear}state_type;//naming the enumtypedef enum…
08 Aug 2022 04:04 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
EMBEDDED OFFLINE BATCH 1] #include #include // A structure of linked list nodestruct node { int data; struct node *next; } *LLOne, *LLTwo, *unionLL, *intersectionLL; void initialize() { LLOne = LLTwo = NULL;}//Given a Inserts a node in front of a singly linked list. void insert(struct node **head, int num) { // Create…
05 Aug 2022 12:06 PM IST