NewPing sonar(trig_pin, ECHO_PIN, MAX_DISTANCE); // sets up sensor library to use the correct pins to measure distance.

Size: px
Start display at page:

Download "NewPing sonar(trig_pin, ECHO_PIN, MAX_DISTANCE); // sets up sensor library to use the correct pins to measure distance."

Transcription

1 #include <Servo.h> #include <NewPing.h> #define TRIG_PIN A4 // Pin A4 on the Arduino Sensor Shield #define ECHO_PIN A5 // Pin A5 on the Arduino Sensor Shield #define MAX_DISTANCE 200 // sets maximum useable sensor measuring distance to 200cm #define MAX_SPEED 180 // sets speed of DC traction motors to 180/256 or about 70% of full speed - to keep power drain down. #define MAX_SPEED_OFFSET 20 // this sets offset to allow for differences between the DC traction motors #define COLL_DIST 10 // sets distance at which robot stops and reverses to 10cm #define TURN_DIST COLL_DIST+25 // sets distance at which robot veers away from object (not reverse) to 25cm (10+15) NewPing sonar(trig_pin, ECHO_PIN, MAX_DISTANCE); // sets up sensor library to use the correct pins to measure distance. //Assign digital pins used to drive the motors int ENA=5;//connected to Arduino's port 5(output pwm) int IN1=2;//connected to Arduino's port 2 int IN2=3;//connected to Arduino's port 3 int ENB=6;//connected to Arduino's port 6(output pwm) int IN3=4;//connected to Arduino's port 4 int IN4=7;//connected to Arduino's port 7 Servo myservo; // create servo object to control a servo int pos = 0; // this sets up variables for use in the sketch (code) int curdist = 0; //Current distance int maxdist = 0; //Maximum distance from a sweep of pings int maxpos = 0; //Angle at which maximum distance was detected. String motorset = ""; int speedset = 0; // SETUP LOOP void setup() //Serial.begin(115200); // Open serial monitor at baud to see ping results pinmode(ena,output);//output pinmode(enb,output); pinmode(in1,output); pinmode(in2,output); pinmode(in3,output); pinmode(in4,output); digitalwrite(ena,low); digitalwrite(enb,low);//stop driving digitalwrite(in2,low);//setting motora's direction digitalwrite(in4,high);//setting motorb's direction myservo.attach(9); // attaches the servo on pin 9 myservo.write(90); // tells the servo to position at 90-degrees ie. facing forward. delay(2000); // delay for two seconds lookaround(); //identify furthest object and direction setcourse(); //off we go. //

2 // MAIN LOOP void loop() checkforward(); // check robot is moving forward checkpath(); // set ultrasonic sensor to scan for any possible obstacles // void checkpath() myservo.write(144); // set servo to face left 54-degrees from forward delay(100); // wait 100ms for servo to reach position for(pos = 144; pos >= 36; pos-=18) // loop to sweep the servo (& sensor) from 144deg left to 18deg right at 18deg intervals. myservo.write(pos); // tell servo to go to position in variable 'pos' delay(60); // wait 60ms for servo to get to position curdist = readping(); // get the current distance to any object in front of sensor //Serial.println (curdist); if (curdist < COLL_DIST) // if the current distance to object is less than the collision distance checkcourse(); // run the checkcourse function break; // jump out of this loop if (curdist < TURN_DIST) // if current distance is less than the turn distance changepath(); // run the changepath function // void lookaround() //have a look around and identify at what angle is the furthest ping. Only run when staionary. maxdist = 0; maxpos= 144; myservo.write(144); // set servo to face left 54-degrees from forward delay(100); // wait 100ms for servo to reach position for(pos = 144; pos >= 36; pos-=18) // loop to sweep the servo (& sensor) from 144deg left to 18deg right at 18deg intervals. myservo.write(pos); // tell servo to go to position in variable 'pos' delay(60); // wait 60ms for servo to get to position curdist = readping(); // get the current distance to any object in front of sensor //Serial.println (curdist); if (curdist > maxdist) maxdist = curdist; maxpos=pos; void setcourse() // have a look around turn towards the furthest object and then move forward lookaround (); if (maxpos <= 54) turnright(); // turn right as furthest object was to the right if (maxpos >54 && maxpos < 90) veerright(); // veer right as furthest object is forward and slightly right if (maxpos >= 126) turnleft(); // turn left as furthest object was to the left if (maxpos >= 90 && maxpos < 126) veerleft(); //veer left as furthest object is ahead or slightly to the Left void checkcourse() // we're about to hit something so stop, move back a bit, stop and work out best course movestop(); delay(100); movebackward(); delay(600); //move backwards for 600ms movestop(); setcourse();

