1 / 27

Computer Engineering Remote Controlled Car Project ACSE 2006

Computer Engineering Remote Controlled Car Project ACSE 2006. Graham Smyth Jerry Dolata. Computer Engineering Units. Grades 10 - 12 Five Hands-0n Units. 1 . Hardware 2. Networking 3. Integrated Circuits 4. Programming 5. Interfaces. Software. Turing. parallelput ( number)

dora
Download Presentation

Computer Engineering Remote Controlled Car Project ACSE 2006

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. Computer Engineering Remote Controlled Car ProjectACSE 2006 Graham Smyth Jerry Dolata

  2. Computer Engineering Units Grades 10 - 12 Five Hands-0n Units 1. Hardware 2. Networking 3. Integrated Circuits 4. Programming 5. Interfaces

  3. Software Turing • parallelput ( number) • put parallelget • mousewhere ( x, y, click) • play (“CDEFG”) • drawline ( x1, y1, x2, y2, red) • Provincially Licensed

  4. Parallelport Pin Configuration(printer port) Input I0 – I3 Output D0 – D7 13 12 11 10 9 8 7 6 5 4 3 2 1 25 24 23 22 21 20 19 18 17 16 15 14 Grounds 18 - 25 Input I4 View from back of Computer

  5. D sub Pin Assignment

  6. parallelput(number)

  7. Colour Code for Cables

  8. Breadboard Connections Connected High Fives Divider Low Fives Connected

  9. Remote Controlled Car ProjectHardware

  10. Removing Shipping Holders 1. Remove Screw 2. Remove Screw

  11. Removing Battery Covers 2. Remove Screw 1. Remove Screw 3. Insert 4 AA 4. Insert 1 9V

  12. Opening Case Carefully Remove 10 Small Screws

  13. Removing Joysticks Remove Joysticks Separate Case

  14. 4 Pair From Joystick 2. Green 1. Green/White 5. Orange/White 4. Orange 3. Blue Carefully Wrap 5 Wires to Board

  15. Closing Case Antenna Inserted Wrap to Secure Cable Removing Battery Covers Use 2 Screws in Opposite Corners to Close Case

  16. 4 Pair Wire to Transistors Orange to Right Pin Green to Right Pin White/Green to Right Pin Blue to Ground Orange/White to Right Pin

  17. Adding Resistors Each Resistor to Middle Pin Each Resistor Jumps Divider

  18. Adding Grounds Left Pin to Ground

  19. From D Sub-connector Blue Ground From D sub From D sub

  20. From D Sub-connector to BB Pin 5 White/Green Pin 4 Green Pin 3 Orange/White Pin 2 Orange Pin 18 Ground

  21. Remote Controlled Car ProjectSoftware

  22. Software 1 • When 8 is pressed the car should go forward • When 5 is pressed the car should stop • When 0 is entered the program should exit

  23. Software 1: Answer var key : string (1) loop getch(key) if key = “8” then parallelput(1) elsif key = “5” then parallelput (0) end if exit when key = “0” end loop

  24. Software 2 Add to the previous program commands that will instruct the car to go: • Forward/left when 7 is pressed • Forward when 8 is pressed • Forward/right when 9 is pressed • Stop when 5 is pressed • Reverse/left when 1 is pressed • Reverse when 2 is pressed • Reverse/right when 3 is pressed • Exit program when 0 is pressed

  25. Software 2: Answer loop getch(key) if key = “7” then parallelput(5) elsif key = “8” then parallelput (1) elsif key = “9” then parallelput (9) etc

  26. Software 3 • Write a program so the car will auto parallel park • Add computer controlled turn signals • Add reverse lights • Add light sensors so the car will follow a light source

  27. Addresses grahamsmyth@ciaccess.com www.classictechnology.ca www.holtsoft.com

More Related