Author Topic: Oscilloscope pong for 1 or 2 players.  (Read 108795 times)

0 Members and 1 Guest are viewing this topic.

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Oscilloscope pong for 1 or 2 players.
« on: March 13, 2017, 04:07:11 am »
EDIT: (4/4/17). For a complete set of schematics and equiv. diagrams collated into a single PDF document click: http://www.glensstuff.com/pong/Oscilloscope_Pong.pdf
--------------------


This weekend I started soldering discrete components together like a man possessed and this is what came of it.

There are four switchable modes of play:

1) Machine against machine
2) Player 1 against machine
3) Player 2 against machine
3) Player 1 against player 2

Player one controls the paddle on the left and player 2 the paddle in the right. The hand controllers are just zippy boxes each with a pot and knob, though the player 1 controller sports a "serve ball" momentary push-button. A match/game starts on the pressing of this button.

In the attached video (mode 2) I am playing against the machine, which is controlling the paddle on the right. The velocity of the ball begins at a slow and easy rate but in order to ensure a match cannot last forever, from the start of play the ball velocity linearly ramps up. It will continue for as long as the player(s) can keep up with it.
If either player misses the ball the match ends with a 150 Hz bzzztttt and the ball is automatically returned to the center of the court where it remains stationary until player one presses the "serve ball" button to commence a new match.

The sound in the youtube video is a bit quiet and you have to crank the volume up a bit to hear all of the sound effects.  :)


« Last Edit: April 04, 2017, 07:12:54 pm by GK »
 

Offline Elf

  • Regular Contributor
  • *
  • Posts: 177
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #1 on: March 13, 2017, 04:17:48 am »
Hah, they have something exactly like that at the Living Computer Museum (Seattle, WA).

Very nice!
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #2 on: March 13, 2017, 04:19:25 am »
The circuity is 100% discrete and built entirely "dead bug". With the exception of a 2N2219A/2N2905A complementary pair for driving the speaker, it's all BC550C and BC560C, a bunch of 2N5484 FETs for analogue multiplexing, lots of 1N4148 and a few zeners.  There is close to 200 transistors, I think; I haven't counted them yet.

I'm currently drawing up all of the schematic diagrams for presentation and collating them into a single multiple-page PDF document. I'm only currently half way through; some teasers attached. It's getting onto 4am now' I'm going to bed.







« Last Edit: March 13, 2017, 04:28:36 am by GK »
 
The following users thanked this post: Berni, SeanB, nctnico, richfiles, ebastler, harrimansat, pts92, Miyuki, jonovid, villas, frozenfrogz

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 2519
  • Country: ca
Re: Oscilloscope pong for 1 or 2 players.
« Reply #3 on: March 13, 2017, 04:21:34 am »
 :clap: I see you took my recommendation from you telefunken bouncing ball post a month or 2 back.
Great job.  I like the fact that you ball is round and you have a center court net while other oscilloscope pong games are nothing more than a dot for a ball with 2 paddles.

 :-+ Wow, that would drive me nuts trying to wire today.  In my high-school years, if I would have a scope at the time instead of an Atari 800, I would have attempted something like that for the challenge.
« Last Edit: March 13, 2017, 04:25:48 am by BrianHG »
__________
BrianHG.
 

Offline Howardlong

  • Super Contributor
  • ***
  • Posts: 4371
  • Country: gb
Re: Oscilloscope pong for 1 or 2 players.
« Reply #4 on: March 13, 2017, 04:21:53 am »
Maximum respect!  :-+ :-+ :-+
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #5 on: March 13, 2017, 04:23:51 am »


« Last Edit: March 14, 2017, 12:33:47 am by GK »
 
The following users thanked this post: SeanB, richfiles, ali6x944, pts92, jonovid, Vtile, Teuobk

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #6 on: March 13, 2017, 04:25:41 am »


« Last Edit: March 13, 2017, 03:41:31 pm by GK »
 
The following users thanked this post: SeanB, richfiles, ali6x944, pts92, jonovid, Teuobk

Offline sentry7

  • Regular Contributor
  • *
  • Posts: 138
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #7 on: March 13, 2017, 04:28:57 am »
Cleanest point-to-point execution for a scope pong game I think I will see for a while....it's definitely a 10. Kudos to you. William Higginbotham would have been proud. The video game industry in all of it's awesomeness started with this circuit.
 
The following users thanked this post: ali6x944, pts92

Online Rolo

  • Regular Contributor
  • *
  • Posts: 180
  • Country: nl
Re: Oscilloscope pong for 1 or 2 players.
« Reply #8 on: March 13, 2017, 04:38:26 am »
That is a piece of art. If you're done playing with it you can hang it on the wall. Well done !
 
The following users thanked this post: sentry7, pts92, BrianHG

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 2519
  • Country: ca
Re: Oscilloscope pong for 1 or 2 players.
« Reply #9 on: March 13, 2017, 04:42:47 am »
I have one minor addition for the analog computer player which might not be to difficult to incorporate.  Instead of making the paddle track instantly the balls vertical location, add an inductor/cap/adjustable resistor (the inductor is to give the computer player a life-like wave motion instead of just speed limitation) delay to fudge up the positioning of it's response giving the player a chance to win when the ball gets really fast.  Having a difficulty skill setting for the analog computer by setting how fast and accurate it's paddle responds...

Once again,  :-+ an amazing work.
« Last Edit: March 13, 2017, 04:50:43 am by BrianHG »
__________
BrianHG.
 

Offline sentry7

  • Regular Contributor
  • *
  • Posts: 138
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #10 on: March 13, 2017, 04:55:02 am »
I've studied for years on how back in the late 60s - early 70s, getting this circuit from the scope to TV was the Mt. Everest of the budding video game industry.

Allan Alcorn who was a young upstart at Atari and designed the original PONG in '72 talked about how Nolan Bushnell (then CEO) lied to him and told him that they had a contract with General Electric. He tricked him into getting a working prototype in less than a week! After that, Bushnell decided he wanted sound too!
 
The following users thanked this post: pts92

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #11 on: March 13, 2017, 05:20:07 am »
:clap: I see you took my recommendation from you telefunken bouncing ball post a month or 2 back.


Kinda. I was reading up on the original arcade video game ( https://en.wikipedia.org/wiki/Pong ) and found the schematics. That was all done in TTL. My first idea was to recreate the original TTL (logically) in discrete, but that would be more than I can spare the time for right now. So, drawing from my previous bouncing ball stuff I decided to do it analogue (well mostly) for display on a 'scope rather than a TV. The circuity here is entirely my own, BTW.


Quote
Great job.  I like the fact that you ball is round and you have a center court net while other oscilloscope pong games are nothing more than a dot for a ball with 2 paddles.

 :-+ Wow, that would drive me nuts trying to wire today.  In my high-school years, if I would have a scope at the time instead of an Atari 800, I would have attempted something like that for the challenge.


Thanks. My initial plan didn't include the court divider, but that was actually added as a circuit simplification when I finalised the display control logic. Instead of having a counter that goes 0-1-2-0-1-2, decoded to reset on 3, to display paddle, paddle, ball, I added a fourth object (the court divider) so that my counter could be simplified to a 2-bit ripple.

Now I really have to get to bed, the sun is going to start rising soon!  :)

« Last Edit: March 13, 2017, 05:27:36 am by GK »
 
The following users thanked this post: SeanB, pts92, BrianHG

Online DaJMasta

  • Frequent Contributor
  • **
  • Posts: 956
  • Country: us
    • medpants.com
Re: Oscilloscope pong for 1 or 2 players.
« Reply #12 on: March 13, 2017, 06:17:35 am »
Very cool, I can't for the life of me figure out why you'd want to do that dead bug style, though.  All those flying leads just make me think I'd drop a screwdriver on it or something and just be out of luck.  :-\


Anyways, I know polyester caps in an integrator is good form and all, but is that actually required for this application?  Is there enough fluctuation in other cap technologies for visible issues?



Still, very nice execution and great schematics - I think more than a few other people would want to build up this design.
 
The following users thanked this post: pts92

Online 2N3055

  • Super Contributor
  • ***
  • Posts: 1212
  • Country: hr
Re: Oscilloscope pong for 1 or 2 players.
« Reply #13 on: March 13, 2017, 09:00:56 am »
Respect!!!  :-+
 
