PROGRAMMING SERVO MOTORS OF ROBOT ARM TO CONTROLLED DIRECTIONS VIA WII NUNCHUK JOYSTICK

Similar documents
Introducing the itapstick: Video Game USB Mouse Stick for Wii Nunchuk Controllers

Written Report of Robot Design

12/07/2016 Grove Gas Sensor(O₂) Wiki

Grove - Gas Sensor(MQ9)

PEDESTRIAN CRASH MODEL FOR VEHICLE SPEED CALCULATION AT ROAD ACCIDENT

WeatherStation Monitoring for Industrial marine Applications

Algorithm for Line Follower Robots to Follow Critical Paths with Minimum Number of Sensors

A CHOICE MODEL ON TRIP MODE CHAIN FOR INTER-ISLANDS COMMUTERS IN MOLUCCA-INDONESIA: A CASE STUDY OF THE TERNATE ISLAND HALMAHERA ISLAND TRIP

Grove - Gas Sensor (O2)

IBU3 Manual Addendum 1

THE DETERMINATION OF RAINFALL CATCHMENT COEFFICIENT OF HIGH RISE BUILDING

Dynamically Reconfigurable Miniature Golf Course

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

Technology. In the My Files [My Files] submenu you can store all the programs that you have made on the NXT or downloaded from your computer.

living with the lab control of salinity 2012 David Hall

The NXT Generation. A complete learning solution

LX Compass module 3 Electronic compass device User manual

Design of a Microcontroller-Based Pitch Angle Controller for a Wind Powered Generator

YSC-8330 USER MANUAL XI AN TYPICAL INDUSTRIES CO.,LTD.

SOFTWARE FOR CONTROL OF ROBOTIC MANIPULATOR

RELIABILITY ASSESSMENT, STATIC AND DYNAMIC RESPONSE OF TRANSMISSION LINE TOWER: A COMPARATIVE STUDY

Laboratory 2(a): Interfacing WiiMote. Authors: Jeff C. Jensen (National Instruments) Trung N. Tran (National Instruments)

Generation of Robot Motion Based on Measurement of Human Movement. Susumu Sakano 1, Satoru Shoji 1

RG2 Gripper Datasheet Version 1.6

Setting Up the Ingenico isc250 Pinpad via USB

AHE58/59 AC Servo System

Compensator Design for Speed Control of DC Motor by Root Locus Approach using MATLAB

Technical Bulletin, Communicating with Gas Chromatographs

GOLFER. The Golf Putting Robot

ECL Comfort 110, application 131 (valid as of software version 2.00)

AMS 6915 Board mount pressure sensor with digital output (I²C)

Wiimote Visualization Through Particles

VARIABLE AIR FLOW REGULATOR

SCIENTIFIC DATA SYSTEMS, INC. Depth Tension Line Speed Panel. DTLS Manual

CFD ANALYSIS AND COMPARISON USING ANSYS AND STAR-CCM+ OF MODEL AEROFOIL SELIG 1223

01 TM SuperModified Testing with RS485 <> USB

Setting up the Ingenico isc250 Pinpad via USB in Windows 8

COMPUTATIONAL FLUID DYNAMIC ANALYSIS OF AIRFOIL NACA0015

DESIGN OF A POWER AUTONOMOUS SOLAR POWERED LAWN MOWER

SonoMeter 30 Energy Meters

Second Generation Charging Station

ANZAI AZ-733VI. Respiratory Gating System. since 1976

Edge Isolation Tool. Standard Operating Procedure. Version 1.1. Date: Prepared by, Sandeep S S. Department of Electrical Engineering

Software Design of the Stiquito Micro Robot

OFFSHORE WIND ENERGY POTENTIAL ALONG INDIAN COAST

Resonance in Transverse Waves. Regents Physics

TR Electronic Pressure Regulator. User s Manual

In addition to reading this assignment, also read Appendices A and B.

Development of Fish type Robot based on the Analysis of Swimming Motion of Bluefin Tuna Comparison between Tuna-type Fin and Rectangular Fin -

Introduction WELCOME TO LEGO MINDSTORMS EDUCATION

Section Freepoint Service 26.1 FREEPOINT CONTROL PANEL

e.do Gripper Safety requirements, technical features and assembly and integration instructions

1001ICT Introduction To Programming Lecture Notes

215 Liquid Handler Up-Grade Manual

Perfect Game Baseball - msherwood pseudo code backbone Using MVC Convention (Model/View/Controller) With Multimodal I/O

Evolving Gaits for the Lynxmotion Hexapod II Robot

SAPCON. User Manual. Capacitance Continuous Level Indicator. . Introduction. . General Description. . Principle of Operation. .

Along-string pressure, temperature measurements hold revolutionary promise for downhole management

Maneuver Control System for Collision Avoidance Based on Experimental Study

Roller AC Servo System

Trim and Stabilisation systems NEXT GENERATION IN BOAT CONTROL.

The World Of Weather Data

PK-2D Service Manual

Silkrip. ORR Computer. Owner s Manual. Silkrip Motorsports LLC. Rev H 4/13/2017 IMPORTANT CHANGE TO SENSOR WIRING! Tom King

DDR Dive Data Recorder Manual - Rel /12

Biped Walking Robot Control System Design

Lab 2: Superposition of waves on a string

The Design of Electrical Putter Car Moving Robots Based on Microcontroller Control Jie TANG and Xiao-min LIU

Documentation. By Henry Arnold

Speed Control of Horizontal Axis Wind Turbine

Mitos Fluika Pressure and Vacuum Pumps Datasheet

Design, Fabrication and Analysis of Microcontroller Based Bipedal Walking Robot Vaidyanathan.V.T 1 and Sivaramakrishnan.R 2

Visualize Nitrogen Gas Consumption

Ergonomic Handle for a 2DoF Robotic Hand Rehabilitation Device

Sail Racing Instruments. Aspect 40

Implementation of Modern Traffic Light Control System

ACV-10 Automatic Control Valve

Control of Salinity in the Fish Tank ME 121. Tank Pump Sensor. Figure 1 Schematic of flow loop and salinity control scheme for the fish tank.

Computer Aided Drafting, Design and Manufacturing Volume 26, Number 2, June 2016, Page 53. The design of exoskeleton lower limbs rehabilitation robot

MASTEEL FABRICATION EQUIPMENT

TrackMan Operator Training

Oxygen Meter User Manual

This document contains recommendations that may help teams be more successful in preparing for and participating in the FTC World Championship Event.

Position Controller PS312P_LCD_v2.2

NAVAL POSTGRADUATE SCHOOL THESIS

Ref Product Description Price S1315 Logbook ML S1321 Primary ML S1326 Logbook GLE GPS S1328 Logbook GLE 220.

siot-shoe: A Smart IoT-shoe for Gait Assistance (Miami University)

Introduction. The Shearwater Petrel is an advanced technical diving computer for open and closed circuit divers.

GV Standard X-Vent. Setup, Commissioning & Installation Guide

GOLOMB Compression Technique For FPGA Configuration

Ref Product Description Price S1315 Logbook ML S1321 Primary ML S1326 Logbook GLE GPS S1328 Logbook GLE 220.

A4s Operation Manual

An Indian Journal FULL PAPER ABSTRACT KEYWORDS. Trade Science Inc.

STAND alone & p.c. VERSION

ELC7. Bobcat 7 Pin CanBus Electric Control System. Model Number ELC7. Phone: ELC7 08/10/15

SENSAPHONE APPLICATION NOTE. Functions: C Programming, Pump Control, Data Logging

Dimensions [All numbers in brackets are in millimeters.] K4-2 US (supplied) 1/2" Centered (Default)

Improvement of the Cheetah Locomotion Control

Beating Heart Simulator: Oral Report 2. Ashley Whiteside Nicole Rice Jacob Bauer

Electronic gas volume corrector model DGVC-04

Transcription:

International Journal of Civil Engineering and Technology (IJCIET) Volume 9, Issue 11, November 2018, pp. 1041 1047, Article ID: IJCIET_09_11_098 Available online at http://www.iaeme.com/ijciet/issues.asp?jtype=ijciet&vtype=9&itype=10 ISSN Print: 0976-6308 and ISSN Online: 0976-6316 IAEME Publication Scopus Indexed PROGRAMMING SERVO MOTORS OF ROBOT ARM TO CONTROLLED DIRECTIONS VIA WII NUNCHUK JOYSTICK Intisar Mohsin Saadoon Department of Computer Science, Mustansiriyah University, Baghdad, Iraq Israa M.Abdal Ameer Al-Khafaji Department of Computer Science, Mustansiriyah University, Baghdad, Iraq Khalida Ali Ahmed Department of Computer Science, Mustansiriyah University, Baghdad, Iraq ABSTRACT As we know that the most famous parts of the industry Robort are a robotic arm.a robotic arm is one of the types of a mechanical arm. It is usually programmed to execute particular functions. In this a research project, we are studying the connection of the robotic arm via the Wii Nunchuk to control the moves of the robotic arm with Arduino (UNO). The goal of this project is to control the four directions (left, right, up & down) and open - close the hands of the robotic arm by using two buttons (C&Z). Key words: Wii Nunchuk, robotic arm, Arduino Cite this Article: Intisar Mohsin Saadoon, Israa M.Abdal Ameer Al-Khafaji, Khalida Ali Ahmed, Programming Servo Motors of Robot Arm to Controlled Directions via Wii Nunchuk Joystick, International Journal of Civil Engineering and Technology (IJCIET) 9(11), 2018, pp. 1041 1047. http://www.iaeme.com/ijciet/issues.asp?jtype=ijciet&vtype=9&itype=11 1. INTRODUCTION The robotic arm is made up of four metal segments, joined by three knuckles. The Wii Nunchuk controls the robotic arm by rotating individual servo motors connected to each joint to move the robotic arm very precisely. http://www.iaeme.com/ijciet/index.asp 1041 editor@iaeme.com

Intisar Mohsin Saadoon, Israa M.Abdal Ameer Al-Khafaji, Khalida Ali Ahmed The mains objective of this project was to control the robotic arm to move the four directions, open and close the hands of the robotic arm by using Wii Nunchuk with Arduino UNO. 2. ARDUINO UNO The Arduino is open-source have ARM processor, can be configured by using the software in a development environment, used to collect and analyze the data to use it in real-time or stored for future analyze. 3. WII NUNCHUK The Nunchuk uses I2C as a transportation protocol. It has a two-axis joystick, two buttons (C&Z) and accelerometer sensible movements to all three dimensions. http://www.iaeme.com/ijciet/index.asp 1042 editor@iaeme.com

Programming Servo Motors of Robot Arm to Controlled Directions via Wii Nunchuk Joystick 3.1. Wii Nunchuk Interface The Wii Nunchuk connect with six pins as follows: The frequency used to communicate with the Wii Nunchuk is100khz. 3.2. Wii Nunchuk Output The Wii Nunchuk is a slave I2C bus device as a transportation protocol that outputs six bytes of data as follows: 4. SERVO MOTOR The internal servo motor of a "mostly controlled" control circuit. When the engine gives pulses at a certain time constant, the motor rotates to the angle according to this time constant. In each type, the amount of fixed time varies from engine to engine depending on the manufacturer and technical bulletin that comes with the servo motor. http://www.iaeme.com/ijciet/index.asp 1043 editor@iaeme.com

Intisar Mohsin Saadoon, Israa M.Abdal Ameer Al-Khafaji, Khalida Ali Ahmed Servo Motor 5. HARDWARE REQUIRED Arduino UNO Wii Nunchuk x1 (Master) Metal segments x4 Servo motors x3 (Slave) USB Cable for Arduino Power supply http://www.iaeme.com/ijciet/index.asp 1044 editor@iaeme.com

Programming Servo Motors of Robot Arm to Controlled Directions via Wii Nunchuk Joystick Breadboard Jumper wires 6. WII NUNCHUK /ROBOTIC ARM INTERFACE Wii Nunchuk / robotic arm interface is a system that measures Nunchuk activity and transforms this activity into outputs (robotic arm) by transportation protocol 7. CODING #include "Wire.h" #include "Servo.h" int x_axis; int y_axis; int z_axis; Servo servolr; Servo servoud; Servo servoro; static uint8_t nunchuckza_buf[6]; void setup() Serial.begin(19200); servolr.attach(9); servoro.attach(10); servoud.attach(11); nunchuckza_setpowerpins(); nunchuckza_init(); Serial.print ("Finished setup\n"); void loop() nunchuckza_get_data(); x_axis = map(nunchuckza_buf[0], 0, 255, 180, 0); http://www.iaeme.com/ijciet/index.asp 1045 editor@iaeme.com

Intisar Mohsin Saadoon, Israa M.Abdal Ameer Al-Khafaji, Khalida Ali Ahmed y_axis = map(nunchuckza_buf[1], 0, 265, 0, 180); if ((nunchuckza_buf[5] >> 1) & 1) z_axis=map(nunchuckza_buf[5], 43, 44, 180, 0); else z_axis=map(nunchuckza_buf[5], 44, 45, 0, 180); servolr.write(x_axis); servoud.write(y_axis); servoro.write(z_axis); x_axis =0; y_axis =0; static void nunchuckza_setpowerpins() #define pwrpin PORTC3// #define gndpin PORTC2// DDRC = _BV(pwrpin) _BV(gndpin);// PORTC &=~ _BV(gndpin); PORTC = _BV(pwrpin); delay(101); void nunchuckza_init() Wire.begin(); Wire.beginTransmission(0x52); Wire.write(0x40); Wire.write(0x00); Wire.endTransmission(); void nunchuckza_send_request() Wire.beginTransmission(0x52); Wire.write(0x00); Wire.endTransmission(); int nunchuckza_get_data() http://www.iaeme.com/ijciet/index.asp 1046 editor@iaeme.com

Programming Servo Motors of Robot Arm to Controlled Directions via Wii Nunchuk Joystick int cnt=0; Wire.requestFrom (0x52, 6); // while ((Wire.available ())) nunchuckza_buf[cnt] = (Wire.read() ^ 0x17) + 0x17;// cnt++; nunchuckza_send_request(); if (cnt >= 5) return 1; return 0; 8. CONCLUSIONS The objective of the project is using the robotic arm in industrial works and dangerous duty by controlling the directions (left, right, up & down) and open - close the hands of the robotic arm by using two buttons (C&Z). REFERENCES [1] Erin Sullivan, Wii Nunchuk Interface.PDF https://support.activision.com/servlet/servlet. [2] Using wii nunchuk with Arduino Robert Eisele Engineer, Systems Architect and DBA December 19th, 2016 [3] Arduino Servo https://www.arduino.cc/en/reference/servo [4] Servomotor Wikipedia https://en.wikipedia.org/wiki/servomotor [5] NUNCHUK CONTROLLED ROBOTIC ARM (WITH ARDUINO) By IgorF2 in TechnologyRobots Feb. 20, 2018 [6] Control Servos using Wii NunchukMark Tashiro. Hackster.io February 27, 2016 http://www.iaeme.com/ijciet/index.asp 1047 editor@iaeme.com