1 / 18

BEST Robotics easyC Overview

BEST Robotics easyC Overview. Courtney Pinnell and Brina Saldivar AWEE (Association of Women in Electrical Engineering). Download the Software. easyC for Cortex Microcontroller. Free 7 day trial software. http://www.intelitekdownloads.com/easyCV4/. Creating a New Project.

jania
Télécharger la présentation

BEST Robotics easyC 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. BEST Robotics easyC Overview Courtney Pinnell and BrinaSaldivar AWEE (Association of Women in Electrical Engineering)

  2. Download the Software

  3. easyC for Cortex Microcontroller Free 7 day trial software http://www.intelitekdownloads.com/easyCV4/

  4. Creating a New Project Select Joystick Project

  5. Main Interface Automatically configures files Main code block with configurables Function block provides program logic and joystick interfacing

  6. Configuring Input/Outputs Double Click Config to get Wizard Click to change input or output

  7. Assigning a Motor Assign motors to proper pin here Input Output

  8. Creating Variables Various Data Types

  9. Drag and Drop Programming Grab While Loop Here Drag Structure onto program flow

  10. While Loop Creates and infinite loop

  11. Adding Tank-2 Motor Control Drag into while loop for continuous control Tank Motor Control

  12. Setup Tank-2 Motor Control Channel Denotes which button or joystick on controller Can find our assigned motor here

  13. Wizard fills in Function Parameters

  14. Servo Control

  15. Ready to Test? Build and Download!

  16. Download Status Menu

  17. Tips • Remember to NEVER plug a motor directly into the microcontroller, they need to be plugged into the motor controller adapter first! • Servos are best suited for buttons instead of joystick control to prevent oversampling which can wear out a servo • Most actions need to be continuously repeated (ex: driving robot) to do this use an infinite while loop (ex: while(1){ ..blah..} or while(true){..blah..} • If, else if, and else statements are really usefully for all situations

  18. References • http://www.vexrobotics.com/products/accessories/logic/276-2194.html

More Related