The following users thanked this post: pts92

Offline ChristofferB

  • Frequent Contributor
  • **
  • Posts: 426
  • Country: dk
    • My blog:
Re: Oscilloscope pong for 1 or 2 players.
« Reply #14 on: March 13, 2017, 11:58:28 am »
Amazing manhattan-style craftsmanship! You must have the patience of a saint!
--Christoffer
Check out my scientific instruments diy (GC-FID, NMR, etc) tumblr:
https://chrisbnstuff.tumblr.com/
 

Online tautech

  • Super Contributor
  • ***
  • Posts: 12834
  • Country: nz
  • NZ Siglent Distributor
    • Taupaki Technologies Ltd.
Re: Oscilloscope pong for 1 or 2 players.
« Reply #15 on: March 13, 2017, 12:07:38 pm »
Thanks for sharing another of your neat projects with us GK.  :-+
Avid Rabid Hobbyist
 

Offline mmagin

  • Frequent Contributor
  • **
  • Posts: 612
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #16 on: March 13, 2017, 02:02:17 pm »
You built this in a single weekend?  I wish I was so insanely productive.  Wow.
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #17 on: March 13, 2017, 02:43:08 pm »
Yes, but I did all of the design work (drafted mostly in LTspice) the past week. Didn't get much else done this weekend though! ;D Slowly working through the re-drawn schematics........








« Last Edit: March 13, 2017, 03:18:43 pm by GK »
 
The following users thanked this post: richfiles, jonovid

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #18 on: March 13, 2017, 03:12:47 pm »
EDIT: Just corrected a small omission on the Ball Horizontal Movement circuit. Hmm............ think I'll put my pen and paper down for a bit now, log off and go off and eat something......

Offline james_s

  • Super Contributor
  • ***
  • Posts: 6242
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #19 on: March 13, 2017, 03:56:09 pm »
Holy crap! That's amazing!
 

Offline boffin

  • Supporter
  • ****
  • Posts: 661
  • Country: ca
Re: Oscilloscope pong for 1 or 2 players.
« Reply #20 on: March 13, 2017, 05:14:58 pm »
anyone else have the sudden urge to bow multiple times while chanting "we're not worthy" ?
Boffin at play https://snafu.ca/
 
The following users thanked this post: janoc, tautech, nugglix, Cubdriver, Keicar, ar__systems, BrianHG, 5321488, schmitt trigger

Online Berni

  • Super Contributor
  • ***
  • Posts: 1435
  • Country: si
Re: Oscilloscope pong for 1 or 2 players.
« Reply #21 on: March 13, 2017, 05:28:30 pm »
Now that is a amazing project right there! :-+

I know this can be done with one MCU and some resistors but it would not be anywhere near as cool. There is not even any opamps in there!
 

Offline JPortici

  • Super Contributor
  • ***
  • Posts: 2259
  • Country: it
Re: Oscilloscope pong for 1 or 2 players.
« Reply #22 on: March 13, 2017, 05:51:34 pm »
Sir, you are insane.

*takes a bow*
 

Online MK14

  • Super Contributor
  • ***
  • Posts: 2037
  • Country: gb
Re: Oscilloscope pong for 1 or 2 players.
« Reply #23 on: March 13, 2017, 06:25:11 pm »
It's amazing what can be achieved, with a modest pile of discrete transistors, some passives and a blank (copper) piece of PCB. I'm amazed (as well as at the whole project/game) at the quality/accuracy of the sound effects, the quality of the nicely sized round ball and the multi-mode capabilities, including a man vs analogue computer mode.
The picture quality is so smooth and stable, despite the fact it is analogue and made in a way which would worry me (short circuits etc).

If I was told about such a project, I would not have expected it to be analogue, have no integrated circuits, be made without a PCB, be so (relatively) neatly constructed or work so well and with such quality in measurable ways.
« Last Edit: March 13, 2017, 06:51:54 pm by MK14 »
 

Offline GK

  • Super Contributor
  • ***
  • Posts: 2443
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #24 on: March 13, 2017, 06:37:06 pm »
There is not even any opamps in there!


I count 9 op-amps!

;D


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf