Shop OBEX P1 Docs P2 Docs Learn Events
Propeller LED Pong... — Parallax Forums

Propeller LED Pong...

BamseBamse Posts: 561
edited 2008-12-01 19:25 in Robotics
A pretty fun project...

This is the 64x32 LED Matrix from Sure Electronics...
For the paddles, I got a couple of project boxes and 100K pots from Radio Shack.
The paddles are then read by a MCP3008 A/D circuit since I had one laying around.

Pictures,
100_1450.jpg
100_1451.jpg

Movie,
th_100_1453.jpg

▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Living on the planet Earth might be expensive but it includes a free trip around the sun every year...

Experience level:
[noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
[noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
[noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
[noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
[noparse][[/noparse] ] I dream in SX28 assembler...

/Bamse

Comments

  • PJAllenPJAllen Banned Posts: 5,065
    edited 2008-10-26 02:34
    That's incredible.

    (Next stop, sound effects?)
  • BamseBamse Posts: 561
    edited 2008-10-26 02:42
    Thanks PJ.

    Actually, Pong is done and next stop is breakout on two of these boards on a 64x64 Matrix... wink.gif
    I ordered another LED board last week and it should be here in a week or so...
    The propeller should be able to drive two of these boards in one cog since they can be chained...

    Once I step up to 64x64, I will add sound... wink.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Living on the planet Earth might be expensive but it includes a free trip around the sun every year...

    Experience level:
    [noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
    [noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
    [noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
    [noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
    [noparse][[/noparse] ] I dream in SX28 assembler...

    /Bamse
  • Lab RatLab Rat Posts: 289
    edited 2008-10-26 02:51
    wow that is crazy awesome that is like what i was trying to do but on a larger scale wow
    Can I Play lol

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Parallax posesses power beyond belief.

    Believe in it.
  • FranklinFranklin Posts: 4,747
    edited 2008-10-26 03:41
    Wins not winns

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    - Stephen
  • MikerocontrollerMikerocontroller Posts: 310
    edited 2008-10-26 07:01
    ·· I like it.
  • ForrestForrest Posts: 1,341
    edited 2008-10-26 12:57
    Impressive. Since you only need 5 bit's resolution (the LED display is 32 rows high), couldn't the Propeller read the pot resistance and to the conversion directly - without the MCP3008 A/D circuit?
  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2008-10-26 15:39
    Outstanding job!

    Well done.
  • BamseBamse Posts: 561
    edited 2008-10-27 02:37
    Thanks guys...

    The reason I went with the MCP3008 is that I had one laying around (free sample) and there already was an object for it in the Propeller exchange... tongue.gif

    I'm sure the Propeller can read the pots by itself...
    I really only use 6 bits of the 10 available anyway... smilewinkgrin.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Living on the planet Earth might be expensive but it includes a free trip around the sun every year...

    Experience level:
    [noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
    [noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
    [noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
    [noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
    [noparse][[/noparse] ] I dream in SX28 assembler...

    /Bamse
  • T&E EngineerT&E Engineer Posts: 1,396
    edited 2008-10-27 16:31
    You·should try their 5mm version of the 6432 board. It works identically even though the board has a different PCB layout. That would be something to see! I have one but at almost $70 it's a bit pricey. It has the same resolution but almost 4 times as large.
  • BamseBamse Posts: 561
    edited 2008-10-27 16:40
    A friend of mine got the large display so we are going to try it out on the 5mm as well... wink.gif
    I got two small ones in stead...

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Living on the planet Earth might be expensive but it includes a free trip around the sun every year...

    Experience level:
    [noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
    [noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
    [noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
    [noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
    [noparse][[/noparse] ] I dream in SX28 assembler...

    /Bamse
  • sullysully Posts: 8
    edited 2008-12-01 08:14
    good stuff!

    all you need now is a friend to play with!
    someone who can live with your habit.
    someone who can find joy in your creations even

    don't we all have the same problem? lol
  • HumanoidoHumanoido Posts: 5,770
    edited 2008-12-01 12:09
    You did a great job on this project!
    They way you powered all those LEDs
    seems magical.

    Keep up the excellent work and hope
    to see more projects from you.

    humanoido
  • BamseBamse Posts: 561
    edited 2008-12-01 19:25
    Thanks guys...

    This project is still being worked on and I have a playable 64x64 LED Pong using two of these boards...
    I put a speaker on there and tried a few sound effects, guess what, the good old Square wave is a must for Pong to get that old school beep effect... wink.gif

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Living on the planet Earth might be expensive but it includes a free trip around the sun every year...

    Experience level:
    [noparse][[/noparse] ] Let's connect the motor to pin 1, it's a 6V motor so it should be fine.
    [noparse][[/noparse] ] OK, I got my resistors hooked up with the LEDs.
    [noparse][[/noparse]X] I got the Motor hooked up with the H-bridge and the 555 is supplying the PWM.
    [noparse][[/noparse] ] Now, if I can only program the BOE-BOT to interface with he Flux Capacitor.
    [noparse][[/noparse] ] I dream in SX28 assembler...

    /Bamse
Sign In or Register to comment.