3 void changepath() if (pos < 90) veerleft(); // if current pos of sensor is less than 90deg, then object is on the right hand side so veer left if (pos >= 90) veerright(); // if current pos of sensor is >= than 90deg, then object is on the left hand side or ahead so veer right int readping() // read the ultrasonic sensor distance delay(70); unsigned int us = sonar.ping(); int cm = us/us_roundtrip_cm; return cm; // Motor direction functions. MotorA is on the right and MotorB on the left. void checkforward() // make sure both motors going forward. if (motorset=="forward") digitalwrite(in2,low);//setting motora's direction FWD digitalwrite(in4,high);//setting motorb's direction FWD void checkbackward() // make sure both motors going backward if (motorset=="backward") digitalwrite(in1,low); digitalwrite(in2,high);//setting motora's direction BACK digitalwrite(in3,high); digitalwrite(in4,low);//setting motorb's direction BACK void checkright() // Motor A BACK and Motor B FWD if (motorset=="right") digitalwrite(in1,low); digitalwrite(in2,high);//setting motora's direction BACK digitalwrite(in4,high);//setting motorb's direction FWD void checkleft() // Motor A FWD and Motor B Back if (motorset=="left") digitalwrite(in2,low);//setting motora's direction FWD digitalwrite(in3,high); digitalwrite(in4,low);//setting motorb's direction BACK

4 // // The above functions simply set the L298 IN1,2,3,&4 pins for the required Motor direction void movestop() // stop the motors digitalwrite(ena,low); digitalwrite(enb,low);//stop driving - void moveforward() motorset = "FORWARD"; checkforward(); for (speedset = 140; speedset < MAX_SPEED; speedset +=2) // slowly bring the speed up analogwrite(ena,speedset);//start driving motora analogwrite(enb,speedset+max_speed_offset);//start driving motorb delay(5); void movebackward() motorset = "BACKWARD"; checkbackward(); for (speedset = 140; speedset < MAX_SPEED; speedset +=2) // slowly bring the speed up analogwrite(ena,speedset);//start driving motora analogwrite(enb,speedset+max_speed_offset);//start driving motorb delay(5); void turnright() motorset = "RIGHT"; checkright(); delay(400); // run motors this way for 400ms moveforward (); - void turnleft() motorset = "LEFT"; checkleft(); delay(400); // run motors this way for 400ms moveforward(); - void veerright() // veering right motorset = "RIGHT"; checkright(); delay(300); // run motors this way for 300ms

5 moveforward (); void veerleft() // veering left motorset = "LEFT"; checkleft(); delay(300); // run motors this way for 300ms moveforward();

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board

Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Eric Mitchell April 2, 2012 Application Note: Control of a 180 Servo Motor with Arduino UNO Development Board Abstract This application note is a tutorial of how to use an Arduino UNO microcontroller to

More information

Arduino Lesson 16. Stepper Motors

Arduino Lesson 16. Stepper Motors Arduino Lesson 16. Stepper Motors Created by Simon Monk Last updated on 2013-11-22 07:45:14 AM EST Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Arduino Code Stepper Motors Other

More information

ANDROID BASED FARM AUTOMATION USING GR-SAKURA

ANDROID BASED FARM AUTOMATION USING GR-SAKURA ANDROID BASED FARM AUTOMATION USING GR-SAKURA INTRODUCTION AND MOTIVATION With the world s population growing day by day, and land resources remaining unchanged, there is a growing need in optimization

More information

Microcontroller Programming Beginning with Arduino. Charlie Mooney

Microcontroller Programming Beginning with Arduino. Charlie Mooney Microcontroller Programming Beginning with Arduino Charlie Mooney Microcontrollers Tiny, self contained computers in an IC Often contain peripherals Different packages availible Vast array of size and

More information

How To Control A Car With A Thermostat

How To Control A Car With A Thermostat :» : :.:35152, 2013 2 5 1: 6 1.1 6 1.2 7 1.3 7 1.4 7 1.5 8 1.6 8 1.7 10 1.8 11 1.9 11 2: 14 2.1 14 2.2 14 2.2.1 14 2.2.2 16 2.2.3 19 2.2.4 20 2.2.5 21 2.2.6 Reed Relay 23 2.2.7 LCD 2x16 5VDC 23 2.2.8 RGB

More information

Ultrasonic Distance Measurement Module

Ultrasonic Distance Measurement Module Ultrasonic Distance Measurement Module General Description Distance measurement sensor is a low cost full functionality solution for distance measurement applications. The module is based on the measurement

More information

Arduino Shield Manual

Arduino Shield Manual Arduino Shield Manual Version 1.4 www.dfrobot.com Copyright 2010 by DFRobot.com Table of Contents Arduino I/O Expansion Shield... 4 Introduction... 4 Diagram... 4 Sample Code... 4 Arduino Motor Shield...

More information

Arduino Lesson 14. Servo Motors

Arduino Lesson 14. Servo Motors Arduino Lesson 14. Servo Motors Created by Simon Monk Last updated on 2013-06-11 08:16:06 PM EDT Guide Contents Guide Contents Overview Parts Part Qty The Breadboard Layout for 'Sweep' If the Servo Misbehaves

More information

Specification: 1 Specification

Specification: 1 Specification Arduino Ultrasonic Range Detection Sensor A guide to using the Arduino Ultrasonic Range Detection Sensor with Arduino in order to calculate distances from objects. In this case I m also altering the output

More information

Arduino Lesson 13. DC Motors. Created by Simon Monk

Arduino Lesson 13. DC Motors. Created by Simon Monk Arduino Lesson 13. DC Motors Created by Simon Monk Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Arduino Code Transistors Other Things to Do 2 3 4 4 4 6 7 9 11 Adafruit Industries

