October 20-24. Robot Wars Andy Shiers Jason Rivers Morten Kromberg Dyalog’13.

Slides:



Advertisements
Similar presentations
Left to Right: Michael Kelton, Ethan Hall, Greg Wegman, Vashisht Lakhmani.
Advertisements

IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Robotics Club, Snt Council2 The 3 Schools of Robotics: Mechanical Design – Types of motors – Material selection –
Autonomous Quadrocopter Proposal Brad Bergerhouse, Nelson Gaske, Austin Wenzel Dr. Malinowski.
OutLine Overview about Project Wii Robot Escaper Robot Problems and Solutions Demo.
Initial Position Orientation Tracking System (IPOTS) Group Members: Keiichi McGuireHenry Pham Marc TakamoriScott Spiro.
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
FOLLOWER SENSORS AND ACTUATORS EE 552 INTSTRUCTOR :Dr MOHAN KRISNAN BY MOHAMMED KASHIF IQBAL ANESH BODDAPATTI UNIVERSITY OF DETROIT MERCY.
Fall Senior Project Presentation Rev :22.00 By: Salem, Ray M. Date: December Title: Micro Mouse Control Systems Topics: Robotics, System.
Electrical and Computer Engineering Personal Heads-Up Display Ivan Bercovich Radu-Andrei Ivan Jeff Little Felipe Vilas-Boas Faculty: Dr. Tilman Wolf Preliminary.
Introduction.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
Engineering 1040: Mechanisms & Electric Circuits Fall 2011 Introduction to Embedded Systems.
Robot design-- Four legged walking robot Instructors: Dr. A
system design Final report
Little arduino microcontrollers Meghan Jimenez 12 February 2014.
Embedded Microcomputer Systems Andrew Karpenko 1 Prepared for Technical Presentation February 25 th, 2011.
Microcontroller Hands-on Workshop #3 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers November 7, 2009.
RC CAR CONTROLLER BASED ON INTEL GALILEO SOC PLATFORM Nadav Shiloach Sagi Sabag Supervisor: Idan Shmuel Spring 2014 One Semester Project PROJECT’S ENDING.
Daniel Pickem and Rowland O’Flaherty 12/04/2012 Mechatronics (ME 6405) Student Lecture On Arduinos *Some slides courtesy of Eoin Brazil
The World Leader in High Performance Signal Processing Solutions Robotics on the Blackfin Processor Dr. Fred Martin Assistant Professor, Computer Science.
Typical Microcontroller Purposes
Arduino. What is it? A open-source software suite and single-board microcontroller. Allows easy and affordable prototyping of microcontroller applications.
IEEE Robotics - Requirements Presentation Presented by Jason Abbett and Devon Berry.
Arduino 101 Instructors: Ted Markson / Jim Sweeney.
Raspberry Pi: Presented by: Lakeasha Williams & Venessa Woodson EECE416 Microcomputer Howard University Dr. Charles Kim.
Lemming -Bot Electrical Engineering Masters Student July 5, 2007 By Jason Morejon.
Phong Le (EE) Josh Haley (CPE) Brandon Reeves (EE) Jerard Jose (EE)
Remote Control of Mobile Robotic Vehicle Via Web- Interface Douglas Bailey Computer Engineering Harding University.
IEEE Robotics - Requirements Presentation Presented by Jason Abbett and Devon Berry.
Behavior Control for Robotic Exploration of Planetary Surfaces Written by Erann Gat, Rajiv Desai, Robert Ivlev, John Loch and David P Miller Presented.
Operating System Principles And Multitasking
IR Communication Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
RoboNova 1.
Mid-Semester Presentation Design I October 3, 2013.
Smart Lens Robot William McCombie IMDL Spring 2007.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
INTERRUPTS. Topics to be discussed  8088/86 Hardware Interrupts pins 8088/86 Hardware Interrupts pins   Pin description Pin description.
Microcontroller basics Embedded systems for mortals.
 Definition of Micro-Controllers  Comparison between types of Micro- Controllers  Pin Identification of ATMEGA32.
We thank the Office of Research and Sponsored Programs for supporting this research, and Learning & Technology Services for printing this poster. Miniature.
Istituto Tecnico Industriale A.Monaco EURLAB Moving a robot simple example program to control a DC-Motor Next - Press the button (left)
The World Leader in High Performance Signal Processing Solutions Linux Industrial I/O Subsystem Open Platform Solutions Michael Hennerich.
CEng3361/18 CENG 336 INT. TO EMBEDDED SYSTEMS DEVELOPMENT Spring 2007 Recitation 01.
Memory Mapped IO (and the CerfBoard). The problem How many IO pins are available on the 8051? What if you are using interrupts, serial, etc…? We want.
1 Microcontrollers. 2 Programmers work in the virtual world Machinery works in the physical world Microcontrollers connect the virtual and physical world.
NASA Robotic Mining Competition. Controllers Arduino Mega - controls motors and sensors Raspberry Pi - Linux based computer that has the autonomous.
PICAXE Microcontroller
simple example program to control a DC-Motor
Internet of Things (internet of everything?)
Chapter A - The Raspberry Pi Computer
Automatic human detector garbage can.
Monitoring Robot Prepared by: Hanin Mizyed ,Abdalla Melhem
Remote Sensor Interface for IoT
IR Control Materials taken from a variety of sources including IR Remote for the Boe-Bot by Andy Lindsay.
Personal Heads-Up Display
Creating Robotic Platforms
JC Bailey Rhodes University
Serial Data Hub (Proj Dec13-13).
Ethan Hall Michael Kelton Greg Wegman Vashisht Lakhmani
CSCI1600: Embedded and Real Time Software
Smart Lens Robot William McCombie IMDL Spring 2007.
CSCI1600: Embedded and Real Time Software
Intelligent HVAC Control
UNIT 11: RC-SERVOMOTOR CONTROL
Raspberry Pi Hardware By: Mike Kwiatkowski.
05 | Integrating Advanced Sensors and Shields
Presentation transcript:

