Results 1 to 7 of 7

Thread: My digital project (56K take a nap)

Hybrid View

  1. #1
    Certified Gearhead miro_gt's Avatar
    Join Date
    Dec 2005
    Age
    46
    Posts
    384
    Rep Power
    20

    Default My digital project (56K take a nap)

    In short, this is a game that I made during my Digital III class at school. It shoots ping-pong balls with compressed air

    It took me 3 months, and I build it from scratch. I was having 2 partners who were supposed to make two simple things - the target, and the gun stand ... and they couldn't ... loosers. The rest I've developed by myself, which include prety much the entire project

    the gun (a PVC pipe) was supposed to rotate left and right with a stepper motor. I made the controller, but the guy failed making the stand ...

    the other guy couldn't put two wires in the target for 3 weeks ... ?!?

    AND IT WORKS

    requirements:

    - 8051 based microcontroller
    - LCD
    - 16-key keypad (has to have a way to enter letters and numbers)
    - External memory (RAM)
    - ADC or DAC
    - DC motor with controllable speed, or Stepper motor, or other special device
    - 5 indicators
    - 2 switches
    - code has to incorporate 2 interrupts
    - system should be easy to work with



    all met

    the system has 512 bytes or RAM, of which 84 are used only, lol. The chip has 2K or RAM though



    I'll run ya through the game, it's fun











    Here's the demo that runs until you start playing















    So, you flip the Switch 1, and game starts







    so here's what I entered .... lol








    so it shows the players names ..



    and the action begins ...



    enter pressure in PSI. It works from 1 to 99 PSI If the pressure is less than what you've entered, a small Walmard stype tire compressor starts building pressure in the white cylinder. You see the pressure real time on the 2 displays up top. When the desired value is reached, the system stops the pump, lights up the GREEN light, and you're ready to shoot. So you aim the gun (move it left or right until you think you're gonna hit the target - switch 2 up and you control the stepper motor that moves the gun with the keypad), and fire - the red button opens a solenoid valve, and the air goes out to the gun, and the ping-pong ball shoots out If you hit the limits of the gun movement, a red light will signal you that. The two LEDs are for left and right limit.

    If the pressure is over of what you entered, then you can shoot right away with some more pressure. If you want your desired lower pressure than what's already in the cylinder from the previous player, then you shoot a couple of times on empty guy to lower the air pressure, then enter your value, and the system will make it for ya ...

    So you shoot and:



    oops ... looks like you missed. If you hit, then the yellow LED would light up, and a score point would be added to your score


    This repeats for all players (all 3), and the number of game round you wanted to play.

    Then:





    If two players have same scores, than both names are displayed. If all players have same scores, then all are winners


    What you all think

  2. #2
    iamgraphicdesign uproot's Avatar
    Join Date
    Mar 2005
    Location
    :noitacoL
    Age
    42
    Posts
    7,332
    Rep Power
    34

    Default

    wow, thats pretty cool. i dont see myself ever being able to do something like that.

  3. #3
    Certified Gearhead
    Join Date
    Mar 2006
    Age
    36
    Posts
    743
    Rep Power
    20

    Default

    Dude i like it
    02 GSX-R Telefonica Movistar
    99 Prelude
    95 Mustang GT Vert
    98 Mustang 3.8

  4. #4
    ^ Has way toooo much pr0n v3rd1g0's Avatar
    Join Date
    Jun 2005
    Location
    Marietta/Lawrenceville
    Age
    38
    Posts
    2,436
    Rep Power
    23

    Default

    spsu ftw. my one of my roommates is in digital 1 i believe
    No siggy as of right now

  5. #5
    Senior Member
    Join Date
    Aug 2006
    Age
    40
    Posts
    2,055
    Rep Power
    22

    Default

    GT FTW

  6. #6
    I AM A SOCA WARRIOR TRINI4LIFE's Avatar
    Join Date
    Mar 2005
    Location
    C'vton
    Age
    45
    Posts
    1,482
    Rep Power
    22

    Default

    Good stuff. +1 for you
    GOOOOOOOO SOCA WARRIORS !!!!!!!!!!!!!!!!!!!

  7. #7
    Certified Gearhead miro_gt's Avatar
    Join Date
    Dec 2005
    Age
    46
    Posts
    384
    Rep Power
    20

    Default

    thanks guys


    gotta show ya my other project - digital alarm clock. I'll post pictures this evening most likely ... It's been working since the last what - 6 months .. Almost got it to be accurate, but still sdvances 1.4 seconds every hour ... am, I'll fix that one day

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
ImportAtlanta is a community of gearheads and car enthusiasts. It does not matter what kind of car or bike you drive, IA is an open community for any gearhead. Whether you're looking for advice on a performance build or posting your wheels for sale, you're welcome here!
Announcement
Welcome back to ImportAtlanta. We are currently undergoing many changes, so please report any issues you encounter with the site using the 'Contact Us' button below. Thank you!