More information

Lecture 7: Programming for the Arduino

Lecture 7: Programming for the Arduino Lecture 7: Programming for the Arduino - The hardware - The programming environment - Binary world, from Assembler to C - - Programming C for the Arduino: more - Programming style Lect7-Page1 The hardware

More information

What s going on over there?

What s going on over there? What s going on over there? By Mary Mossey and Darshana Salvi Video demonstration: http://www.youtube.com/watch?v=8 AyQK32Lk Abstract: In this project, we propose an interactive sculpture to be installed

More information

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015

Modern Robotics, Inc Core Device Discovery Utility. Modern Robotics Inc, 2015 Modern Robotics, Inc Core Device Discovery Utility Modern Robotics Inc, 2015 Version 1.0.1 October 27, 2015 Core Device Discovery Application Guide The Core Device Discovery utility allows you to retrieve

More information

Arduino Lesson 5. The Serial Monitor

Arduino Lesson 5. The Serial Monitor Arduino Lesson 5. The Serial Monitor Created by Simon Monk Last updated on 2013-06-22 08:00:27 PM EDT Guide Contents Guide Contents Overview The Serial Monitor Arduino Code Other Things to Do 2 3 4 7 10

More information

Arduino Shield Manual

Arduino Shield Manual Arduino Shield Manual Version 1.5 www.dfrobot.com Copyright 2010 by DFRobot.com Table of Contents Table of Contents... 2 Arduino I/O Expansion Shield... 4 Introduction... 4 Diagram... 4 Sample Code...

More information

TETRIX Add-On Extensions. Encoder Programming Guide (ROBOTC )

TETRIX Add-On Extensions. Encoder Programming Guide (ROBOTC ) Introduction: In this extension, motor encoders will be added to the wheels of the Ranger Bot. The Ranger Bot with Encoders will be programmed to move forward until it detects an object, turn 90, and move

More information

Home Security System for Automatic Doors

Home Security System for Automatic Doors ABDUL S. RATTU Home Security System for Automatic Doors Capstone Design Project Final Report Spring 2013 School of Engineering The State University of New Jersey, USA May 1st, 2013 ECE 468 Advisor: Prof.

More information

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide

Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Data Acquisition Module with I2C interface «I2C-FLEXEL» User s Guide Sensors LCD Real Time Clock/ Calendar DC Motors Buzzer LED dimming Relay control I2C-FLEXEL PS2 Keyboards Servo Motors IR Remote Control

More information

Arduino Motor Shield (L298) Manual

Arduino Motor Shield (L298) Manual Arduino Motor Shield (L298) Manual This DFRobot L298 DC motor driver shield uses LG high power H-bridge driver Chip L298P, which is able to drive DC motor, two-phase or four phase stepper motor with a

More information

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller

cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller cs281: Introduction to Computer Systems Lab08 Interrupt Handling and Stepper Motor Controller Overview The objective of this lab is to introduce ourselves to the Arduino interrupt capabilities and to use

More information

Programming the Arduino

Programming the Arduino Summer University 2015: Programming the Arduino Alexander Neidhardt (FESG) neidhardt@fs.wettzell.de SU-Arduino-Prog-Page1 Programming the Arduino - The hardware - The programming environment - Binary world,

More information

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205] Users Manual Robokits India info@robokits.co.in http://www.robokitsworld.com Page 1 Bluetooth + USB 16 Servo Controller is used to control up to

More information

Connecting Arduino to Processing a

Connecting Arduino to Processing a Connecting Arduino to Processing a learn.sparkfun.com tutorial Available online at: http://sfe.io/t69 Contents Introduction From Arduino......to Processing From Processing......to Arduino Shaking Hands

More information

Using Arduino Microcontrollers to Sense DC Motor Speed and Position

Using Arduino Microcontrollers to Sense DC Motor Speed and Position ECE480 Design Team 3 Using Arduino Microcontrollers to Sense DC Motor Speed and Position Tom Manner April 4, 2011 page 1 of 7 Table of Contents 1. Introduction ----------------------------------------------------------

More information

Electronic Brick of Current Sensor

Electronic Brick of Current Sensor Electronic Brick of Current Sensor Overview What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared

More information

Lab 6 Introduction to Serial and Wireless Communication

Lab 6 Introduction to Serial and Wireless Communication University of Pennsylvania Department of Electrical and Systems Engineering ESE 111 Intro to Elec/Comp/Sys Engineering Lab 6 Introduction to Serial and Wireless Communication Introduction: Up to this point,

More information

GM862 Arduino Shield

GM862 Arduino Shield User s Manual GM862 Arduino Shield Rev. 1.3 MCI-MA-0063 MCI Electronics Luis Thayer Ojeda 0115. Of. 402 Santiago, Chile Tel. +56 2 3339579 info@olimex.cl MCI Ltda. Luis Thayer Ojeda 0115. Of. 402 Santiago,

More information

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM

Theory and Practice of Tangible User Interfaces. Thursday Week 2: Digital Input and Output. week. Digital Input and Output. RGB LEDs fade with PWM week 02 Digital Input and Output RGB LEDs fade with PWM 1 Microcontrollers Output Transducers actuators (e.g., motors, buzzers) Arduino Input Transducers sensors (e.g., switches, levers, sliders, etc.)

