1 / 17

Operate the Tumbler using the jumper pin

Operate the Tumbler using the jumper pin. Operate the Tumbler Using a Jumper Pin. Performance Objective: Using a Cortex microcontroller and EasyC V4, operate the Tumbler successfully using a jumper pin . Enabling Objectives:

keanu
Télécharger la présentation

Operate the Tumbler using the jumper pin

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. Operate the Tumbler using the jumper pin

  2. Operate the Tumbler Using a Jumper Pin Performance Objective: Using a Cortex microcontroller and EasyC V4, operate the Tumbler successfully using a jumper pin. Enabling Objectives: match the following parts to their description and/or function: VEX jumper pin, VEXnet Joystick, USB A-A cable, EasyC V4 for Cortex, VEXnet USB adapter key, USB to serial cable, Default code sync VEXnet joystick and microcontroller install VEXnet adaptor keys describe the process to download the Default code explain the purpose of the Default code explain LED codes on the microcontroller and joystick with potential problems

  3. Sync the microcontroller with the Joystick In order for a VEXnet Joystick to control a microcontroller, they must be synced To sync you will need a USB A-A cable

  4. Sync the microcontroller with the Joystick Plug one end of the USB A-A cable into the USB port on top of the microcontroller Plug the other end of the USB A-A cable into the port on the back of the VEXnet joystick

  5. Syncing Prop the Tumbler up on a block so that none of the wheels are touching a surface NOTE: This prevents the robot from making unexpected movements Switch the microcontroller to ON

  6. Sync the microcontroller The lights on the microcontroller and the joystick will blink and flash The LEDs labeled ROBOT and VEXnet on the Joystick and microcontroller will turn green indicating that the synchronization is complete Because the joystick is not switched on the Joystick LED on the Joystick will be red(this is ok for now) If this is the case, your robot is now synced! (if not, see your instructor for troubleshooting or continue to the troubleshooting slide)

  7. Proper Light Sequence

  8. Troubleshooting

  9. Download the default code The Default code is what come preinstalled on the microcontroller The Default code allows you to operate the microcontroller without having to write a program The Default code will not typically be loaded because most of the applications require a unique program to be written and downloaded

  10. Download the default code First you will need the orange USB to serial cable Plug the USB end of the cable into the computer Plug the serial end of the cable into the port on the back of the joystick labeled Program

  11. Download the default code Open the easyC V4 Cortex software from the start menu or desktop icon Begin a New Standalone Project Select Joystick Project (WiFi) Click OK

  12. Download the default code On the top menu bar of the EasyC V4 software select Build and Download Choose Download Default code Click yes to download the Default HEX File Close the window that pops up reminding you to upload the master code

  13. Download the default code The HEX File will now download onto the microcontroller Click OK on the window informing you that the file has downloaded Close the IFI/intelitek loader window

  14. Insert the VEXnet USB Adapter Key Now turn off the Tumbler. Remove the USB A-A cable from both devices Insert the VEXnet USB adapter Key into the microcontroller and the Joystick

  15. Using the jumper pin • Your Tumbler should be operating in Tank mode now. • The left side motors run in the same direction when the left joystick is pushed • The right side motors run in the same direction when the right joystick is pushed • One or more of your motors may be turning in the wrong direction • If so, place a jumper pin into the corresponding digital input of the motor port

  16. Using the jumper pin • If you want to operate the robot in arcade mode (one joystick controls both the right and left motors) place a jumper pin into digital input 12

  17. Finished If after syncing your microcontroller and joystick, downloading the Default code, and using jumper pins if necessary, you should be able to drive your Tumbler around! Congratulations!

More Related