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

0 Members and 9 Guests are viewing this topic.

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Oscilloscope pong for 1 or 2 players.
« Reply #450 on: May 02, 2017, 02:51:03 pm »
Both boards are looking great!

Tim, glad to hear your eye is OK. With a board that size, can the ground plane sink enough heat for the regulators?

GK, it was interesting reading about the collision detection challenges. Looks like it's running really well.
TEA is the way. | TEA Time channel
 

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 8131
  • Country: ca
Re: Oscilloscope pong for 1 or 2 players.
« Reply #451 on: May 02, 2017, 07:15:47 pm »
Yes, the board looks excellent!  :-+

Will you be providing a quality .pdf before the GND pour for closer inspection?
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #452 on: May 03, 2017, 02:31:40 am »
Both boards are looking great!

Tim, glad to hear your eye is OK. With a board that size, can the ground plane sink enough heat for the regulators?

Yeah, it should be able to. The heatsinks I've chosen actually have solder pins, so heat will be transferred directly into the top and bottom copper pours, which should greatly increase their effectiveness. I've run some numbers and we should be good for a 15VAC to 18VAC input range with a constant 400mA output on both regulators.

Yes, the board looks excellent!  :-+

Will you be providing a quality .pdf before the GND pour for closer inspection?

Of course! I'll post a 600DPI PDF of the layout for review before ordering the test boards. :)
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Oscilloscope pong for 1 or 2 players.
« Reply #453 on: May 03, 2017, 03:11:40 am »
Both boards are looking great!

Tim, glad to hear your eye is OK. With a board that size, can the ground plane sink enough heat for the regulators?

Yeah, it should be able to. The heatsinks I've chosen actually have solder pins, so heat will be transferred directly into the top and bottom copper pours, which should greatly increase their effectiveness. I've run some numbers and we should be good for a 15VAC to 18VAC input range with a constant 400mA output on both regulators.

Great. I was curious because of Mike's comment regarding putting this into a low-profile enclosure. I'm not sure if he envisioned going lower than the heatsinks in the 3D drawing, but plenty of dissipation is good.
TEA is the way. | TEA Time channel
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #454 on: May 03, 2017, 11:14:34 am »
Your original hand drawn schematics didn't specify film