More information

Arduino Lesson 1. Blink

Arduino Lesson 1. Blink Arduino Lesson 1. Blink Created by Simon Monk Last updated on 2015-01-15 09:45:38 PM EST Guide Contents Guide Contents Overview Parts Part Qty The 'L' LED Loading the 'Blink' Example Saving a Copy of 'Blink'

More information

IR Communication a learn.sparkfun.com tutorial

IR Communication a learn.sparkfun.com tutorial IR Communication a learn.sparkfun.com tutorial Available online at: http://sfe.io/t33 Contents Getting Started IR Communication Basics Hardware Setup Receiving IR Example Transmitting IR Example Resources

More information

Programming the VEX Robot

Programming the VEX Robot Preparing for Programming Setup Before we can begin programming, we have to set up the computer we are using and the robot/controller. We should already have: Windows (XP or later) system with easy-c installed

More information

Servo Info and Centering

Servo Info and Centering Info and Centering A servo is a mechanical motorized device that can be instructed to move the output shaft attached to a servo wheel or arm to a specified position. Inside the servo box is a DC motor

More information

How To Program An Nxt Mindstorms On A Computer Or Tablet Computer

How To Program An Nxt Mindstorms On A Computer Or Tablet Computer NXT Generation Robotics Introductory Worksheets School of Computing University of Kent Copyright c 2010 University of Kent NXT Generation Robotics These worksheets are intended to provide an introduction

More information

Basic Pulse Width Modulation

Basic Pulse Width Modulation EAS 199 Fall 211 Basic Pulse Width Modulation Gerald Recktenwald v: September 16, 211 gerry@me.pdx.edu 1 Basic PWM Properties Pulse Width Modulation or PWM is a technique for supplying electrical power

More information

1 of 5 12/31/2009 11:51 AM

1 of 5 12/31/2009 11:51 AM of 5 2/3/29 :5 AM 29 May 29 L298 Hbridge meets Arduino mega Filed under Sketch I ve recently purchased a L298 Hbridge to help me help arduino help a remote controlled car think by itself and move. Does

More information

Dr Robot C# Advance Sputnik Demo Program

Dr Robot C# Advance Sputnik Demo Program 25 Valleywood Drive, Unit 20 Markham, Ontario, L3R 5L9, Canada Tel: (905) 943-9572 Fax: (905) 943-9197 Support@DrRobot.com Dr Robot C# Advance Sputnik Demo Program Version: 1.0.0 June 2008-1 - Copyright

More information

Driver Installation and Hyperterminal Operation of iload Digital USB Sensors

Driver Installation and Hyperterminal Operation of iload Digital USB Sensors Driver Installation and Hyperterminal Operation of iload Digital USB Sensors Driver Installation Insert the iload Digital USB Driver CD OR the LoadVUE or LoadVUE Lite CD into your computer s drive. If

More information

Introduction to Arduino

Introduction to Arduino Introduction to Arduino // Basic Arduino reference sheet: Installation: Arduino: http://www.arduino.cc/en/guide/homepage Fritzing: http://fritzing.org/download/ Support: Arduino: http://www.arduino.cc,

More information

RB-See-211. Seeedstudio Grove 6-15V, 2A Dual I2C Motor Driver. Grove - I2C Motor Driver. Introduction

RB-See-211. Seeedstudio Grove 6-15V, 2A Dual I2C Motor Driver. Grove - I2C Motor Driver. Introduction RB-See-211 Seeedstudio Grove 6-15V, 2A Dual I2C Motor Driver Grove - I2C Motor Driver Introduction The Twig I2C motor driver is a new addition to the TWIG series with the same easy-to-use interface. Its

More information

TUTORIAL FOR INITIALIZING BLUETOOTH COMMUNICATION BETWEEN ANDROID AND ARDUINO

TUTORIAL FOR INITIALIZING BLUETOOTH COMMUNICATION BETWEEN ANDROID AND ARDUINO TUTORIAL FOR INITIALIZING BLUETOOTH COMMUNICATION BETWEEN ANDROID AND ARDUINO some pre requirements by :-Lohit Jain *First of all download arduino software from www.arduino.cc *download software serial

More information

Arduino Lesson 4. Eight LEDs and a Shift Register

Arduino Lesson 4. Eight LEDs and a Shift Register Arduino Lesson 4. Eight LEDs and a Shift Register Created by Simon Monk Last updated on 2014-09-01 11:30:10 AM EDT Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout The 74HC595 Shift

More information

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield:

Arduino Wifi shield And reciever. 5V adapter. Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the shield: the following parts are needed to test the unit: Arduino UNO R3 Arduino Wifi shield And reciever 5V adapter Connecting wifi module on shield: Make sure the wifi unit is connected the following way on the

More information

North Texas FLL Coaches' Clinics. Beginning Programming October 2014. Patrick R. Michaud pmichaud@pobox.com republicofpi.org

