SlideShare a Scribd company logo
IISC Bangalore CPDM
Project Report: Motor Angle Controller
17/Dec/2019
Parnika Gupta
Banasthali Vidyapith
B.Tech Electronics & Comm. Eng
Completed Tasks
1. Make a DC motor work like a stepper - you input an angle the motor must turn to that
angle. Use a feedback control system. Implement this in hardware, no simulations
allowed.
Ans.
 Schematic
 Arduino Code
int SENSOR_B=2;
int motor=5;
int encoderCounter;
int counter;
int encoder_angle;
int c;
int sensed_angle=0;
int Max_count= 100;
void encoderIncrementISR()
{
counter++;
}
void setup() {
Serial.begin(9600);
pinMode(SENSOR_B, INPUT_PULLUP);
pinMode(motor, OUTPUT);
attachInterrupt(digitalPinToInterrupt(SENSOR_B), encoderIncrementISR, CHANGE);
}
void loop() {
//Serial.print(sensed_angle, DEC);
counter=0;
encoder_angle= 0;
if(Serial.available()>0)
{
encoder_angle = Serial.readString().toInt();
//Serial.print("MOTOR ANGLE: ");
//encoder_angle = (encoder_angle, DEC);
Serial.print("t");
encoderCounter = map(encoder_angle, 0, 360, 0, Max_count);
//Serial.print("ENCODER COUNTER: ");
//encoderCounter = (encoderCounter, DEC);
//Serial.print("n");
delay(3000);
while(counter <= encoderCounter)
{
digitalWrite(motor, HIGH);
c = counter;
}
sensed_angle = map(c, 0, Max_count , 0, 360);
digitalWrite(motor, LOW);
Serial.print(sensed_angle, DEC);
Serial.print("n");
delay(2000);
}
}
2. Make a GUI with python using pyside2 library to control the motor overUART. The
GUI must take the input angle and display the sensed angle from motor. A minimal
GUI is acceptable; however, it must function as required.
 Schematic
 PySide2 and PySerial App
import serial
import time
import sys
from PySide2.QtWidgets import *
from PySide2.QtGui import *
ser= serial.Serial('com9', 9600)
app = QApplication(sys.argv)
win = QWidget()
win.setWindowTitle("Motor Controller")
l1 = QLabel()
l1.setText("Enter the degrees: ")
l1.setFont(QFont("Arial", 24))
e1 = QLineEdit()
e1.setFont(QFont("Arial", 20))
def Motor_Angle():
val= e1.text()
ser.write(val.encode())
time.sleep(5)
a = ser.readline().strip()
print("Sensed Angle", a.decode())
app.exit()
button = QPushButton("ENTER")
button.clicked.connect(Motor_Angle)
layout = QVBoxLayout()
layout.addWidget(l1)
layout.addWidget(e1)
layout.addWidget(button)
win.setLayout(layout)
win.show()
sys.exit(app.exec_())
3. Make a video demonstration and put the link in the document. Also describe what you
did in less than 200 words, add screenshots of the GUI, and attach the code(s).
Ans. (Approx. 280 words)
 The video demonstration link:
https://photos.app.goo.gl/tfvM9Kho7qVa1rmm7
 Motor Controller
o Aim
a. DC motor work like a stepper - you input an angle the motor must turn to that
angle
b. Use a feedback control system
c. Make a GUI with python using pyside2 library to control the motor over UART
d. The GUI must take the input angle and display the sensed angle from motor.
o Components Used
a. Arduino Mega: For controlling the motor by Arduino programming
b. DC Motor: For angular rotation demonstration
c. Rotatory disc: For indicating steps the motor rotated IR speed motor
d. IR LM393: For counting the steps of motor
o Working
 The GUI app takes the angle and saves in a ‘val’ / value which is sent to the
serial port of the Arduino by PySerial library through UART.
 The angle is converted into the counter/ step values that the motor has the
count to make user defined angle.
 The steps taken by the motor is again converted into the angle and shown in