Whoops.  :-[

Okay, fixed!

Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Oscilloscope pong for 1 or 2 players.
« Reply #455 on: May 03, 2017, 11:22:07 am »
Both boards are looking great!

Tim, glad to hear your eye is OK. With a board that size, can the ground plane sink enough heat for the regulators?

Yeah, it should be able to. The heatsinks I've chosen actually have solder pins, so heat will be transferred directly into the top and bottom copper pours, which should greatly increase their effectiveness. I've run some numbers and we should be good for a 15VAC to 18VAC input range with a constant 400mA output on both regulators.

Great. I was curious because of Mike's comment regarding putting this into a low-profile enclosure. I'm not sure if he envisioned going lower than the heatsinks in the 3D drawing, but plenty of dissipation is good.

Right, I see now that he was asking about doing away with current vertical heatsinks and instead adding horizontal board mount ones, so the regulators could be folded over. I can't really do that as they take up a good deal more space, which I just don't have. If the user's case can't tolerate the height of the heatsinks (which are about 25mm tall)  they could always mount the transistors externally to the case itself and simply run wires between them and the board. That would solve the problem, right?

That would work well with a metal case. (For a plastic or wood case they'd need to mount the transistors to a largish heatsink to dissipate the heat.)

Anyway, here's the provisions to fold the filtering caps over:

« Last Edit: May 03, 2017, 11:32:40 am by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Oscilloscope pong for 1 or 2 players.
« Reply #456 on: May 06, 2017, 12:13:24 pm »
Another progress update:

Added short 20AWG jumper wires between the main power bus and each section, instead of direct trace connections. This will allow the ability for the user to disconnect, use a separate external supply or perform current measurements on each individual section, which should be super handy for debugging! It also allows me to easily route other nets between the two pads of the jumper, if needed.

I only plan to use these for power connections to each section. They can be seen in the following renders:





At my current rate of progress I should have the first full layout PDF up for review by the end of the weekend.
« Last Edit: May 06, 2017, 12:25:31 pm by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 
The following users thanked this post: tautech

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 8131
  • Country: ca
Re: Oscilloscope pong for 1 or 2 players.
« Reply #457 on: May 06, 2017, 12:21:21 pm »
Could have just as well made them 0.1ohm resistors, so placing a volt meter on them will allow current measurements.
 
The following users thanked this post: bitseeker

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Oscilloscope pong for 1 or 2 players.
« Reply #458 on: May 06, 2017, 12:39:25 pm »
Could have just as well made them 0.1ohm resistors, so placing a volt meter on them will allow current measurements.

Well, 100mOhm might be too low considering the current draw of a lot of the sections. 500mOhm might be more practical, however there are some complications with that; in some places, I have to daisy chain the power traces between sections, which means you could end up with a significant voltage drop. Using #20 wire works out a lot better, since the resistance is fairly low (tens of mOhms).

Originally I was going to use 0Ohm resistors, but ultimately a piece of wire is a lot less expensive, they have a very low voltage drop and allow a handy place to clip a probe as well!

You can still replace any of the wire jumpers with current shunt resistors if you want, as the footprints I've made will accept standard 1/4W resistors. (For footprints with 3.81mm or 5.08mm pad spacing the resistors could be placed in the vertical orientation, for 7.68mm and larger footprints the resistors could be placed in the normal horizontal orientation).




« Last Edit: May 07, 2017, 02:14:44 am by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline GKTopic starter

  • Super Contributor
  • ***
  • Posts: 2607
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #459 on: May 07, 2017, 01:27:41 pm »
Nice to see the board layout approaching fruition. Here is where I am currently at with the Video version. The paddle generators are complete, as is all of the control logic and the game is now completely playable. The photo below shows the video display immediately after power-up. A Power-on-reset timer automatically sets the score counters to zero and the system is put into the default mode; the velocity integrator is discharged and the ball movement integrators are set and held to initial conditions which result in the ball being presented stationary in the middle of the court. The system is now just waiting for the "serve ball" button to be pressed to initiate game play. When a player misses the ball and it travels off either the left or right hand side of the screen the opponents score counter is incremented.

There currently aren't any sound effects however, which really does make it a bit boring! The sound circuitry is up next. And after that all that will be left is the (already proven) video colour encoding circuitry and the power supply.



« Last Edit: May 07, 2017, 01:31:24 pm by GK »
Bzzzzt. No longer care, over this forum shit.........ZZzzzzzzzzzzzzzzz
 
The following users thanked this post: BillyD

Offline BrianHG

  • Super Contributor
  • ***
  • Posts: 8131
  • Country: ca
Re: Oscilloscope pong for 1 or 2 players.
« Reply #460 on: May 07, 2017, 01:41:02 pm »
 :popcorn:

 :-+ :-+ :-+ :-+ :-+ :-+ :-+
 :scared: Complete Madness!  :scared:
 :-+ :-+ :-+ :-+ :-+ :-+ :-+
 

Offline dr_dan

  • Contributor
  • Posts: 28
  • Country: gb
Re: Oscilloscope pong for 1 or 2 players.
« Reply #461 on: May 07, 2017, 02:17:20 pm »
Originally I was going to use 0Ohm resistors, but ultimately a piece of wire is a lot less expensive, they have a very low voltage drop and allow a handy place to clip a probe as well!

You can still replace any of the wire jumpers with current shunt resistors if you want, as the footprints I've made will accept standard 1/4W resistors. (For footprints with 3.81mm or 5.08mm pad spacing the resistors could be placed in the vertical orientation, for 7.68mm and larger footprints the resistors could be placed in the normal horizontal orientation).

Is it possible to make them all the same footprint, say the standard horizontally mounted 1/4W resistor footprint?

 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Oscilloscope pong for 1 or 2 players.
« Reply #462 on: May 07, 2017, 02:48:34 pm »
Originally I was going to use 0Ohm resistors, but ultimately a piece of wire is a lot less expensive, they have a very low voltage drop and allow a handy place to clip a probe as well!

You can still replace any of the wire jumpers with current shunt resistors if you want, as the footprints I've made will accept standard 1/4W resistors. (For footprints with 3.81mm or 5.08mm pad spacing the resistors could be placed in the vertical orientation, for 7.68mm and larger footprints the resistors could be placed in the normal horizontal orientation).

Is it possible to make them all the same footprint, say the standard horizontally mounted 1/4W resistor footprint?

The standard 1/4W resistor footprint I use everywhere on the board has a 0.75mm/1.5mm hole/pad size and 7.62mm spacing between pads. For the jumper wires I'm using a 1mm/2mm hole/pad size and have 5 different footprints with pad spacing from 3.81mm to 15.24mm. 20AWG wire is about 0.8mm in diameter, so it needs a bigger hole.

Like I said, a normal 1/4W resistor will still fit just fine in the bigger hole if you want to go that route, though you might have to install it vertically any place I used the 3.81mm or 5.08mm pattern, which I've only had to do in a few spots.

If you're worried about having to use a different size drill when making the boards by hand, it shouldn't be that big of a deal, really, as there's only about 20 or so jumpers on the board.

Here's an example image I made showing all 5 sizes of the footprints I've got with 30mil traces running under and between them:



I'm nearly done connecting all the sections to the power bus and the 7.62mm footprint is the most common by far, with 5.08mm being used three places and 15.24mm being used one place.

Keep in mind that 0Ohm resistors aren't actually zero ohm. Carbon ones can be close to 1Ohm in some cases! Metal film ones can be 250mOhm or more. I'd highly recommend using a piece of at least 22AWG wire as the jumper to avoid a significant voltage drop on some of the more current hungry sections. (I will be including 20AWG jumpers in the kit. You can actually buy them pre-cut and reeled the same way resistors come, they're only a couple of cent and should save a good deal of time.)





Damn, that's looking hot! Can't wait to turn that into a PCB! :}
« Last Edit: May 08, 2017, 02:54:53 pm by timb »
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #463 on: May 08, 2017, 02:53:45 pm »
Is it possible to make them all the same footprint, say the standard horizontally mounted 1/4W resistor footprint?

Just to clarify what I meant by being able to use a normal resistor in place of the wire jumpers:



As you can see pad spacing is the same, so using resistors won't be an issue.

In other news, I'm getting closer:



The external drive that I run my Windows 7 VM on died Saturday, so I spent a lot of time troubleshooting that instead of doing layout. Thankfully the new SSD will be here today (gotta love Amazon Prime).

Routing some of the nets has also taken a bit longer than originally anticipated. Now that I've got all the sections placed, I'm finding ways to optimize things, which means moving and rebuilding small pieces of some sections. It'll be worth it though, as I can do away with quite a few vias.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Oscilloscope pong for 1 or 2 players.
« Reply #464 on: May 08, 2017, 11:29:14 pm »
No worries, Tim. Appreciate all the time you've been able to invest into laying out the board.
TEA is the way. | TEA Time channel
 

Offline dr_dan

  • Contributor
  • Posts: 28
  • Country: gb
Re: Oscilloscope pong for 1 or 2 players.
« Reply #465 on: May 10, 2017, 07:20:57 pm »
Is it possible to make them all the same footprint, say the standard horizontally mounted 1/4W resistor footprint?

Just to clarify what I meant by being able to use a normal resistor in place of the wire jumpers:



As you can see pad spacing is the same, so using resistors won't be an issue.

Sorry for the slow response - busy at work this week. My reason for asking if they could all be the same footprint was twofold:
  • If you were to replace with resistors for current measurement purposes, it's easier to get probes or clips onto the two ends if the part is horizontal.
  • If they are all the same footprint they are easier to spot (you know what to look for).

It would also reduce the BOM if you were planning to supply pre-formed links as part of the kit.

Not a big deal either way - maybe I'm just a consistency freak... ;)
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #466 on: May 10, 2017, 08:06:18 pm »
Keep in mind that 0Ohm resistors aren't actually zero ohm. Carbon ones can be close to 1Ohm in some cases! Metal film ones can be 250mOhm or more.

That's interesting, I had always assumed they were just a solid piece of wire with a resistor form molded over. I wonder why they aren't.


 

Offline Gary350z

  • Regular Contributor
  • *
  • Posts: 241
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #467 on: May 11, 2017, 09:56:06 am »
Keep in mind that 0Ohm resistors aren't actually zero ohm. Carbon ones can be close to 1Ohm in some cases! Metal film ones can be 250mOhm or more.

A quick look on Digikey for 1/4W zero ohm resistors gives 11 results, some carbon film, some metal foil. All have resistance of 20 milliohms or less. :-//
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #468 on: May 11, 2017, 12:18:17 pm »
Keep in mind that 0Ohm resistors aren't actually zero ohm. Carbon ones can be close to 1Ohm in some cases! Metal film ones can be 250mOhm or more.

A quick look on Digikey for 1/4W zero ohm resistors gives 11 results, some carbon film, some metal foil. All have resistance of 20 milliohms or less. :-//

I said some. ;)

It generally happens with the cheap grab bags you get from eBay or Ali Express. In a lot of cases they simply remark the lowest normal value they produce (often 500mOhm or 1Ohm) as zero. Other times they're simply QC rejects that have a manufacturing flaw and are resold in these lots.

If you're purchasing direct from Digi-Key you should be alright.
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline Gary350z

  • Regular Contributor
  • *
  • Posts: 241
  • Country: us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #469 on: May 11, 2017, 01:06:03 pm »
Keep in mind that 0Ohm resistors aren't actually zero ohm. Carbon ones can be close to 1Ohm in some cases! Metal film ones can be 250mOhm or more.

A quick look on Digikey for 1/4W zero ohm resistors gives 11 results, some carbon film, some metal foil. All have resistance of 20 milliohms or less. :-//

I said some. ;)