North Texas FLL Coaches' Clinics. Beginning Programming October 2014. Patrick R. Michaud pmichaud@pobox.com republicofpi.org North Texas FLL Coaches' Clinics Beginning Programming October 2014 Patrick R. Michaud pmichaud@pobox.com republicofpi.org Goals Learn basics of Mindstorms programming Be able to accomplish some missions

More information

MANUAL FOR RX700 LR and NR

MANUAL FOR RX700 LR and NR MANUAL FOR RX700 LR and NR 2013, November 11 Revision/ updates Date, updates, and person Revision 1.2 03-12-2013, By Patrick M Affected pages, ETC ALL Content Revision/ updates... 1 Preface... 2 Technical

More information

Lego Robot Tutorials Touch Sensors

Lego Robot Tutorials Touch Sensors Lego Robot Tutorials Touch Sensors Bumper Cars with a Touch Sensor With a touch sensor and some robot programming, you can make your robot search its way around the room. It can back up and turn around

More information

Servo Motor API nxt_motor_get_count nxt_motor_set_count nxt_motor_set_speed

Servo Motor API nxt_motor_get_count nxt_motor_set_count nxt_motor_set_speed Servo Motor API int nxt_motor_get_count(u32 n) gets Servo Motor revolution count in degree. n: NXT_PORT_A, NXT_PORT_B, NXT_PORT_C Servo Motors revolution in degree void nxt_motor_set_count(u32 n, int count)

More information

Crazy Alarm Clock L A K S H M I M E Y Y A P P A N J A M E S K A Y E W I L L I A M D I E H L C O N G C H E N

Crazy Alarm Clock L A K S H M I M E Y Y A P P A N J A M E S K A Y E W I L L I A M D I E H L C O N G C H E N Crazy Alarm Clock L A K S H M I M E Y Y A P P A N J A M E S K A Y E W I L L I A M D I E H L C O N G C H E N Overview Problem: Some people hit snooze excessively every morning rather than getting out of

More information

An Introduction to Robotics and Java

An Introduction to Robotics and Java An Introduction to Robotics and Java Programming Copyright 2005-2007 by RidgeSoft, LLC. All rights reserved. RidgeSoft, RoboJDE and IntelliBrain are trademarks of RidgeSoft, LLC. Java and all Java-based

More information

The Basics of Robot Mazes Teacher Notes

The Basics of Robot Mazes Teacher Notes The Basics of Robot Mazes Teacher Notes Why do robots solve Mazes? A maze is a simple environment with simple rules. Solving it is a task that beginners can do successfully while learning the essentials

More information

Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015

Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015 Arduino Internet Connectivity: Maintenance Manual Julian Ryan Draft No. 7 April 24, 2015 CEN 4935 Senior Software Engineering Project Instructor: Dr. Janusz Zalewski Software Engineering Program Florida

More information

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply

Servo Motors (SensorDAQ only) Evaluation copy. Vernier Digital Control Unit (DCU) LabQuest or LabPro power supply Servo Motors (SensorDAQ only) Project 7 Servos are small, relatively inexpensive motors known for their ability to provide a large torque or turning force. They draw current proportional to the mechanical

More information

www.dragino.com Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14

www.dragino.com Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14 Yun Shield Quick Start Guide VERSION: 1.0 Version Description Date 1.0 Release 2014-Jul-08 Yun Shield Quick Start Guide 1 / 14 Index: 1 Introduction... 3 1.1 About this quick start guide... 3 1.2 What

More information

C.I. La chaîne d information LES CAPTEURS. Page 1 sur 5

C.I. La chaîne d information LES CAPTEURS. Page 1 sur 5 LES CAPTEURS C.I. La chaîne d information The Touch Sensor gives your robot a sense of touch. The Touch Sensor detects when it is being pressed by something and when it is released again. Suggestions for

More information

An Introduction To Simple Scheduling (Primarily targeted at Arduino Platform)

An Introduction To Simple Scheduling (Primarily targeted at Arduino Platform) An Introduction To Simple Scheduling (Primarily targeted at Arduino Platform) I'm late I'm late For a very important date. No time to say "Hello, Goodbye". I'm late, I'm late, I'm late. (White Rabbit in

More information

Frequently Asked Questions (FAQs)

Frequently Asked Questions (FAQs) Frequently Asked Questions (FAQs) OS5000 & OS4000 Family of Compasses FAQ Document Rev. 2.0 Important Notes: Please also reference the OS5000 family user guide & OS4000 user guide on our download page.

More information

Start with Arduino: Introduction to. the Creative Use of. Electronics. Made in Germany. by Stefan Hermann

Start with Arduino: Introduction to. the Creative Use of. Electronics. Made in Germany. by Stefan Hermann Made in Germany. Start with Arduino: Introduction to the Creative Use of Electronics by Stefan Hermann Don t have a Fritzing Creator Kit yet? Well, you can close this PDF then. We re really sorry but that

More information

Arduino DUE + DAC MCP4922 (SPI)

Arduino DUE + DAC MCP4922 (SPI) Arduino DUE + DAC MCP4922 (SPI) v101 In this document it will described how to connect and let a Digital/Analog convert work with an Arduino DUE. The big difference between and Arduino DUE and other Arduinos

More information

Australian Journal of Basic and Applied Sciences. Intelligence Surveillance and Target Acquisition System Using Ultrasonic Sensor

