Programming of Embedded Systems Uppsala University Spring 2014 Summary of Pan and Tilt project

Similar documents
RC Car Controlled by WiFi with an Android Smartphone

The Mind Project s Iris 1 Robotic Arm. Packing List Assembly instructions

The Mind Project s Iris 1 Robotic Arm. Assembly instructions Step 1

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

RoboSAR Written Report 1

Training Schedule. Robotic System Design using Arduino Platform

Introduction to the VEX Robotics Platform and ROBOTC Software

Categories of Robots and their Hardware Components. Click to add Text Martin Jagersand

MEMS Accelerometer sensor controlled robot with wireless video camera mounted on it

AUTOPILOT CONTROL SYSTEM - IV

UNIT 4 VOCABULARY SKILLS WORK FUNCTIONS QUIZ. A detailed explanation about Arduino. What is Arduino? Listening

Mars Rover: System Block Diagram. November 19, By: Dan Dunn Colin Shea Eric Spiller. Advisors: Dr. Huggins Dr. Malinowski Mr.

VEX Robotics Platform and ROBOTC Software. Introduction

Teleoperated Robot Controlling Interface: an Internet of Things Based Approach

General Description. The TETRIX MAX Servo Motor Expansion Controller features the following:

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

Cortex-M3 based Prepaid System with Electricity Theft Control

Team Project: A Surveillant Robot System

OpenROV. Guide 3 - Electronics. We will now move to the assembly of the electronics that will control the ROV. Written By: OpenROV

I like to call this robot a rover, as I tried to pattern it after NASA s designs. Figure 1-1 shows the general outline of the finished rover.

MECHATRONICS IN A BOX

Ping Pong Trainer. Cal Poly Computer Engineering Senior Project. By Aaron Atamian. Advised by Andrew Danowitz

VOICE CONTROL BASED PROSTHETIC HUMAN ARM

Hardware in the Loop Simulation for Unmanned Aerial Vehicles

Pi Servo Hat Hookup Guide

ENGR 499: Wireless ECG

OWEN Walking Robot Install Guide

A Step Forward in Virtual Reality. Department of Electrical and Computer Engineering

Making Instructions Version 2.1 for Raspberry Pi

Developing a Computer Vision System for Autonomous Rover Navigation

Animatronic Kinect Bear

Programming and Interfacing

Prototype faster and create wirelessly connected interactive objects as easy as making websites

INCLINED PLANE RIG LABORATORY USER GUIDE VERSION 1.3

EF-45 Iris Recognition System

Figure 1. System Block Diagram with Subsystems

Unit level 5 Credit value 15. Introduction. Learning Outcomes

University of Arkansas CSCE Department Capstone I Preliminary Proposal Fall Project Jupiter

Re: ENSC Design Specifications for the ART system, a telepresence system

METAL BLINDS. Deluxe GETTING STARTED OPTIONAL HARDWARE. A few simple tools are required: STANDARD HARDWARE

Team Description Paper: HuroEvolution Humanoid Robot for Robocup 2010 Humanoid League

Implementation of Number Plate Extraction for Security System using Raspberry Pi Processor

Vehicle Detection, Tracking and Counting Objects For Traffic Surveillance System Using Raspberry-Pi

Adafruit's Raspberry Pi Lesson 8. Using a Servo Motor

Low cost underwater exploration vehicle

Automobile Prototype Servo Control

Exercise 3: Sound volume robot

EEL 4914 Electrical Engineering Design (Senior Design) Final Design Report

ESE 350 HEXAWall v 2.0 Michelle Adjangba Omari Maxwell

Cortex-M3 based Prepaid System with Electricity Theft Control

Development and Application of Remote Laboratory for Embedded Systems Design

Team Description Paper: HuroEvolution Humanoid Robot for Robocup 2014 Humanoid League

1. Introduction Block diagram 5

Adafruit Pi Box Plus. Created by Phillip Burgess. Last updated on :38:17 AM UTC

High Altitude Balloon Student Projects

Distributed spectrum sensing in unlicensed bands using the VESNA platform. Student: Zoltan Padrah Mentor: doc. dr. Mihael Mohorčič

Mechatronics. STEAM Clown Production. STEAM Clown & Productions Copyright 2016 STEAM Clown

I plan to build a four-legged robot with these objectives in mind:

Castle Creations, INC.

Logistics. Kinetic Art. Embedded Systems. Embedded Systems and Kinetic Art. Jim Campbell s Algorithm

Embedded Systems and Kinetic Art. CS5968: Erik Brunvand School of Computing. Art4455: Paul Stout Department of Art and Art History.

FLCS V2.1. AHRS, Autopilot, Gyro Stabilized Gimbals Control, Ground Control Station

Controlling Obstacle Avoiding And Live Streaming Robot Using Chronos Watch

STEP BY STEP GUIDE (RASPBERRY PI)

Project 27 Joystick Servo Control

RA-01 Robotic Arm & Controller Manual & User s Guide

Assembly Language. Topic 14 Motion Control. Stepper and Servo Motors

Testing Autonomous Hover Algorithms Using a Quad rotor Helicopter Test Bed

Autonomous Machine To Manufacture PCB and 3-D Design

Devastator Tank Mobile Platform with Edison SKU:ROB0125

A SURVEY ON HCI IN SMART HOMES. Department of Electrical Engineering Michigan Technological University

Low cost, High Capability, Embedded Systems for CNC Education and Research

Signals, Instruments, and Systems W7. Embedded Systems General Concepts and

Requirements Specification Minesweeper

Team Project: A Surveillant Robot System

RF module and Sensing Workshop Proposal. Tachlog Pvt. Ltd.

Implementation of a Self-Driven Robot for Remote Surveillance

Grundlagen der Rechnernetze. Introduction

Instructions to build the Hexapod in plywood

IOT Question Bank. Unit 1. Chapter 1

AlphaBot Assembly Diagram

Specifications.

School of Surveying & Spatial Information Systems, UNSW, Sydney, Australia

Development of a Remotely-Controlled Autofocus System For a Microscope

Motor Driver HAT User Manual

SIMPLE Raspberry Pi VHF TRANSCEIVER & TNC

Preface. The kit is suitable for the Raspberry Pi model B+, 2 model B and 3 model B.

An Operational Test of Adaptive Signal Control. Campbell Road Corridor Richardson, Texas

Design and Application of Architecture of Internet of Things Based on Open Source Hardware

Formation and Cooperation for SWARMed Intelligent Robots

Prototype Realization

DESCRIPTION DOCUMENT FOR WIFI SINGLE DIMMER ONE AMPERE BOARD HARDWARE REVISION 0.3

Assembly Guide Robokits India

University of Florida Department of Electrical and Computer Engineering EEL 5666 Intelligent Machines Design Laboratory GetMAD Final Report

SPHEMO: A Teleoperated SPHErical MObile Robot with Video-streaming Capability

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

Brian Hanna Meteor IP 2007 Microcontroller

Operators Manual Assistive Robotic Device. Michael Khalil and Alon Dagan Team 5

Robotics will be very important for the humanity in the next 10 years and this ebook is an effort to help in this way.

ReVRSR: Remote Virtual Reality for Service Robots

Transcription:

Programming of Embedded Systems Uppsala University Spring 2014 Summary of Pan and Tilt project Björn Forsberg Martin Hagelin Paul Norstöm Maksim Olifer May 28, 2014 1 Introduction The goal of the project was to implement a pan and tilt device, which is used to aim a camera. To implement the pan and tilt device, the embedded system will control the motors that move the camera in each direction. The input will be provided by input via network. The camera stream is directed to the client over an SSH stream. A pan and tilt device with a camera can be used to survey a room or environment without being on site. The movement of the camera allows the system to monitor an area much larger than what is possible with a static camera. The movements can be controlled interactively from the client software. The typical use case for the system is a room indoors. No considerations are made to weatherproof the equipment, and lighting and power is assumed to be reliable. No special assumptions are made about placement of the finished device, but movement should be unrestricted, and since the design doesn t provide 360 coverage a corner or wall position is recommended. 2 Hardware Mechanical rig The mechanical rig consists of a set of plastic arches constructed with a 3D-printer which will hold the servo motors and camera in place. The arches have been custom designed to match the mounting holes of the motors and camera and to make sure that the tilt and pan movements of the camera will have sufficient range of motion. Plastic was chosen for the rig because it is easy to make a prototype with and given the overall 1

low weight of the system the arches will have no trouble supporting the structure. The various parts of the mechanical rig will be joined together with screw and nut. The design for the mechanical rig is presented in Figure 1. Figure 1: The design for the mechanical rig for the Pan and Tilt device. Major hardware platform The ARM11 based PI [Raspberry PI Foundation, 2014] has sufficient processing power to handle video streams directly, making it s ethernet port the primary interface for both user input and output. It has UART and SPI hardware for communication with other components such as the servo controller, and runs the Xenomai realtime extension for Linux. Servos Since movement has to be done in two planes the project requires two servo motors. The type selected is the Hitec HS-322HD [HiTEC, 2002]. This servo has a suitable form-factor, and is controlled with a PWM signal. But in the end it was selected on the basis of availability, since the group had access to a few units. Servo PWM controller A layer of abstraction will be added between the hardware accepting user input, and the servos. This is because the Raspberry PI only has a single PWM output, and we want to keep the option of using a PI as the hardware platform for the project. The servo PWM controller will be implemented on an MSP430 microcontroller [Texas Instruments, 2013] running no operating system. It will communicate with the other hardware over UART, with the option of using UART for more interactive control. Camera 2

The Raspberry Pi Camera Module is used, which is a small HD camera with a fixed focus lens, it has an interface that can be connected directly to a Rapsberry PI. It doesn t run over USB, and gives access to both still images and videostreams. The fact the design is meant to be open means it should be possible to make use of it even if another operating system than Linux is used. 3 Software The software is split into three parts; The server-client interface used to send commands over the network, the real time module which controls the motor movement, and the MSP430, which controls the motors using PWM. An overview of the system can be seen in figure 2. The real time module runs four tasks, one which listens for inputs from the server, which are sent over a real time pipe. The actual movement is controlled by two tasks, one for pan and one for tilt, which provide the smooth movement of the camera to the specified angles. The last task is the queue task, which updates the pan and tilt tasks with the next value from the server. Figure 2: An overview of the Software Architecture for the Pan and Tilt device. 3

4 The finished product A photo of the finished product is presented in Figure 3. Figure 3: The final version of the product. 5 Future work The possible improvements to the current design includes the ability to automatically aim the camera based on sound input. To do this, several microphones would be connected to the system, and used to calculate the direction from which sound originates, and point the camera in that direction. References HiTEC. Hs-322hd deluxe servo, 2002. URL http://hitecrcd.com/products/. Retrieved 2014-04-08. Raspberry PI Foundation. Raspberry pi, 2014. URL http://www.raspberrypi.org. Retrieved 2014-04-11. 4

Texas Instruments. Msp430x2xx family, 2013. URL http://www.ti.com/lsds/ti/microcontroller/16-bit_msp430/overview.page. Retrieved 2014-04-11. 5