It generally happens with the cheap grab bags you get from eBay or Ali Express. In a lot of cases they simply remark the lowest normal value they produce (often 500mOhm or 1Ohm) as zero. Other times they're simply QC rejects that have a manufacturing flaw and are resold in these lots.

If you're purchasing direct from Digi-Key you should be alright.

Good to know.
Sketchy ebay stuff. :scared:
 

Offline timb

  • Super Contributor
  • ***
  • Posts: 2536
  • Country: us
  • Pretentiously Posting Polysyllabic Prose
    • timb.us
Re: Oscilloscope pong for 1 or 2 players.
« Reply #470 on: May 18, 2017, 11:11:21 am »
Just wanted to let you guys know I'm back working on the board again. I ended up having some work come up at the beginning of last week and haven't had any free time the past week. Now that things have calmed down I can finish the board up. :)
Any sufficiently advanced technology is indistinguishable from magic; e.g., Cheez Whiz, Hot Dogs and RF.
 

Offline vinicius.jlantunes

  • Regular Contributor
  • *
  • Posts: 225
  • Country: br
Re: Oscilloscope pong for 1 or 2 players.
« Reply #471 on: May 18, 2017, 11:34:18 am »
Wow I hadn't seen this thread yet! This is terrific stuff!  :-+
 :popcorn:

