1 / 21

batt L E D ship

batt L E D ship. PRESENTED BY: MELODY KIDD (FALL TEAM LEAD) KELLY MACFARLANE (FALL WEBMASTER) SCOTT MATSUO (SPRING WEBMASTER) RAPHAEL RAMOS (SPRING TEAM LEAD) ACADEMIC ADVISOR: WAYNE LU. OUTLINE. What is battLEDship? Methods Design description Architecture Results Issues

chaman
Télécharger la présentation

batt L E D ship

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. battLEDship PRESENTED BY: MELODY KIDD (FALL TEAM LEAD) KELLY MACFARLANE (FALL WEBMASTER) SCOTT MATSUO (SPRING WEBMASTER) RAPHAEL RAMOS (SPRING TEAM LEAD) ACADEMIC ADVISOR: WAYNE LU

  2. OUTLINE • What is battLEDship? • Methods • Design description • Architecture • Results • Issues • Demonstration • Conclusion

  3. BACKGROUND • Modernize version of the classic Battleship® game • Goal: More interactive and technology-oriented game that will appeal to all ages. Key: = Blue color lit up on LED = Red color lit up on LED (hit) = All colors lit up on LED (miss)

  4. BACKGROUND SENSE PROCESS DISPLAY

  5. MATERIALS RGB Surface-Mounted LEDs Surface-Mounted Reflective Phototransistor Sensors Printed Circuit Boards Arduino

  6. ARCHITECTURE Arduino Board Four 10x10 Reflective Object Sensor Arrays Four 10x10 LED Arrays SCHEMATICS • Decoders Connection to breadboard • PCB Connection to Decoders • LED and Sensor connection to PCB

  7. HARDWARE DESIGN 10 x 10 SENSORarray Phototransistor Sensor Collector: 5 Volts Infrared Light Emitter: GND(0 Volts)

  8. HARDWARE DESIGN 10 x 10 SENSORarray

  9. HARDWARE DESIGN 10 x 10 led array ANODE CATHODE

  10. HARDWARE DESIGN 10 x 10 led array Cathode Anode

  11. HARDWARE DESIGN Printed circuit boards

  12. HARDWARE DESIGN breadboard 4 inverters per board 12 decoders per board

  13. SOFTWARE DESIGN • Arduino Mega 2560 • Cycling through LEDs and sensors • Game states

  14. SOFTWARE DESIGN Binary schematic for LED Array Binary schematic for Sensor Array

  15. SOFTWARE DESIGN A0 A1 A3 A2

  16. SOFTWARE DESIGN • FOR-LOOP SAMPLE CODE: • for (inti = 0; i < 10; i++) {   • for (int j = 0; j < 10; j++) { • //Read each sensor • boardState1[i][j] = reader(i, j, 1); • //Choose what color to set each LED • chooser(boardState1[i][j], i, j);   • } • }

  17. SOFTWARE DESIGN • Bit Masking Sample Code: • DigitalWrite(colSensor1, HIGH && (col & 0001)); • DigitalWrite(colSensor2, HIGH && (col & 0010)); • DigitalWrite(colSensor3, HIGH && (col & 0100)); • DigitalWrite(colSensor4, HIGH && (col & 1000)); • COLOR TABLE

  18. ISSUES • LEDs not working • Intricacy of wire connection • Change from protoboard to PCB • Debugging & testing of system

  19. DEMOS&RESULTS • GAME SIMULATION

  20. CONCLUSION • battLEDship is an interactive modern take on the classic game Battleship® • How the team designed and built the project • Hardware and Software Designs • Results • Issues

  21. QUESTIONS?

More Related