GUI and the sensed counts are converted back to angle and shown on
PyCharm terminal.
o Graph
o Conclusion
a. DC motor work like a stepper, you input an angle the motor must turn to that
angle – By mapping one rotation step counts to 0 to 360 degree angle range
b. Make a GUI with python using pyside2 library to control the motor over UART-
By PySide2 GUI app and PySerial serial connection to Arduino Com port library
from PyCharm tool
c. The GUI must take the input angle- GUI takes the angle input in the QLineEdit
widget
d. Display the sensed angle from motor- PyCharm console shows angle that has
been travelled by the motor by converting the step count at the time of rotation
of motor to the corresponding angle.
4. Research on non-contact temperature sensors and the types available for medical
applications. Do a write up in about 250 words.
Ans. (Approx. 266 words)
Introduction
Non- contact temperature sensors are basically used where there is vacuum or
controlled atmosphere and quick response is required like while measuring temperature
18
32
54
75
93
118
136
154
180 190
216
237
255
270
298
313
334
356
0
50
100
150
200
250
300
350
400
20 40 60 80 100 120 140 160 180 200 220 240 260 280 300 320 340 360
Entered Angle VS Sensed Angle Sensed Angle
of ventilation chamber or of 100s of people in a place having epidemics with an error of
±2 °C or ±4 °F and does not come with worldwide standardization. They are generally
used in monitoring devices, works on portable battery and digital mechanisms.
Working
Principle of Planck’s Law for thermal radiation is used, higher the temperature, the
faster the molecules move. It is measured by calibrating the intensity/energy emitted by
different wavelengths since unlike the contact sensors these do not maintain
equilibrium with the object’s temperature.
Types
Non- contact sensors are preferably divided into broadband, narrowband, ratio and
optical sensors devices. Broadband and narrow bands devices measure intensity and
differentiated with range of wavelengths, only dust, water vapour, smoke, radiation
absorptive and steam can create errors while measuring. Ratio radiation devices
calculates the ratio of the two energies with function of the temperature of the object
and optical radiation devices are sensitive to optical brightness and works majorly in
visible range.
Medical application types
For medical applications basically there are spot IR thermometers, IR scanning systems,
IR thermal imaging cameras. Here, the IR pyrometers are used for instantaneous
measurement of body of child (like- IR ear laser thermometer used by keeping in the ear
of child) or of a critical patient. IR scanners can be utilized for manufacturing of the
medicines, sanitation and security purpose in hospitals whereas the IR thermal cameras
are used for medical image processing, images are known as thermogram.
Thank you

More Related Content

What's hot

DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINODESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
Ratnesh Kumar chaurasia
 
Joystick Controlled Wheelchair
Joystick Controlled WheelchairJoystick Controlled Wheelchair
Joystick Controlled Wheelchair
IRJET Journal
 
IRJET- Multi - Purpose Fire Fighter Robot
IRJET- Multi - Purpose Fire Fighter RobotIRJET- Multi - Purpose Fire Fighter Robot
IRJET- Multi - Purpose Fire Fighter Robot
IRJET Journal
 
Fire fighting robot
Fire fighting robot Fire fighting robot
Fire fighting robot
vijay kumar
 
Fire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPT
FarhanAhmade
 
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET Journal
 
Fire fighting Robot
Fire fighting RobotFire fighting Robot
Fire fighting Robot
Anjan991
 
IRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using ArduinoIRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using Arduino
IRJET Journal
 
Animatronic hand controller
Animatronic hand controllerAnimatronic hand controller
Animatronic hand controller
Sabrina Chowdhury
 
Robo arm final 2 (2)
Robo arm final  2 (2)Robo arm final  2 (2)
Robo arm final 2 (2)
Godhuli Biswas
 
Automatic Fire Fighting Robot by St John College
Automatic Fire Fighting Robot by St John CollegeAutomatic Fire Fighting Robot by St John College
Automatic Fire Fighting Robot by St John College
NidhiRaut7
 
Gesture controlling of Robots
Gesture controlling of Robots Gesture controlling of Robots
Gesture controlling of Robots
Jibin Poulose
 
Flexible robotic hand
Flexible robotic hand Flexible robotic hand
Flexible robotic hand
Nâhíd Alam
 
Temperature based fan speed control &amp; monitoring using arduino
Temperature based fan speed control &amp; monitoring using arduinoTemperature based fan speed control &amp; monitoring using arduino
Temperature based fan speed control &amp; monitoring using arduino
Jagannath Dutta
 