Offline Mukrakiish

  • Contributor
  • Posts: 42
  • Country: 00
Re: Oscilloscope pong for 1 or 2 players.
« Reply #472 on: May 18, 2017, 01:03:36 pm »
Just wanted to let you guys know I'm back working on the board again. I ended up having some work come up at the beginning of last week and haven't had any free time the past week. Now that things have calmed down I can finish the board up. :)
That's great to hear! Can't understand much of who it works but dang is it fun to watch you guys build this piece of artwork.  :popcorn:
 

Offline bitseeker

  • Super Contributor
  • ***
  • Posts: 9057
  • Country: us
  • Lots of engineer-tweakable parts inside!
Re: Oscilloscope pong for 1 or 2 players.
« Reply #473 on: May 18, 2017, 06:04:28 pm »
Just wanted to let you guys know I'm back working on the board again. I ended up having some work come up at the beginning of last week and haven't had any free time the past week. Now that things have calmed down I can finish the board up. :)

Thanks for the update, Tim. I still get a chuckle from your pretentiously polysyllabic profile prose. An amusingly astute archetype of alliteration it is.
TEA is the way. | TEA Time channel
 

Offline HackedFridgeMagnet

  • Super Contributor
  • ***
  • Posts: 2035
  • Country: au
Re: Oscilloscope pong for 1 or 2 players.
« Reply #474 on: May 19, 2017, 09:08:44 am »
Thanks for the update, Tim. I still get a chuckle from your pretentiously polysyllabic profile prose. An amusingly astute archetype of alliteration it is.

Don't encourage him, he still has a job to do.  ;)
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf