Individual Hands-On Project Description

Similar documents
Total Hours Registration through Website or for further details please visit (Refer Upcoming Events Section)

A Denunciation of the Monochrome:

ROS Tutorial. Me133a Joseph & Daniel 11/01/2017

LaserPING Rangefinder Module (#28041)

FABO ACADEMY X ELECTRONIC DESIGN

Arduino Platform Capabilities in Multitasking. environment.

Marine Debris Cleaner Phase 1 Navigation

Content Components... 1 i. Acrylic Plates... 1 ii. Mechanical Fasteners... 3 iii. Electrical Components... 4 Introduction... 5 Getting Started... 6 Ar

Lab 5: Inverted Pendulum PID Control

Application Note. Communication between arduino and IMU Software capturing the data

Megamark Arduino Library Documentation

A Model Based Approach for Human Recognition and Reception by Robot

Training Schedule. Robotic System Design using Arduino Platform

Experiment 4.B. Position Control. ECEN 2270 Electronics Design Laboratory 1

The Marauder Map Final Report 12/19/2014 The combined information of these four sensors is sufficient to

EARTH PEOPLE TECHNOLOGY. EPT-200TMP-TS-U2 Temperature Sensor Docking Board User Manual

Toposens GmbH - Blütenstraße München Germany +49 (0)

Responding to Voice Commands

EE-110 Introduction to Engineering & Laboratory Experience Saeid Rahimi, Ph.D. Labs Introduction to Arduino

Field Testing of Wireless Interactive Sensor Nodes

COSC 3215 Embedded Systems Laboratory

Practical Assignment 1: Arduino interface with Simulink

Adafruit SGP30 TVOC/eCO2 Gas Sensor

EGG 101L INTRODUCTION TO ENGINEERING EXPERIENCE

ROBOTICS & IOT. Workshop Module

ROBOTICS & IOT. Workshop Module

Grove - Infrared Temperature Sensor

Park Ranger. Li Yang April 21, 2014

STEM SUMMER CAMP 2019

Make: Sensors. Tero Karvinen, Kimmo Karvinen, and Ville Valtokari. (Hi MAKER MEDIA SEBASTOPOL. CA

ZX Distance and Gesture Sensor Hookup Guide

LABORATORY 4. Palomar College ENGR210 Spring 2017 ASSIGNED: 3/21/17

PSoC and Arduino Calculator

Exercise 5: PWM and Control Theory

Programming 2 Servos. Learn to connect and write code to control two servos.

A Low-Cost Collision Detection System for Compact Vehicles (aka Ping Around the Rosey )

1 Lab + Hwk 4: Introduction to the e-puck Robot

Programming Arduino Next Steps: Going Further With Sketches PDF

AirChip3000. Description and Main Functions

MB1013, MB1023, MB1033, MB1043

Space Research expeditions and open space work. Education & Research Teaching and laboratory facilities. Medical Assistance for people

Lab 5: Arduino Uno Microcontroller Innovation Fellows Program Bootcamp Prof. Steven S. Saliterman

AN ARDUINO CONTROLLED CHAOTIC PENDULUM FOR A REMOTE PHYSICS LABORATORY

EQ-ROBO Programming : bomb Remover Robot

Instrument Cluster Display. Grant Scott III Erin Lawler Mike Carlson

For this exercise, you will need a partner, an Arduino kit (in the plastic tub), and a laptop with the Arduino programming environment.

AS726X NIR/VIS Spectral Sensor Hookup Guide

Object Detection for Collision Avoidance in ITS

Performance Analysis of Ultrasonic Mapping Device and Radar

Precision Range Sensing Free run operation uses a 2Hz filter, with. Stable and reliable range readings and

GETTING STARTED WITH THE MSP430 LAUNCHPAD BY ADRIAN FERNANDEZ, DUNG DANG

Undefined Obstacle Avoidance and Path Planning

Electronics Design Laboratory Lecture #10. ECEN 2270 Electronics Design Laboratory

Preface. If you have any TECHNICAL questions, add a topic under FORUM section on our website and we'll reply as soon as possible.

Step 1: Getting to know your Rain Sensor: About This Instructable views. 115 favorites

About New FT-SCServo (Smart Control Servo)

Moving Object Follower

Final Project: Sound Source Localization

Introduction to the VEX Robotics Platform and ROBOTC Software

ECE 477 Digital Systems Senior Design Project Rev 8/09. Homework 5: Theory of Operation and Hardware Design Narrative

You'll create a lamp that turns a light on and off when you touch a piece of conductive material

Arduino Interfacing And Signal Processing By Yury Magda

LVTX-10 Series Ultrasonic Sensor Installation and Operation Guide

SPEED CONTROL OF DC MOTOR USING PWM TECHNIQUE

Weekly report: January 11 - January 18, 2018

TWEAK THE ARDUINO LOGO

A Day in the Life CTE Enrichment Grades 3-5 mblock Programs Using the Sensors

GE423 Laboratory Assignment 6 Robot Sensors and Wall-Following

NAMASKAR ROBOT-WHICH PROVIDES SERVICE

MLP Troubleshooting Fault Isolation Checklist for MLP

BEYOND TOYS. Wireless sensor extension pack. Tom Frissen s

VEX Robotics Platform and ROBOTC Software. Introduction

Fading a RGB LED on BeagleBone Black

HC-SR501 Passive Infrared (PIR) Motion Sensor

Blind Spot Monitor Vehicle Blind Spot Monitor

THE IMPORTANCE OF PLANNING AND DRAWING IN DESIGN

Adafruit 16-Channel Servo Driver with Arduino

Engineering 3821 Fall Pspice TUTORIAL 1. Prepared by: J. Tobin (Class of 2005) B. Jeyasurya E. Gill

ARDUINO BASED GREETING CONTROLLED ROBOT

Peek-a-BOO Kit JAMECO PART NO / / Experience Level: Beginner Time Required: 1+ hour

GetTutorialized Workshops Brochure-2017

A PID Controller for Real-Time DC Motor Speed Control using the C505C Microcontroller

Veyron Servo Driver (24 Channel) (SKU:DRI0029)

MaxBotix Inc. Copyright MaxBotix Incorporated Patent 7,679,996. Close Range Operation. Warning: Personal Safety Applications

PCB & Circuit Designing (Summer Training Program) 6 Weeks/ 45 Days PRESENTED BY

URM37 V3.2 Ultrasonic Sensor (SKU:SEN0001)

SCHOOL OF TECHNOLOGY AND PUBLIC MANAGEMENT ENGINEERING TECHNOLOGY DEPARTMENT

Jaguar Motor Controller (Stellaris Brushed DC Motor Control Module with CAN)

SGD 43-A 4.3 PanelPilotACE Compatible Display

LESSONS Lesson 1. Microcontrollers and SBCs. The Big Idea: Lesson 1: Microcontrollers and SBCs. Background: What, precisely, is computer science?

Available online Journal of Scientific and Engineering Research, 2018, 5(4): Research Article

LED Driver 5 click. PID: MIKROE 3297 Weight: 25 g

Adafruit 16-Channel PWM/Servo HAT & Bonnet for Raspberry Pi

OpenROV Underwater Acoustic Location System Final Report

Adafruit 16-Channel PWM/Servo HAT for Raspberry Pi

INTEGRATED CIRCUITS. AN179 Circuit description of the NE Dec

Internet of Things Student STEM Project Jackson High School. Lesson 2: Arduino and LED

Mechatronics Engineering and Automation Faculty of Engineering, Ain Shams University MCT-151, Spring 2015 Lab-4: Electric Actuators

Lab 3 Swinging pendulum experiment

The µbotino Microcontroller Board

Transcription:

Individual Hands-On Project Description Door unlocking using Face Detection Aishwary Jagetia adjagetia@wpi.edu 1. Summary of Accomplishments: 1.1. Did you complete all of the basic requirements? 1.1.1. Download latest Arduino IDE from arduino.cc. I have downloaded ARDUINO 1.8.5 which is open-source software, compatible with my Linux as well as Windows operating system. 1.1.2. Learn Arduino C/C++ and its IDE. We have used Arduino C in serial communication and standard libraries for experimentation. 1.1.3. Learn about interfacing with a variety of sensors. (Analog, PWM, Interrupts, SPI, I2C). We have interfaced the Ultrasonic sensor with analog and digital interrupts as well as with I2C for interrupts communication. 1.1.4. Write a simple sketch to get an Arduino to interface with a sensor. 1.1.5. Show that Arduino can properly handle interrupts. When it is not using serial communication it is working properly, while communicating the serially the interrupts are messing up and not behaving as intended. 1.1.6. Get Arduino to communicate with a laptop using the Arduino serial class.

I have also used MATLAB library JRodrigoTech/HCSR04 to set up communication between Arduino with the laptop. Using a simple command as follows I have collected the data : sensor = addon(a, 'JRodrigoTech/HCSR04', 'D12', 'D13') val = readdistance(sensor); sprintf('current distance is %.4f meters\n', val) The MATLAB Code for this is as follows: 1.1.7. Get Arduino to send ROS messages of sensor outputs using Arduino ros-serial library. Following the official instruction given in http://wiki.ros.org/ we used ros_lib in order to connect with Arduino in order to send ROS messages of sensor outputs. 1.1.8. Learn Ubuntu (Linux) and its tools. I have learned to operate Ubuntu operating system, and developed my skills in Command Prompt and perform tasks using it. I have installed many developer tools including: IDE Python, Arduino IDE etc. with a Simulation environment Anaconda using which I have learnt to run coding using Tensorflow and Keras. 1.1.9. Learn the basics of Python. I have opted for a basic course from codecademy (www.codecademy.com) to learn the basics of python. During this course I have earned 19 badges so far. I am not coding in python using atom interface. 1.1.10. Learn the basics of the Robot Operating System (ROS). Using http://wiki.ros.org/ the documentation and tutorials available for learning ROS as well as referred to the book A Gentle Introduction to ROS by Jason M. O Kane gave me a strong foundation to ROS basics. 1.1.11. Install Ubuntu (14.04 works) and ROS (Indigo) on Laptop

I have installed Ubuntu 16.04.3 on sides with my Windows Operating system. I have also installed ROS (Indigo) on my Ubuntu and tested it with turtle game. 1.1.12. Have ROS store sensor data for later analysis. Probably use ROS bags. We have not used ROS bag instead we have implemented the node system, because we are implementing the network in real time not from the stored data. 1.1.13. Analyze the data using Python.

We have collected the data at every cm distance from the ultrasonic sensor taking 200 reading at every position. We have used hard as well as soft surface and examined our sensor reading at different angles. Based on these observations we found that the threshold distance from the ultrasonic sensor is less than 40cm, which we have used in our project. We also, found that the sensor is sensitive only for 10-degree variation of the surface. 1.1.14. Understand the characteristics of sensors. Don t just connect them up. Document them: 1.1.14.1. Their interface characteristics and code. Interface characteristics: Power Supply: +5V DC Quiescent Current: <2mA Working Current: 15mA Effectual Angle: <15 Ranging Distance: 2cm 400 cm/1 13ft Resolution: 0.3 cm Measuring Angle: 30 degrees Trigger Input Pulse width: 10uS 1.1.14.2. Their error characteristics and statistics. The specifications of the HC-SR04 ultrasonic sensors are: - FOV (full cone): horizontal ~21º, vertical ~4º - Spatial resolution (full cone): ~0.6-1.4º - Range: tested from 5 to 200 cm - Accuracy: absolute error ~0.035 cm/cm. - Precision: standard deviation ~0.1-0.5 cm

1.1.15. Keep notes as you progress. We have notes for Sensor analysis data, Filter data and Output log data as reflected in the presentation. 1.2. Did you accomplish other objectives? Our project objective was to successfully implement a door unlocking system with face detection capability. For which we have used the following approach: We have successfully implemented this and accomplished our objective. This includes to work on sensor data analysis to find the threshold distance, to establish communication using ROS interface and to successfully implement Open-cv for face detection. 2. Problems Encountered: During the project we encountered some problems as listed below. Interrupts break ros_serial Filtering added a large delay Filter was initially erratic OpenCV and ROS integration difficult Program flow different, mixing the two was interesting Sensor Range limited Trouble maintaining ROS connection

3. Solutions to (or work-arounds for) problems encountered: During the project we encountered some problems as listed below. We removed the interrupts from the code which made everything work perfectly. For Filtering the program collects the data using the ROS communication. So, the delay was due to consideration of multiple reading being taken/collected before processing. So, reducing the number of readings to be collected we can reduce the delay. Using while loop in OpenCV and simultaneously using ros::isok() loop was solved. Sensor Range limited which was solved by using python instead of MATLAB with different libraries.