Australian Journal of Basic and Applied Sciences. Intelligence Surveillance and Target Acquisition System Using Ultrasonic Sensor ISSN:1991-8178 Australian Journal of Basic and Applied Sciences Journal home page: www.ajbasweb.com Intelligence Surveillance and Target Acquisition System Using Ultrasonic Sensor 1 Debashis Chatterjee,

More information

Internet of Things with the Arduino Yún

Internet of Things with the Arduino Yún Internet of Things with the Arduino Yún Marco Schwartz Chapter No. 1 "Building a Weather Station Connected to the Cloud" In this package, you will find: A Biography of the author of the book A preview

More information

Wireless Communication With Arduino

Wireless Communication With Arduino Wireless Communication With Arduino Using the RN-XV to communicate over WiFi Seth Hardy shardy@asymptotic.ca Last Updated: Nov 2012 Overview Radio: Roving Networks RN-XV XBee replacement : fits in the

More information

Arduino project. Arduino board. Serial transmission

Arduino project. Arduino board. Serial transmission Arduino project Arduino is an open-source physical computing platform based on a simple microcontroller board, and a development environment for writing software for the board. Open source means that the

More information

INTRODUCTION TO SERIAL ARM

INTRODUCTION TO SERIAL ARM INTRODUCTION TO SERIAL ARM A robot manipulator consists of links connected by joints. The links of the manipulator can be considered to form a kinematic chain. The business end of the kinematic chain of

More information

Tutorial for Programming the LEGO MINDSTORMS NXT

Tutorial for Programming the LEGO MINDSTORMS NXT Tutorial for Programming the LEGO MINDSTORMS NXT Table of contents 1 LEGO MINDSTORMS Overview 2 Hardware 2.1 The NXT Brick 2.2 The Servo Motors 2.3 The Sensors 3 Software 3.1 Starting a Program 3.2 The

More information

Robotics. Lecture 3: Sensors. See course website http://www.doc.ic.ac.uk/~ajd/robotics/ for up to date information.

Robotics. Lecture 3: Sensors. See course website http://www.doc.ic.ac.uk/~ajd/robotics/ for up to date information. Robotics Lecture 3: Sensors See course website http://www.doc.ic.ac.uk/~ajd/robotics/ for up to date information. Andrew Davison Department of Computing Imperial College London Review: Locomotion Practical

More information

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET

DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET DESIGN OF 6 DOF ROBOTIC ARM CONTROLLED OVER THE INTERNET G. Rajiv and Sivakumar Sathyabama University, Chennai, India E-Mail: Rajiv.srkm@gmail.com ABSTRACT The purpose of the project is to build a robotic

More information

A Surveillance Robot with Climbing Capabilities for Home Security

A Surveillance Robot with Climbing Capabilities for Home Security Available Online at www.ijcsmc.com International Journal of Computer Science and Mobile Computing A Monthly Journal of Computer Science and Information Technology IJCSMC, Vol. 2, Issue. 11, November 2013,

More information

Sharp IR Range Finder (GP2D12,GP2D120)

Sharp IR Range Finder (GP2D12,GP2D120) Sharp IR Range Finder (GP2D12,GP2D120) Infrared light is transmitted and then reflected back from an object. Based on the angle of reflection, the sensor can figure out distance to that object. Equations

More information

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm

Six-servo Robot Arm. DAGU Hi-Tech Electronic Co., LTD www.arexx.com.cn. Six-servo Robot Arm Six-servo Robot Arm 1 1, Introduction 1.1, Function Briefing Servo robot, as the name suggests, is the six servo motor-driven robot arm. Since the arm has a few joints, we can imagine, our human arm, in

More information

GST-1 Troubleshooting FAQ

GST-1 Troubleshooting FAQ GST-1 Troubleshooting FAQ General: This FAQ addresses several common problems encountered and address the Windows 2000 associated interface problem. GST-1 s currently being shipped have been re-programmed

More information

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual

2013 G Miller. 3 Axis Brushless Gimbal Controller Manual 2013 G Miller 3 Axis Brushless Gimbal Controller Manual P a g e 2 When you receive your 3 axis controller board from dys.hk in the packet will be the following items the sensor 3rd Axis board the main

More information

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering

ECE 495 Project 3: Shocker Actuator Subsystem and Website Design. Group 1: One Awesome Engineering ECE 495 Project 3: Shocker Actuator Subsystem and Website Design Group 1: One Awesome Engineering Luquita Edwards Evan Whetsell Sunny Verma Thomas Ryan Willis Long I. Executive Summary The main goal behind

More information

Introduction to Dynamixel Motor Control Using the ArbotiX-M Robocontroller

Introduction to Dynamixel Motor Control Using the ArbotiX-M Robocontroller Page 1 Introduction to Dynamixel Motor Control Using the ArbotiX-M Robocontroller Daniel Jacobson Robotic Jointed Arm Using Dynamixel Motors Page 2 Contents Preface Purpose of this Text How to use this

More information

Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools

Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools Quick Start Guide to computer control and robotics using LEGO MINDSTORMS for Schools www.lego.com/education/mindstorms LEGO, the LEGO logo and MINDSTORMS are trademarks of the LEGO Group. 2004 The LEGO