Air Conditioning Measurement Device
Air Conditioning Measurement DeviceAir Conditioning Measurement Device
Air Conditioning Measurement Device
Salih Güven
 
Fire fighting robot ppt
Fire fighting robot pptFire fighting robot ppt
Fire fighting robot ppt
athmeg
 
Temperature based fan controller
Temperature based fan controllerTemperature based fan controller
Temperature based fan controller
Shahbaz Makandar A.
 
Robotic hand Bionics
Robotic hand BionicsRobotic hand Bionics
Robotic hand Bionics
nsmd waqas
 
IRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One MeterIRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One Meter
IRJET Journal
 
Build your 1st robot arm controlled by arduino
Build your 1st robot arm controlled by arduinoBuild your 1st robot arm controlled by arduino
Build your 1st robot arm controlled by arduino
Mohamed Okasha
 

What's hot (20)

DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINODESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
DESIGN OF TEMPERATURE BASED FAN SPEED CONTROL and MONITORING USING ARDUINO
 
Joystick Controlled Wheelchair
Joystick Controlled WheelchairJoystick Controlled Wheelchair
Joystick Controlled Wheelchair
 
IRJET- Multi - Purpose Fire Fighter Robot
IRJET- Multi - Purpose Fire Fighter RobotIRJET- Multi - Purpose Fire Fighter Robot
IRJET- Multi - Purpose Fire Fighter Robot
 
Fire fighting robot
Fire fighting robot Fire fighting robot
Fire fighting robot
 
Fire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPTFire Fighting Robot using arduino UNO PPT
Fire Fighting Robot using arduino UNO PPT
 
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
IRJET- Design of a Portable Contact-Less Tachometer using Infrared Sensor for...
 
Fire fighting Robot
Fire fighting RobotFire fighting Robot
Fire fighting Robot
 
IRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using ArduinoIRJET-Android Controlled Firefighting Robot using Arduino
IRJET-Android Controlled Firefighting Robot using Arduino
 
Animatronic hand controller
Animatronic hand controllerAnimatronic hand controller
Animatronic hand controller
 
Robo arm final 2 (2)
Robo arm final  2 (2)Robo arm final  2 (2)
Robo arm final 2 (2)
 
Automatic Fire Fighting Robot by St John College
Automatic Fire Fighting Robot by St John CollegeAutomatic Fire Fighting Robot by St John College
Automatic Fire Fighting Robot by St John College
 
Gesture controlling of Robots
Gesture controlling of Robots Gesture controlling of Robots
Gesture controlling of Robots
 
Flexible robotic hand
Flexible robotic hand Flexible robotic hand
Flexible robotic hand
 
Temperature based fan speed control &amp; monitoring using arduino
Temperature based fan speed control &amp; monitoring using arduinoTemperature based fan speed control &amp; monitoring using arduino
Temperature based fan speed control &amp; monitoring using arduino
 
Air Conditioning Measurement Device
Air Conditioning Measurement DeviceAir Conditioning Measurement Device
Air Conditioning Measurement Device
 
Fire fighting robot ppt
Fire fighting robot pptFire fighting robot ppt
Fire fighting robot ppt
 
Temperature based fan controller
Temperature based fan controllerTemperature based fan controller
Temperature based fan controller
 
Robotic hand Bionics
Robotic hand BionicsRobotic hand Bionics
Robotic hand Bionics
 
IRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One MeterIRJET- Arduino Nano based All in One Meter
IRJET- Arduino Nano based All in One Meter
 
Build your 1st robot arm controlled by arduino
Build your 1st robot arm controlled by arduinoBuild your 1st robot arm controlled by arduino
Build your 1st robot arm controlled by arduino
 

Similar to IISC CPDM Task 2 Report

Digital Tachometer using Aurdino
Digital Tachometer using AurdinoDigital Tachometer using Aurdino
Digital Tachometer using Aurdino
ijtsrd
 
Fire Fighting Robot System
Fire Fighting Robot SystemFire Fighting Robot System
Fire Fighting Robot System
ijtsrd
 
Camera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWCamera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEW
ijtsrd
 
Automatic room ventilation.pptx
Automatic room ventilation.pptxAutomatic room ventilation.pptx
Automatic room ventilation.pptx
MANIKANDANG92
 
PC Based DC Motor Speed Control using PID for Laboratory
PC Based DC Motor Speed Control using PID for LaboratoryPC Based DC Motor Speed Control using PID for Laboratory
PC Based DC Motor Speed Control using PID for Laboratory
ijtsrd
 
quadcopter
quadcopterquadcopter
quadcopter
Rudra Timsina
 
L010127578
L010127578L010127578
L010127578
IOSR Journals
 
Orientation of Radar Antenna
Orientation of Radar AntennaOrientation of Radar Antenna
Orientation of Radar Antenna
IOSR Journals
 
Orientation of Radar Antenna
Orientation of Radar AntennaOrientation of Radar Antenna
Orientation of Radar Antenna
IOSR Journals
 
A Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android ApplicationA Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android Application
IRJET Journal
 
IRJET- Weather Station Quadcopter using Arduino with NRF24L01 and GPS Module
IRJET-  	  Weather Station Quadcopter using Arduino with NRF24L01 and GPS ModuleIRJET-  	  Weather Station Quadcopter using Arduino with NRF24L01 and GPS Module
IRJET- Weather Station Quadcopter using Arduino with NRF24L01 and GPS Module
IRJET Journal
 
Ranisha FAN.pptx
Ranisha FAN.pptxRanisha FAN.pptx
Ranisha FAN.pptx
MadishettySrija
 
Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass
Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass
Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass
Onyebuchi nosiri
 
IRJET - Transformers Monitoring using Arduino
IRJET -  	  Transformers Monitoring using ArduinoIRJET -  	  Transformers Monitoring using Arduino
IRJET - Transformers Monitoring using Arduino
IRJET Journal
 
Sensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controllerSensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controller
ArsalanAthar
 
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
IRJET-  	  Closed Loop Speed Control of DC Motor by using PI ControllerIRJET-  	  Closed Loop Speed Control of DC Motor by using PI Controller
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
IRJET Journal
 
SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL
SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL
SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL
IAEME Publication
 
4. exp.2 rotary encoder
4. exp.2 rotary encoder4. exp.2 rotary encoder
4. exp.2 rotary encoder
Venkateswararao Musala
 
IRJET- Monitoring and Measurement of Solar Parameters using IoT
IRJET- Monitoring and Measurement of Solar Parameters using IoTIRJET- Monitoring and Measurement of Solar Parameters using IoT
IRJET- Monitoring and Measurement of Solar Parameters using IoT
IRJET Journal
 
Development of Smart system for Monitoring Windmill
Development of Smart system for Monitoring WindmillDevelopment of Smart system for Monitoring Windmill
Development of Smart system for Monitoring Windmill
IRJET Journal
 

Similar to IISC CPDM Task 2 Report (20)

Digital Tachometer using Aurdino
Digital Tachometer using AurdinoDigital Tachometer using Aurdino
Digital Tachometer using Aurdino
 
Fire Fighting Robot System
Fire Fighting Robot SystemFire Fighting Robot System
Fire Fighting Robot System
 
Camera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEWCamera Movement Control using PID Controller in LabVIEW
Camera Movement Control using PID Controller in LabVIEW
 
Automatic room ventilation.pptx
Automatic room ventilation.pptxAutomatic room ventilation.pptx
Automatic room ventilation.pptx
 
PC Based DC Motor Speed Control using PID for Laboratory
PC Based DC Motor Speed Control using PID for LaboratoryPC Based DC Motor Speed Control using PID for Laboratory
PC Based DC Motor Speed Control using PID for Laboratory
 
quadcopter
quadcopterquadcopter
quadcopter
 
L010127578
L010127578L010127578
L010127578
 
Orientation of Radar Antenna
Orientation of Radar AntennaOrientation of Radar Antenna
Orientation of Radar Antenna
 
Orientation of Radar Antenna
Orientation of Radar AntennaOrientation of Radar Antenna
Orientation of Radar Antenna
 
A Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android ApplicationA Review on Smart Generator Control using Android Application
A Review on Smart Generator Control using Android Application
 
IRJET- Weather Station Quadcopter using Arduino with NRF24L01 and GPS Module
IRJET-  	  Weather Station Quadcopter using Arduino with NRF24L01 and GPS ModuleIRJET-  	  Weather Station Quadcopter using Arduino with NRF24L01 and GPS Module
IRJET- Weather Station Quadcopter using Arduino with NRF24L01 and GPS Module
 
Ranisha FAN.pptx
Ranisha FAN.pptxRanisha FAN.pptx
Ranisha FAN.pptx
 
Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass
Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass
Design and Implementation of a Simple HMC6352 2-Axis-MR Digital Compass
 
IRJET - Transformers Monitoring using Arduino
IRJET -  	  Transformers Monitoring using ArduinoIRJET -  	  Transformers Monitoring using Arduino
IRJET - Transformers Monitoring using Arduino
 
Sensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controllerSensor and Actuators using Rasberry Pi controller
Sensor and Actuators using Rasberry Pi controller
 
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
IRJET-  	  Closed Loop Speed Control of DC Motor by using PI ControllerIRJET-  	  Closed Loop Speed Control of DC Motor by using PI Controller
IRJET- Closed Loop Speed Control of DC Motor by using PI Controller
 
SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL
SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL
SATELLITE DISH POSITIONING CONTROL BY DC MOTOR USING IR REMOTE CONTROL
 
4. exp.2 rotary encoder
4. exp.2 rotary encoder4. exp.2 rotary encoder
4. exp.2 rotary encoder
 
IRJET- Monitoring and Measurement of Solar Parameters using IoT
IRJET- Monitoring and Measurement of Solar Parameters using IoTIRJET- Monitoring and Measurement of Solar Parameters using IoT
IRJET- Monitoring and Measurement of Solar Parameters using IoT
 
Development of Smart system for Monitoring Windmill
Development of Smart system for Monitoring WindmillDevelopment of Smart system for Monitoring Windmill
Development of Smart system for Monitoring Windmill
 

More from PARNIKA GUPTA

INTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdf
INTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdfINTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdf
INTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdf
PARNIKA GUPTA
 
Cypherock Assessment (1).pdf
Cypherock Assessment (1).pdfCypherock Assessment (1).pdf
Cypherock Assessment (1).pdf
PARNIKA GUPTA
 
Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)
PARNIKA GUPTA
 
IISC CPDM Task 1 Report
IISC CPDM Task 1 ReportIISC CPDM Task 1 Report
IISC CPDM Task 1 Report
PARNIKA GUPTA
 
Remote sensing and gis based identification of hazardous
Remote sensing and gis based identification of hazardousRemote sensing and gis based identification of hazardous
Remote sensing and gis based identification of hazardous
PARNIKA GUPTA
 
Beam forming- New Technology
Beam forming- New TechnologyBeam forming- New Technology
Beam forming- New Technology
PARNIKA GUPTA
 
LoRa application for detecting the harmful gases
LoRa application for detecting the harmful gasesLoRa application for detecting the harmful gases
LoRa application for detecting the harmful gases
PARNIKA GUPTA
 
Human Computer Interface Glove for Sign Language Translation
Human Computer Interface Glove for Sign Language TranslationHuman Computer Interface Glove for Sign Language Translation
Human Computer Interface Glove for Sign Language Translation
PARNIKA GUPTA
 
GIS application in Defense
GIS application in DefenseGIS application in Defense
GIS application in Defense
PARNIKA GUPTA
 
Transceiver System requirement specifications for 20 km range UAV video datalink
Transceiver System requirement specifications for 20 km range UAV video datalinkTransceiver System requirement specifications for 20 km range UAV video datalink
Transceiver System requirement specifications for 20 km range UAV video datalink
PARNIKA GUPTA
 
HAPTIC SUIT- Project Report(2018)
HAPTIC SUIT- Project Report(2018)HAPTIC SUIT- Project Report(2018)
HAPTIC SUIT- Project Report(2018)
PARNIKA GUPTA
 
HAPTIC SUIT presentation (2018)
HAPTIC SUIT presentation (2018) HAPTIC SUIT presentation (2018)
HAPTIC SUIT presentation (2018)
PARNIKA GUPTA
 

More from PARNIKA GUPTA (12)

INTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdf
INTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdfINTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdf
INTEGRATION_ASPECTS_OF_TELEMETRY_SYSTEM_FOR_A_SURVEILLANCE_UAV.pdf
 