October 20-24

Robot Wars Andy Shiers Jason Rivers Morten Kromberg Dyalog’13

C3Pi Robot Wars! 3 Raspberry Pi Motor Controller Ard- uino

Raspberry Pi Educational Computer, price: €25 Over 10,000 1,000,000 manufactured Model A: ~500mw, 256MB RAM, 1 USB 32-bit ARM Linux Mostly programmed in Python, but now... Robot Wars! 4

5

Motor Controller 2 motors 1 power level analog pin for each motor 1 forward, 1 back digital pin (6 pins to control) Robot Wars! 6

Arduino Raspberry Pi & APL cannot easily generate ”Pulse Width Modulation” etc in real time Arduino (Italian ”Open Source Hardware” project) is used as a ”front end processor” A dozen I/O pins, programmable in C Running a simple ”command interpreter”, receiving commands via the I2C bus Robot Wars! 7

I2C Bus Pioneered by Philips in TVs in 1980’s Common BUS which allows a master and several ”slaves” to share 2 wires The most widely used bus for connecting devices at ”reasonable” speed Robot Wars! 8

Pi → Arduino → Motor+Sensors Pi I2C Bus Arduino I/O Pins Robot Wars! 9 Infrared Sensor Ultra- Sonic Sensor (”Sonar”) Servo Motor to Turn Sonar Power Motor/Wheels Robot Hardware Overview

Robot Wars!10

Arduino Robot Software Overview Robot Wars!11 ArdCom (C) Raspberry Pi I2C.so (C) ArdCom (APL) DyaBot (APL) Bot.Speed←¯10 10 Send 'W' WriteBytes 4 ( ) 255

Software Required Dyalog APL 13.2 for ARM Linux running on the Raspberry Pi –Available free from Dyalog since mid-May (use standard Linux apt-get to install) APL to I2C Interface Library Arduino Command Interpreter DyaBot and ArdCom APL Classes – Recommended: MiServer – Robot Wars! 12

Robot Wars! 13

Low Points Broken Wires Debugging Arduino C If you use a servo, one of the pins can no longer be used as an analog output Robot Wars!14

Low Points... This short video shows what can happen to a poor abused little Dyabot when it returns from trans-continental expeditions...short video Robot Wars!15

SLAM Simultaneous Localization And Mapping (Excerpt of a TED Talk by Vijay Kumar) fly_and_cooperate.html?quote=1563 relevant material starts 12 minutes into Vijay’s talk Robot Wars!16

Our Goal Write 2D ”Simultanous Localization and Mapping” (SLAM) software in APL Sensors –Infra-red collision detector –Sonar on a Servo for mapping distance to objects –Accelerometer / Gyro / Compass for orientation –Camera Robot Wars! 17

Plans Keep working towards 2D Slam –Accelerometer & Gyro is next Have some fun on the way there Blog about it: –Project description and instructions on how to build your own robot at: Robot Wars!18

Some High Points The Camera! ⎕ SH 'raspistill -rot 90 -h 60 -w 80 -t 0 -e bmp - o ahead.bmp‘ ⍝ Open Native File tn←'ahead.bmp' ⎕ NTIE 0 ⍝ Read 4 Int32s from offset 10 (offset hdrsize width height)← ⎕ NREAD tn ⍝ Read data as 1-byte characters data← ⎕ NREAD tn 80 (width×height×3) offset data← ⎕ UCS(height width 3) ⍴ data ⍝ Ints Robot Wars!19

Edge Detection ∇ r←kernel AK data;shape ⍝ Apply Kernel shape← ⍴ kernel r←(1-shape)↓ ⊃ +/,kernel×(¯1+ ⍳ 1↑shape) ∘. ⊖ (¯1+ ⍳ 1↓shape) ∘. ⌽⊂ data ∇ EdgeDetectAll ⍝ 3x3 ”kernel” ¯1 ¯1 ¯1 ¯1 8 ¯1 ¯1 ¯1 ¯1 ⍝ Apply Kernel to r, g, b separately edges←EdgeDetectAll ∘ AK¨ ⊂ [1 2]rgb ⍝ Edge if any r, g or b result is >75% of original edges← ∨ /(↑[0.5]edges)>0.75×1 1↓¯1 ¯1↓rgb Robot Wars!20

Staying On The Table Robot Wars!21 This short video demonstrates the “DyaBot” driving on a dinner table – where the slightest navigational error could mean a 3-foot plunge and certain death!short video

Live Demo! Robot Wars!22

GyroBot MiServer Page Robot Wars!23

t Robot Wars!24

Follow the adventure at... Robot Wars!25