More information

AP Series Autopilot System. AP-202 Data Sheet. March,2015. Chengdu Jouav Automation Tech Co.,L.t.d

AP Series Autopilot System. AP-202 Data Sheet. March,2015. Chengdu Jouav Automation Tech Co.,L.t.d AP Series Autopilot System AP-202 Data Sheet March,2015 Chengdu Jouav Automation Tech Co.,L.t.d AP-202 autopilot,from Chengdu Jouav Automation Tech Co., Ltd, provides complete professional-level flight

More information

Additional Guides. TETRIX Getting Started Guide NXT Brick Guide

Additional Guides. TETRIX Getting Started Guide NXT Brick Guide Preparing the NXT Brick Now that a functional program has been created, it must be transferred to the NXT Brick and then run. This is a perfect time to take a look at the NXT Brick in detail. The NXT Brick

More information

1 /*ora sincrinizzata con NTP. Inserendo codice OTP si attiva un servo che ruota di 95 grad. Per chiudere il servo premere 2 "*" mentre per azzerrare

1 /*ora sincrinizzata con NTP. Inserendo codice OTP si attiva un servo che ruota di 95 grad. Per chiudere il servo premere 2 * mentre per azzerrare 1 /*ora sincrinizzata con NTP. Inserendo codice OTP si attiva un servo che ruota di 95 grad. Per chiudere il servo premere 2 "*" mentre per azzerrare il codice premenre "#" 3 */ 4 #include 5 #include

More information

Work with Arduino Hardware

Work with Arduino Hardware 1 Work with Arduino Hardware Install Support for Arduino Hardware on page 1-2 Open Block Libraries for Arduino Hardware on page 1-9 Run Model on Arduino Hardware on page 1-12 Tune and Monitor Models Running

More information

The Answer to the 14 Most Frequently Asked Modbus Questions

The Answer to the 14 Most Frequently Asked Modbus Questions Modbus Frequently Asked Questions WP-34-REV0-0609-1/7 The Answer to the 14 Most Frequently Asked Modbus Questions Exactly what is Modbus? Modbus is an open serial communications protocol widely used in

More information

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two!

Your Multimeter. The Arduino Uno 10/1/2012. Using Your Arduino, Breadboard and Multimeter. EAS 199A Fall 2012. Work in teams of two! Using Your Arduino, Breadboard and Multimeter Work in teams of two! EAS 199A Fall 2012 pincer clips good for working with breadboard wiring (push these onto probes) Your Multimeter probes leads Turn knob

More information

Technical Data Sheet UM-005. UM005-doc-01.04 In reference to UM005-c-01.04

Technical Data Sheet UM-005. UM005-doc-01.04 In reference to UM005-c-01.04 Technical Data Sheet UM-005 UM005-doc-01.04 In reference to UM005-c-01.04 Contents Contents... 2 Introductions... 3 Specifications... 3 Pin description... 4 Connection diagram... 4 Module PCB dimensions...

More information