Cypherock Assessment (1).pdf
Cypherock Assessment (1).pdfCypherock Assessment (1).pdf
Cypherock Assessment (1).pdf
 
Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)Swadeshi Microprocessor Quiz 2020 (Start-up India)
Swadeshi Microprocessor Quiz 2020 (Start-up India)
 
IISC CPDM Task 1 Report
IISC CPDM Task 1 ReportIISC CPDM Task 1 Report
IISC CPDM Task 1 Report
 
Remote sensing and gis based identification of hazardous
Remote sensing and gis based identification of hazardousRemote sensing and gis based identification of hazardous
Remote sensing and gis based identification of hazardous
 
Beam forming- New Technology
Beam forming- New TechnologyBeam forming- New Technology
Beam forming- New Technology
 
LoRa application for detecting the harmful gases
LoRa application for detecting the harmful gasesLoRa application for detecting the harmful gases
LoRa application for detecting the harmful gases
 
Human Computer Interface Glove for Sign Language Translation
Human Computer Interface Glove for Sign Language TranslationHuman Computer Interface Glove for Sign Language Translation
Human Computer Interface Glove for Sign Language Translation
 
GIS application in Defense
GIS application in DefenseGIS application in Defense
GIS application in Defense
 
Transceiver System requirement specifications for 20 km range UAV video datalink
Transceiver System requirement specifications for 20 km range UAV video datalinkTransceiver System requirement specifications for 20 km range UAV video datalink
Transceiver System requirement specifications for 20 km range UAV video datalink
 
HAPTIC SUIT- Project Report(2018)
HAPTIC SUIT- Project Report(2018)HAPTIC SUIT- Project Report(2018)
HAPTIC SUIT- Project Report(2018)
 
HAPTIC SUIT presentation (2018)
HAPTIC SUIT presentation (2018) HAPTIC SUIT presentation (2018)
HAPTIC SUIT presentation (2018)
 

Recently uploaded

DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
OKORIE1
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
felixwold
 
DELTA V MES EMERSON EDUARDO RODRIGUES ENGINEER
DELTA V MES EMERSON EDUARDO RODRIGUES ENGINEERDELTA V MES EMERSON EDUARDO RODRIGUES ENGINEER
DELTA V MES EMERSON EDUARDO RODRIGUES ENGINEER
EMERSON EDUARDO RODRIGUES
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
Atif Razi
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
wafawafa52
 
Impartiality as per ISO /IEC 17025:2017 Standard
Impartiality as per ISO /IEC 17025:2017 StandardImpartiality as per ISO /IEC 17025:2017 Standard
Impartiality as per ISO /IEC 17025:2017 Standard
MuhammadJazib15
 
Introduction to Artificial Intelligence.
Introduction to Artificial Intelligence.Introduction to Artificial Intelligence.
Introduction to Artificial Intelligence.
supriyaDicholkar1
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
Dwarkadas J Sanghvi College of Engineering
 
comptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdfcomptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdf
foxlyon
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
Kamal Acharya
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
PreethaV16
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
Paris Salesforce Developer Group
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
Kamal Acharya
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
upoux
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
paraasingh12 #V08
 
Beckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview PresentationBeckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview Presentation
VanTuDuong1
 
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTERUNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
vmspraneeth
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
snaprevwdev
 
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
ijseajournal
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
sydezfe
 

Recently uploaded (20)

DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
DESIGN AND MANUFACTURE OF CEILING BOARD USING SAWDUST AND WASTE CARTON MATERI...
 
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdfAsymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
Asymmetrical Repulsion Magnet Motor Ratio 6-7.pdf
 
DELTA V MES EMERSON EDUARDO RODRIGUES ENGINEER
DELTA V MES EMERSON EDUARDO RODRIGUES ENGINEERDELTA V MES EMERSON EDUARDO RODRIGUES ENGINEER
DELTA V MES EMERSON EDUARDO RODRIGUES ENGINEER
 
Applications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdfApplications of artificial Intelligence in Mechanical Engineering.pdf
Applications of artificial Intelligence in Mechanical Engineering.pdf
 
Ericsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.pptEricsson LTE Throughput Troubleshooting Techniques.ppt
Ericsson LTE Throughput Troubleshooting Techniques.ppt
 
Impartiality as per ISO /IEC 17025:2017 Standard
Impartiality as per ISO /IEC 17025:2017 StandardImpartiality as per ISO /IEC 17025:2017 Standard
Impartiality as per ISO /IEC 17025:2017 Standard
 
Introduction to Artificial Intelligence.
Introduction to Artificial Intelligence.Introduction to Artificial Intelligence.
Introduction to Artificial Intelligence.
 
Introduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.pptIntroduction to Computer Networks & OSI MODEL.ppt
Introduction to Computer Networks & OSI MODEL.ppt
 
comptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdfcomptia-security-sy0-701-exam-objectives-(5-0).pdf
comptia-security-sy0-701-exam-objectives-(5-0).pdf
 
Supermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdfSupermarket Management System Project Report.pdf
Supermarket Management System Project Report.pdf
 
Object Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOADObject Oriented Analysis and Design - OOAD
Object Oriented Analysis and Design - OOAD
 
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
AI + Data Community Tour - Build the Next Generation of Apps with the Einstei...
 
Accident detection system project report.pdf
Accident detection system project report.pdfAccident detection system project report.pdf
Accident detection system project report.pdf
 
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
一比一原版(uofo毕业证书)美国俄勒冈大学毕业证如何办理
 
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls ChennaiCall Girls Chennai +91-8824825030 Vip Call Girls Chennai
Call Girls Chennai +91-8824825030 Vip Call Girls Chennai
 
Beckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview PresentationBeckhoff Programmable Logic Control Overview Presentation
Beckhoff Programmable Logic Control Overview Presentation
 
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTERUNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
UNIT-III- DATA CONVERTERS ANALOG TO DIGITAL CONVERTER
 
openshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoinopenshift technical overview - Flow of openshift containerisatoin
openshift technical overview - Flow of openshift containerisatoin
 
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...Call For Paper -3rd International Conference on Artificial Intelligence Advan...
Call For Paper -3rd International Conference on Artificial Intelligence Advan...
 
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
一比一原版(uoft毕业证书)加拿大多伦多大学毕业证如何办理
 

IISC CPDM Task 2 Report

  • 1. IISC Bangalore CPDM Project Report: Motor Angle Controller 17/Dec/2019 Parnika Gupta Banasthali Vidyapith B.Tech Electronics & Comm. Eng Completed Tasks 1. Make a DC motor work like a stepper - you input an angle the motor must turn to that angle. Use a feedback control system. Implement this in hardware, no simulations allowed. Ans.  Schematic
  • 2.  Arduino Code int SENSOR_B=2; int motor=5; int encoderCounter; int counter; int encoder_angle; int c; int sensed_angle=0; int Max_count= 100; void encoderIncrementISR() { counter++; } void setup() { Serial.begin(9600); pinMode(SENSOR_B, INPUT_PULLUP); pinMode(motor, OUTPUT); attachInterrupt(digitalPinToInterrupt(SENSOR_B), encoderIncrementISR, CHANGE); } void loop() { //Serial.print(sensed_angle, DEC); counter=0; encoder_angle= 0; if(Serial.available()>0) { encoder_angle = Serial.readString().toInt(); //Serial.print("MOTOR ANGLE: "); //encoder_angle = (encoder_angle, DEC); Serial.print("t"); encoderCounter = map(encoder_angle, 0, 360, 0, Max_count); //Serial.print("ENCODER COUNTER: "); //encoderCounter = (encoderCounter, DEC); //Serial.print("n"); delay(3000);
  • 3. while(counter <= encoderCounter) { digitalWrite(motor, HIGH); c = counter; } sensed_angle = map(c, 0, Max_count , 0, 360); digitalWrite(motor, LOW); Serial.print(sensed_angle, DEC); Serial.print("n"); delay(2000); } } 2. Make a GUI with python using pyside2 library to control the motor overUART. The GUI must take the input angle and display the sensed angle from motor. A minimal GUI is acceptable; however, it must function as required.  Schematic  PySide2 and PySerial App import serial import time import sys from PySide2.QtWidgets import * from PySide2.QtGui import * ser= serial.Serial('com9', 9600)
  • 4. app = QApplication(sys.argv) win = QWidget() win.setWindowTitle("Motor Controller") l1 = QLabel() l1.setText("Enter the degrees: ") l1.setFont(QFont("Arial", 24)) e1 = QLineEdit() e1.setFont(QFont("Arial", 20)) def Motor_Angle(): val= e1.text() ser.write(val.encode()) time.sleep(5) a = ser.readline().strip() print("Sensed Angle", a.decode()) app.exit() button = QPushButton("ENTER") button.clicked.connect(Motor_Angle) layout = QVBoxLayout() layout.addWidget(l1) layout.addWidget(e1) layout.addWidget(button) win.setLayout(layout) win.show() sys.exit(app.exec_()) 3. Make a video demonstration and put the link in the document. Also describe what you did in less than 200 words, add screenshots of the GUI, and attach the code(s). Ans. (Approx. 280 words)  The video demonstration link: https://photos.app.goo.gl/tfvM9Kho7qVa1rmm7
  • 5.  Motor Controller o Aim a. DC motor work like a stepper - you input an angle the motor must turn to that angle b. Use a feedback control system c. Make a GUI with python using pyside2 library to control the motor over UART d. The GUI must take the input angle and display the sensed angle from motor. o Components Used a. Arduino Mega: For controlling the motor by Arduino programming b. DC Motor: For angular rotation demonstration c. Rotatory disc: For indicating steps the motor rotated IR speed motor d. IR LM393: For counting the steps of motor o Working  The GUI app takes the angle and saves in a ‘val’ / value which is sent to the serial port of the Arduino by PySerial library through UART.  The angle is converted into the counter/ step values that the motor has the count to make user defined angle.  The steps taken by the motor is again converted into the angle and shown in GUI and the sensed counts are converted back to angle and shown on PyCharm terminal. o Graph
  • 6. o Conclusion a. DC motor work like a stepper, you input an angle the motor must turn to that angle – By mapping one rotation step counts to 0 to 360 degree angle range b. Make a GUI with python using pyside2 library to control the motor over UART- By PySide2 GUI app and PySerial serial connection to Arduino Com port library from PyCharm tool c. The GUI must take the input angle- GUI takes the angle input in the QLineEdit widget d. Display the sensed angle from motor- PyCharm console shows angle that has been travelled by the motor by converting the step count at the time of rotation of motor to the corresponding angle. 4. Research on non-contact temperature sensors and the types available for medical applications. Do a write up in about 250 words. Ans. (Approx. 266 words) Introduction Non- contact temperature sensors are basically used where there is vacuum or controlled atmosphere and quick response is required like while measuring temperature 18 32 54 75 93 118 136 154 180 190 216 237 255 270 298 313 334 356 0 50 100 150 200 250 300 350 400 20 40 60 80 100 120 140 160 180 200 220 240 260 280 300 320 340 360 Entered Angle VS Sensed Angle Sensed Angle
  • 7. of ventilation chamber or of 100s of people in a place having epidemics with an error of ±2 °C or ±4 °F and does not come with worldwide standardization. They are generally used in monitoring devices, works on portable battery and digital mechanisms. Working Principle of Planck’s Law for thermal radiation is used, higher the temperature, the faster the molecules move. It is measured by calibrating the intensity/energy emitted by different wavelengths since unlike the contact sensors these do not maintain equilibrium with the object’s temperature. Types Non- contact sensors are preferably divided into broadband, narrowband, ratio and optical sensors devices. Broadband and narrow bands devices measure intensity and differentiated with range of wavelengths, only dust, water vapour, smoke, radiation absorptive and steam can create errors while measuring. Ratio radiation devices calculates the ratio of the two energies with function of the temperature of the object and optical radiation devices are sensitive to optical brightness and works majorly in visible range. Medical application types For medical applications basically there are spot IR thermometers, IR scanning systems, IR thermal imaging cameras. Here, the IR pyrometers are used for instantaneous measurement of body of child (like- IR ear laser thermometer used by keeping in the ear of child) or of a critical patient. IR scanners can be utilized for manufacturing of the medicines, sanitation and security purpose in hospitals whereas the IR thermal cameras are used for medical image processing, images are known as thermogram. Thank you