1 / 14

Project Overview

Project Overview. Introduction Clawbot Build Design Modification Design Development Programming Sensors Advanced Sensors Open design challenges Project evaluation. LESSON 04. LESSON 04 STARTER.

austins
Download Presentation

Project Overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Project Overview • Introduction • Clawbot Build • Design Modification • Design Development • Programming • Sensors • Advanced Sensors • Open design challenges • Project evaluation

  2. LESSON 04

  3. LESSON 04 STARTER Learning objective: Learn about wireless technology and its application to robotics. Apply knowledge of robot design to solving a design challenge. Develop a robot to improve its performance. What is wireless?Wireless technology is benefiting product design in a modern world where wires are no longer needed to allow products to communicate with one another, or even to charge up their batteries.Wireless technology refers to the use of electromagnetic waves that carry signals over the communication path. Wireless refers to the most basic and obvious sense where communication is sent in the absence of wires and cables. It encompasses all, the wireless technologies, wireless computer accessories and the cellular communications.Common examples of wireless products:- Cellular phones providing connections between portable/mobile devices- Global Positioning Systems (GPS) allow navigation devices to locate their positions on the earth using satellites- Cordless computer mice, keyboards and printers- Home-entertainment systems where multiple devices provide surround sound Key words: Programmable, environment, design, manufacturing and application

  4. WORKING WIRELESSLY WiredVSWireless I like wired, and I like wireless, but which one is best? There’s only one way to find out…Create the following table in your Engineering notebook. Once you have created it, propose the benefits and drawbacks of wired and wireless connectivity to every day products, including robots.

  5. WORKING WIRELESSLY Introducing wireless controlThe VEXnet Joystick can connect using the USB to USB orange cable, but introducing the VEXnet key will allow for wireless control. How to connect:To set up your wireless keys take the following steps:1. Connect the joystick to the cortex and operate it wired.2. Turn off both the joystick and cortex and replace the wire with two wireless keys.3. Turn on the cortex, then the joystick.4. Allow the pair to connect to one another.5. Operate your robot just how you did with a wired connection.

  6. WORKING WIRELESSLY Develop your controlsLook at the joystick. Notice that there are numbers labelled on the surface of the plastic casing. 5 6 What are the numbers in reference to?The direction of arrow for numbers 1-4 denote the direction of movement motors can move in using these controls. E.g. The default code that is installed on all Clawbot kits results in the motors on the base (that drive the wheels) will respond directly to the joystick dials. Pushing forward/backward with 2 and 3 at the same time will drive both motors forward.Using programming software allows the default code to replace that on the cortex so that a personal operation can be designed.

  7. WORKING WIRELESSLY Changing the response of the cortex when receiving signals from the joystickIn this brief tutorial, you will learn how to change the operation of the cortex when the joystick is controlling it wirelessly (and wired).Using EasyC to change the controls:1. Create a standalone project- Joystick project (Wifi) 2. Your main programme will look likethis --------------------------------------->3. Bring a “While Loop” into theprogramme from the Program Flowsection.4. Under Joystick, you can bring in anarcade or tank programme which willcontrol two or more motors.5. Under Joystick you can also bring ina “Joystick to motor” programmewhich will control 1 motor.6. Under Joystick you can finally bringin “Joystick to Digital motor” whichwill allow you to apply 5/6 buttonsto the control of a motor. NUMBERED CONTROL ON JOYSTICK NUMBERED LOCATION ON JOYSTICK DIRECTION & SPEED OF MOTOR TO BUTTON 1 NUMBERED LOCATION ON JOYSTICK DIRECTION & SPEED OF MOTOR TO BUTTON 2 LOCATION OF MOTOR ON CORTEX+ DIRECTION LOCATION OF LEFT MOTOR ON CORTEX+ DIRECTION LOCATION OF RIGHT MOTOR ON CORTEX+ DIRECTION A PREVIEW LOCATION OF MOTOR ON CORTEX

  8. WORKING WIRELESSLY The programme of the previous tutorial will look like this The outcomeArcade2 (1,2,1,1,10,0,0)Controller 1 will use controls 2 and 1 (the right joystick) to drive motors 1 and 10, without inverting (changing direction) the motors.JoystickToMotor (1,3,5,0)Controller 1 will use control 3 to drive motor 5, without inverting its direction.JoystickDigitalToMotor (1,5,1,127,2,-127,6)Controller 1 will use control 5 and buttons 1 and 2to drive motor 6. Button 1 will drive forward at 127 revolutions/second,and button 2 will drive backward at 127 revoluations/second. Note127 refers to the fastest rotation a motor can achieve. The minus value refers to a reverse of the motor. By reducing the number, the motor will operate slower.

  9. WORKING WIRELESSLY Select 1 of these 3 challenges for your robotRead all three of these challenges, and select one you would like to take on. Each will need to be completed in 2 minutes. Copy down the challenge into your Engineering Notebook. In your teams, consider the way in which your robot needs to move and operate in order to achieve success. Does it need to be fast or slow? Does it need to turn with a 0 degree position or around a corner? Do you need to focus on the operation of the claw or the drive? Challenge 1Design a programme that allows your robot to transport an open cup of water without spilling it.The cup will be a white polystyrene cup and the water half full. The cup must be moved in a straight line from one end of your classroom to the other without spilling it. Challenge 2Design a programme that allows your robot to pick up and move pebbles from one location to another.The pebbles will be stored on one side of your workbench, and the container to drop them into on the other. You will need to move three pebbles. Challenge 3Design a programme that allows your robot to navigate through a tight corridor, around a single corner, and then to its end where it will need to hit a target with the claw.The claw will reside above the clawbot head. The corridor width will measure the widest diagonal of the clawbot base.

  10. WORKING WIRELESSLY Task: Design your controls for easier operationUsing EasyC, develop a small joystick programme in a “While Loop” that will allow you to change the control of your robot. Plan your programme in your Engineering Notebook first

  11. WORKING WIRELESSLY Task: Load your programme and carry outLoad your EasyC programme onto your cortex and test the robot to prove it can fulfil its task. Record your findings and note proposals to change the programme (if it needs it) Challenge 1: drive forward with a cup from zone 1 to zone 2. Challenge 2: drive around corners to deposit the pebbles on repeat quickly. Challenge 3: drive forward and around a corner in a narrow corridor.

  12. LESSON 04 PLENARY As a class, let us consider the following questions?A. What is the relationship between the joystick and the cortex and the motors? B. How many motors can any single control on the joystick move at any one time?C. Why did all of these challenges need wireless control?D. How does changing the programme change the behaviour of the robot?

  13. SUMMARY Learning objective: Learn about wireless technology and its application to robotics. Apply knowledge of robot design to solving a design challenge. Develop a robot to improve its performance. • Today you have: • Learnt about wireless technology in the context of VEX Robotics. • Applied knowledge from a previous design project to a new design challenge focused on programme development. • Developed a functional product to tests its functionality.

More Related