Motion Controlled Servo Motor

Slides:



Advertisements
Similar presentations
Sensing and Control.
Advertisements

1 Signals, Circuits, and Computers John Athanasiou Part B Spring 2010.
ELECTRICAL. Circuits Outline Power Hub Microcontroller Sensor Inputs Motor Driver.
Copyright 2014 Kenneth M. Chipps Ph.D. Network Management Using Sensors to Monitor Network Equipment Rooms Last Update
Presentation by John Lamb Trainee Master Teacher Monkwearmouth Academy Physical Computing with the Raspberry Pi.
How to Build a Digital-Physical System-Lab Assegid Kidané Fall 2014.
Embedded Programming and Robotics Introduction and Overview Presented by John Cole Senior Lecturer in Computer Science The University of Texas at Dallas,
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
RM2C Understanding Connections on the Robot Control Board (RCB).
Final Year Project Presentation The Design and Implementation of an Intelligent, Wireless Robot By Mark Heneghan.
Motors Make the world go ‘round By Jackson Greer, Room 305.
E-LABORATORY PRACTICAL TEACHING FOR APPLIED ENGINEERING SCIENCES W O R K S H O P University of Oradea, Romania February 6, 2012 G E N E R A L P R E S E.
The route to Programmable Components Brian P Smith.
Microcontroller Based Wireless Camera Security System John Saylor Computer Electronic Networking.
Background   Who does this project addresses to?   Handicapped.   Amputated limbs.   Paralyzed.   Motivation Statistics.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
RASPBERRY PI IMPLEMENTING BINARY COUNTING Marlon Myers Computer Hardware Systems: EMT 2370 Instructor: Prof. Carranza.
EXTREME SECURITY: AUTOMATED INTRUDER ELIMINATION SYSTEM Rick Mills Eastern Kentucky University Dept. of Technology, CET.
Week 2 Electrical Subsytem Testing MSD II. Transceiver Communication Used two Linx EVM transceivers with evaluation boards with breadboard to.
Aerospace Education STEM Kit Program Aerospace Education STEM Kit Program Dr Jeff Montgomery Lt Col Randy Carlson Lt Col Sherwood Williams Major Gary Dahlke.
Mobile Controlled Car Students : Tasneem J. Hamayel Hanan I. Mansour Supervisor : Dr.Aladdin.
SECURING YOUR HOME AND HOME NETWORK Ryan Lewis Eastern Kentucky University Network Security & Electronics Spring 2015 Capstone.
Microcomputers Final Project.  Camera surveillance is an important aspect of Robotics.  Autonomous robots require the use of servos for camera control.
Beath High School - Int 1 Physics1 Intermediate 1 Physics Electronics Glossary AND gate to device digital signals to inverter LDR to logic circuit logic.
CSCI1600: Embedded and Real Time Software Lecture 4: Introduction to the Arduino Steven Reiss, Fall 2015.
Alternating Current (AC)
Braille Printer An-Najah National University Faculty of Engineering Braille Printer Prepared by : Rbee waheeb Supervisor: Dr. Nidal Farahat May
Welcome to Week 4 at the Summer Computer Club Raspberry Pi (contd)
Introduction :  In the beginning, the calculator is the basic idea of computers out, then that arrived at the large computers.  in1980 or late seventies.
Bonus EV3 Programming Lessons LEGO MINDSTORMS ev3dev and Raspberry Pi IR Light controller.
Raspberry Pi Project Control Your Home Lights with a Raspberry Pi.
Istituto Tecnico Industriale A.Monaco EURLAB Control a Servo Motor If you want to swing an robot arm or … steer a robot you need a special motor (Servo).
Embedded Software Design Week III Processor Basics Raspberry Pi -> Blinking LEDs & pushing buttons.
Python with Raspberry PI Kit
Building Raspberry Pi Controllers with Python
Mandava Institute of Engineering and Technology
RASPBERRY PI WORKSHOP.
Metal Detector Robotic Vehicle
Dr. Kyung Eun Park Summer 2017
If you want to swing an robot arm or …
REMOTE JAMMING DEVICE.
Prepared by: Raghad J Foqha Supervisor: Dr. Saed Tarapiah
User Needs/Design Input
Cat Litter Box Ventilation System
Introduction To Programming with LEGO NXT 0
WORKSHOP LED CONTROL.
RASPBERRY PI WORKSHOP.
Cable & Phase identification
Building Raspberry Pi Controllers with Python
USING A RASPBERRY PI AS A WATER DETECTION SYSTEM
LASER SECURITY ALARM[140] DIRECTOR OF MGM’s COE,NANDED
Session 3 DIY Moderate Project
Lighting LEDs with a RASPBERRY PI
Introduction to robotics
Computer Systems INPUT PROCESS OUTPUT.
CS-4540 Robotics Lab 00 - Introduction and OHM's law.
What is Arduino? By James Tedder.
Internet-of-Things (IoT)
Cybernetics and Computers
Computer Systems INPUT PROCESS OUTPUT.
CSCI1600: Embedded and Real Time Software
Reading / Writing analogue devices LED + Game-controller
Raspberry Pi 2/3 GPIO - LED, Button
CSCI1600: Embedded and Real Time Software
How electronic systems work using the Systems approach.
Passive Infrared Sensor
Python with Raspberry PI Kit
Computer Fundamentals
I/O Experiments Assignment 1.
Robot and Crickit HAT © Copyright 2019 by Dr. Elizabeth I. Horvath and Dr. Eva A. Horvath 1.
Presentation transcript:

Motion Controlled Servo Motor Dylan Keller Eastern Kentucky University Networking Securities and Electronics Department

Abstract This project is a small step in a larger project It function and purpose is to have a servo motor that will be activated by a motion sensor

Problem This project is designed as one of the cores of a bigger project which is a robotic prosthetic The main issue is how to get a servo motor to respond to electrical pulses in the same fashion as a human brain would send electrical pulses to a body part

The design The design of this project is to have a motion detector attached to a raspberry pi A micro-servo motor will also be attached to a raspberry pi When the motion sensor detects movement in front of it, the sensor will send an input signal to the raspberry pi to make the servo motor move as well as display “Activated” and “Deactivated” on the screen

Field Focus This project has different parts The first part is that it has a fair portion of electronics associated with it because you will need to know how to wire the components together and if it needs other parts like capacitors, resistors, or logic controllers The next part is computer science related because of all of the programming language that is required in order to get the pi to accept input signals and use output signals The final part is that there is a small portion of networking because I tried to set up a VNC server with the pi, but it didn’t work

The process The process was broken down into three simple cores in its main design The first core is to program the raspberry pi to send specific frequency signals The second core is to program the raspberry pi to accept input signals and send them as output signals The third and final core is to combine the other two cores together

Core functionality 1 This phase is an important phase of the project This phase is designed to program the raspberry pi to send electrical signals as a specified frequency that will operate the servo motor I found a video on YouTube.com that was published by a Gaven MacDonald that walks through programming a servo motor using a raspberry pi and Python coding language.

Core Functionality 2 This phase was a little more challenging than the other phase In order to get my project to work the program will need to have use of many loops within the program This gave insight into designing a conditional loop in python

Core Functionality 3 This phase/core can be the riskiest one of them all In order to get this core to work the other two cores will need to be combined together Both cores have a loop designed into the programming In order to get the programming to work the correct loop will be the deterring factor

Attempt 1 This was the first attempt at the design It worked on the first attempt When the code was running the screen would say “DEACTIVATED” When someone walks in front of the PIR sensor, the screen will say “ACTIVATED” and the servo motor will run through its designed program

The code import RPI.GPIO as GPIO import time GPIO.setwarnings(False) GPIO.setmode(GPIO.BCM) GPIO.setup(26,GPIO.IN) GPIO.setup(20,GPIO.OUT) p = GPIO.PWM(20,50) p.start(7.5) while True: i=GPIO.input(26) if i==0: print “DEACTIVATED” GPIO.output(20,0) time.sleep(1) elif i==1: print “ACTIVATED” GPIO.output(20,1) p.ChangeDutyCycle(7.5) p.ChngeDutyCycle(12.5) p.ChangeDutyCycle(2.5)

Video

Struggles The first design was difficult to implement There was a OWI robotic arm that was stripped down to just the motors and wires, with only the VCC and ground wires A playstation eyetoy that was not compatible with the linux operating system The problem was it needed more electricity than the pi and extra voltage could offer An “AND” logic micro-circuit broke There was no code or tutorial videos that could show me how to program a USB camera to control the OWI robotic arm on a breadboard

Reason for doing this project The main reason for doing this project is to learn how to program a motor that will accept electrical pulses much like a human limb will accept electrical pulses from the brain This is essentially a small baby step to achieving the larger project

Future Implementations The design itself is fairly simple Using a robotic arm with four or more servo motors at one time Add a LCD monitor in the circuit to show what is wrong with the program or the devices

Special Thanks Dr. Chandra Vigs Professor Jeff Kilgore

Q & a