ServoPAL (#28824): Servo Pulser and Timer

ServoPAL (#28824): Servo Pulser and Timer Web Site: www.parallax.com Forums: forums.parallax.com Sales: sales@parallax.com Technical: support@parallax.com Office: (916) 624-8333 Fax: (916) 624-8003 Sales: (888) 512-1024 Tech Support: (888) 997-8267

More information

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu

Basic DC Motor Circuits. Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu Basic DC Motor Circuits Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu DC Motor Learning Objectives Explain the role of a snubber diode Describe how PWM controls DC motor

More information

Basic DC Motor Circuits

Basic DC Motor Circuits Basic DC Motor Circuits Living with the Lab Gerald Recktenwald Portland State University gerry@pdx.edu DC Motor Learning Objectives Explain the role of a snubber diode Describe how PWM controls DC motor

More information

Arduino Lesson 9. Sensing Light

Arduino Lesson 9. Sensing Light Arduino Lesson 9. Sensing Light Created by Simon Monk Last updated on 2014-04-17 09:46:11 PM EDT Guide Contents Guide Contents Overview Parts Part Qty Breadboard Layout Photocells Arduino Code Other Things

More information

DS1307 Real Time Clock Breakout Board Kit

DS1307 Real Time Clock Breakout Board Kit DS1307 Real Time Clock Breakout Board Kit Created by Tyler Cooper Last updated on 2015-10-15 11:00:14 AM EDT Guide Contents Guide Contents Overview What is an RTC? Parts List Assembly Arduino Library Wiring

More information

DEPARTMENT OF ELECTRONICS ENGINEERING

DEPARTMENT OF ELECTRONICS ENGINEERING UNIVERSITY OF MUMBAI A PROJECT REPORT ON Home Security Alarm System Using Arduino SUBMITTED BY- Suman Pandit Shakyanand Kamble Vinit Vasudevan (13103A0011) (13103A0012) (13103A0018) UNDER THE GUIDANCE

More information

Robodyssey Mouse. Assembly Instructions Version 1.03 Robodyssey Systems, LLC. Phone/Fax: 609-585-8535 20 Quimby Avenue Web: www.robodyssey.

Robodyssey Mouse. Assembly Instructions Version 1.03 Robodyssey Systems, LLC. Phone/Fax: 609-585-8535 20 Quimby Avenue Web: www.robodyssey. Robodyssey Mouse Assembly Instructions Version 1.03 Robodyssey Systems, LLC. Phone/Fax: 609-585-8535 20 Quimby Avenue Web: www.robodyssey.com Trenton, New Jersey 08610 Email: info@robodyssey.com 1 Copyright

More information

How to Make a Pogo Pin Test Jig. Created by Tyler Cooper

How to Make a Pogo Pin Test Jig. Created by Tyler Cooper How to Make a Pogo Pin Test Jig Created by Tyler Cooper Guide Contents Guide Contents Overview Preparation Arduino Shield Jigs The Code Testing Advanced Pogo Jigs Support Forums 2 3 4 6 9 11 12 13 Adafruit

More information

Speed Based on Volume Values & Assignment (Part 1)

Speed Based on Volume Values & Assignment (Part 1) Speed Based on Volume Values & Assignment (Part 1) The Sound Sensor is the last of the standard NXT sensors. In essence it s a kind of microphone which senses amplitude (how loud or soft a sound is), but

More information

AirCasting Particle Monitor Bill of Materials

AirCasting Particle Monitor Bill of Materials AirCasting Particle Monitor Bill of Materials Shinyei PPD42NS Seeed http://www.seeedstudio.com/depot/grove- dust- sensor- p- 1050.html?cPath=25_27 JY- MCU HC- 06 Bluetooth Wireless Serial Port Module FastTech

More information

understanding sensors

understanding sensors The LEGO MINDSTORMS NXT 2.0 robotics kit includes three types of sensors: Ultrasonic, Touch, and Color. You can use these sensors to build a robot that makes sounds when it sees you or to build a vehicle

More information

2/26/2008. Sensors For Robotics. What is sensing? Why do robots need sensors? What is the angle of my arm? internal information

2/26/2008. Sensors For Robotics. What is sensing? Why do robots need sensors? What is the angle of my arm? internal information Sensors For Robotics What makes a machine a robot? Sensing Planning Acting information about the environment action on the environment where is the truck? What is sensing? Sensing is converting a quantity

More information

FRC WPI Robotics Library Overview

FRC WPI Robotics Library Overview FRC WPI Robotics Library Overview Contents 1.1 Introduction 1.2 RobotDrive 1.3 Sensors 1.4 Actuators 1.5 I/O 1.6 Driver Station 1.7 Compressor 1.8 Camera 1.9 Utilities 1.10 Conclusion Introduction In this

More information

Cat Electronic Technician 2015C v1.0 Product Status Report 2/16/2016 9:19 AM

Cat Electronic Technician 2015C v1.0 Product Status Report 2/16/2016 9:19 AM Cat Electronic Technician 2015C v1.0 Product Report 2/16/2016 9:19 AM Product Report Product ID Comments Unavailable H2A00626 3054 M313C (CRX13565) H2A00626 Engine Serial Number CRX13565 ECM Serial Number

More information

Adafruit's Raspberry Pi Lesson 9. Controlling a DC Motor

Adafruit's Raspberry Pi Lesson 9. Controlling a DC Motor Adafruit's Raspberry Pi Lesson 9. Controlling a DC Motor Created by Simon Monk Last updated on 2014-04-17 09:00:29 PM EDT Guide Contents Guide Contents Overview Parts Part Qty PWM The PWM Kernel Module

More information

Software Development to Control the Scorbot ER VII Robot With a PC

Software Development to Control the Scorbot ER VII Robot With a PC Software Development to Control the Scorbot ER VII Robot With a PC ANTÓNIO FERROLHO Electrical Engineering Department Superior School of Technology of the Polytechnic Institute of Viseu Campus Politécnico

More information

MeshBee Open Source ZigBee RF Module CookBook

MeshBee Open Source ZigBee RF Module CookBook MeshBee Open Source ZigBee RF Module CookBook 2014 Seeed Technology Inc. www.seeedstudio.com 1 Doc Version Date Author Remark v0.1 2014/05/07 Created 2 Table of contents Table of contents Chapter 1: Getting

More information

C4DI Arduino tutorial 4 Things beginning with the letter i

C4DI Arduino tutorial 4 Things beginning with the letter i C4DI Arduino tutorial 4 Things beginning with the letter i If you haven t completed the first three tutorials, it might be wise to do that before attempting this one. This tutorial assumes you are using

More information

B0099 - Robo Claw 2 Channel 5A Motor Controller Data Sheet

B0099 - Robo Claw 2 Channel 5A Motor Controller Data Sheet B0099 - Robo Claw 2 Channel 5A Motor Controller Feature Overview: 2 Channel at 5A, Peak 7A Hobby RC Radio Compatible Serial Mode TTL Input Analog Mode 2 Channel Quadrature Decoding Thermal Protection Lithium

More information

H-Bridge Motor Control

H-Bridge Motor Control University of Pennsylvania Department of Electrical and Systems Engineering ESE 206: Electrical Circuits and Systems II Lab H-Bridge Motor Control Objective: The objectives of this lab are: 1. To construct

More information