ECET 365 Week 2 Complete DeVry

$25

Description

ECET 365 Week 2 Complete DeVry

ECET 365 Week 2DeVry

ECET 365 Week 2 Discussions

WEEK 2: COMPARISON OF COMMUNICATIONS PROTOCOLS

What are the advantages and disadvantages of the different communications protocols introduced in this week?

WEEK 2: PROTOCOLS USED IN THE PROJECT

Which protocols are required by the subsystems in the project?

ECET 365 Week 2 HOMEWORK

Complete the following Homework in your text:

Pages 384 – 387, Problems 7.1, 7.4, 7.9, 7.13, D7.17.

Page 639, Problems 12.1 – 12.5.

Don’t forget to submit your assignment.

 

ECET 365 Week 2 COURSE PROJECT (DUE IN WEEK 8)

Review the Course Project Overview under the Introduction & Resources area for an overall description of the Course Project, grading rubric, and deliverables.

In addition to doing Lab 2, it is highly recommended to read the Construction Notes for the Smart Car that pertain to the Visual Sensor, found in the Files section of the Course Menu.

 

ECET 365 Week 2 Lab

Lab 2: Interfacing to the Smart Car Video Sensor

Objectives

  1. Develop a hardware interface to the visual sensor in the Robotic Car Kit.
  2. Test the sensor with software and use data to control the steering servo.

Parts List

  1. Robotic Car Kit with visual sensors
  2. Freescale Tower Kit with S12G128 CPU board
  3. PC with IDE software (e.g. CodeWarrior Development Studio V5.1)

Introduction

  1. The Robotic Car is required to follow a one-inch-wide centerline around a track. In the actual contests, various track configurations could be encountered. Here, we use an oval track made with sheets of white foam board and 1-inch-wide black cloth Gorilla Tape (labeled “Not Electrical Tape).
  2. The visual sensor system is provided in the Robotic Car Kit to follow the center line. The scheme is to use two sensors, one on each edge of the center track. The sensors are infrared sensors. There are also two infrared LEDs that illuminate the area of the track seen by the sensors. Each sensor detects the infrared energy that is reflected from the track surface. When the Robotic Car is centered on the centerline, both sensors see almost no infrared light reflected from the black surface. However, if one of the sensors strays onto the white background (the foam board), the infrared light is greatly reflected and the sensors alert the CPU that the car has moved too far left or right.

 

Deliverables

Answer all questions in Week 2 Lab Cover Sheet here (Links to an external site.)Links to an external site..

Submit your Week 2 Lab Assignment.

You can also download the cover sheet for Week 2 Lab in the Files section of the Course Menu.

Required Software

CodeWarrior Development Studio for S12(x) V5.1

Access the software at http://www.nxp.com/ (Links to an external site.)Links to an external site. (Links to an external site.)Links to an external site..

Lab Steps

STEP 1: Procedures

  1. Construct Interface between Visual Sensors and CPU Board
    1. The PmodLS1 Infrared Light Detector Module Reference Manual (in the Files section of the Course Menu) describes the module that is the interface between the CPU Board and the Visual Sensors.  Examine the photographs in Appendix B of the Construction Notes for the Robotic Car and observe that the module is soldered to the proto-board via the 6-pin header strip.  The pins need to be bent down (carefully) at a 45 degree angle so that the module is slanted upward.  The cables from the sensor modules (attached to the front bumper via Velcro supplied in the Robotic Car Kit) are connected to the module.  Note the color coded wires correspond to the markings on the module.  This project uses S3 and S4.  The module includes LEDS to show the functioning of the outputs of the sensors.  An LED which is on means that a logical 1 is on the output pins.  See Figure 3 showing the orientation of the sensors on the bumper.
  1. Testing the Video SensorsIt is recommended to operate the sensors from the +3.3V power on the proto-board.  This power comes from the power supply at the bottom of the primary elevator of the Tower.  The power supply has two screw terminals for +5V input and Ground.  You should use the battery holder (4 AA cells), but make sure the total battery voltage is less than 5.5 volts.  If you run the sensors from +5 V directly, you will put more than 20 mA through the LEDs, possibly damaging them.In place of an actual track, we can use an index card with a center stripe that is black and 1inch wide.  See Photos 1 and 2 in Appendix B.  Black GorillaTMTape is recommended, but you could use a black felt marker.  Make sure the color is uniform.
  2. The PmodLS1 module contains a small potentiometer that can be adjusted with a small flat bladed screwdriver approximately 0.070 inches in width.  We want to adjust the potentiometer so that the LEDs on the module (LD3 and LD4) are off when the center strip is along the center axis of the car.  As the strip is moved to one side, one LED will light up as the sensor sees the white background of the index card.  The other LED will light up when the card is moved to the other side.Both LEDs will light up if both sensors see the white background, which indicates that the car has left the center track entirely.
  3. The right sensor output (LD4) is connected to Primary side pin A47.  The left sensor output (LD3) is connected to Primary side pin A48. These pins are accessible from the proto-board.  The connecting wires can be soldered to the holes from either the top or bottom of the proto-board.Pin A47 is the input to Port A (A0).  Pin A48 is the input to Port A (A1 ).  By examining the Robotic Car programs in Appendix A, you can see how the sensor inputs are used for the steering logic.
  4. The program stops the right wheel if the left sensor sees the white background. Similarly, the left wheel is stopped if the right sensor sees the white background. In either case, the result is that the wheel which is still turning moves the sensor back onto the black stripe.If both sensors light up, it means that the car has gone off the black stripe completely, and both motors stop.

    When all motor and sensor connections and the power wiring is complete, we can load the first program and test the steering system.  We will do this in the next task.

    1. Set the car on a block (firm packing foam works) so that the wheels can turn without interference.  Ensure that the batteries are installed.
    2. The TWR-S12G128 CPU board and the proto-board should be installed in the Tower.  Make sure the primary edges of the boards are installed on the primary elevator of the Tower.  The boards can be installed backwards but they will not work.
    3. Consult the TWR-S12G128_UG.pdf User Guide.   The Power section shows that the Power Select jumper (JP5) should be set to pins 3 and 4, the default setting.  This is necessary for the PC to program the CPU board.
    4. Turn on SW1.  The +5V LED and +3.5V LED at the bottom of each elevator should light up.  Also, a green LED on the CPU board will light up.
    5. Using a PC with the CodeWarrior V5.1 installed, connect the USB cable between the PC and the CPU board.  More LEDs will light up on the CPU board.  See the “Connecting the Robotic Car to CodeWarrior” document in the Files section of the Course Menu.
    6. Once the program is running, you can remove the USB cable from the CPU board.  The program will shut down when you shut down the power to the CPU board, but it will resume when the power is again applied.
    7. Center the striped index card under the Visual Sensors and ensure that both sensors are over the black stripe.  Turn on SW2 and SW3.  Both wheels should be rotating.
    8. Move the card to the right side.  When the left sensor reaches the white background, the wheel on the right side should stop.
    9. Move the card to the left side.  As the sensors go over the black stripe, both wheels will rotate.   When the right sensor reaches the white background, the left wheel will stop.
    10. This completes the testing of the Robotic Car.
  1. Observations – Complete the following questions in the Week 2 Lab Cover Sheet and submit your Lab assignment.
    1. Sketch the change in the output of the visual sensors as the striped index card is moved from the center to each side of the center line.
    2. Describe the effect of the potentiometer on the output of the sensor module.
    3. If the motors and software are installed, describe the action of the drive wheels as the index card is moved left and right.

ECET 365 Week 2 Quiz

Instructions

Here is some information about your Quiz.

  • This quiz covers CO 4 and Chapters 7, 11, and 12.
  • This quiz is worth 20 total points, which include the following questions:
    • 3 multiple-choice questions at 5 points each;
    • 1 short-answer question at 5 points each; and
  • You have 60 minutes to finish the quiz.
  • Here is a reminder to SAVE frequently, because when the time limit is reached, you will automatically be exited from the exam.
  • This quiz contains one page.

By submitting this work, I am attesting that it abides by the Student Honor Code.

 

Course Tutor helps in providing the best essay writing service. If you need 100% original papers for ECET 365 Week 2 Complete DeVry, then contact us through call or live chat.

ECET 365 Week 2 Complete DeVry

Best ECET 365 Week 2 Complete DeVry
ECET 365 Week 2 Complete DeVry

ACCT 553 DeVryBIAM 500 DeVryCIS 500 STRCIS 558 STRENG 105 GCUFIN 390 DeVryFIN 504 GCUHCA 545 GCUHCA 699 GCUHLT 306 GCUHLT 362 GCUHLT 555 GCUHLT 610 GCUHLT 665 GCUHOSP 594 DeVryHRM 600 DeVryMAT 144 GCUMGMT 600MGT 599 STRMGT 655 GCUMKT 373 GCUPSY 362 GCUPSY 565 GCUPSY 575 GCUPSY 665 GCUSOC 102 GCUSOC 320 GCUSOC 372 GCUSOC 412 GCUNSG 6440 SUHIM 515 GCUNSG 4029 SUHIM 615 GCUNSG 3029 SUNSG 4055 SUNSG 6630 SUNSG 6005 SUCRMJ 310PSY 510 GCUCRMJ 300 DevryCRMJ 425SPD 200 GCU, HLT 490 GCU ,ECH 340 GCU , ECH 440 GCU , ECH 355 GCU ,ECH 350 GCU ,LDR 461 GCU ,ECH 425 GCU ,REL 212 STR ,SCI 115 STR ,CIS 505 STR ,JUS 652 GCUMGT 640 GCUCIS 527 STRSOC 436 GCU,ACC 502 GCUFIN 504 GCU , MATH 260 DeVry ,ETHC 445 DeVry ,ECET 220 DeVry , CARD 405 DeVryNETW 203 DeVryNETW 205 DeVryECET 365 DeVry

 

 

 

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Add to cart