6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Wed Oct 02, 2024 2:26 pm

All times are UTC




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Tue May 09, 2017 8:02 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
I know this has been covered ad nauseam...but I'm curious about something.

First, I have some of the Adafruit permaboards which are really high quality, if you ask me.

https://www.adafruit.com/product/590


For fun I'm going to wire up a very simple 650C2 computer. I have the CPU/RAM/ROM wired on ONE of those boards but there isn't enough room for the glue logic and I/O.

I've kept the wires as short as I can. The wires also seem to be very well insulated (insulation appears to be much thicker than my other wires).

I'm going to put another one of those boards off to the side and jumper over the data/address bus along with a few control signals.

I know people have done this many times (as have I) on solder-less breadboards. I know to keep the wires short. Also, I know this is NOT preferred. :-) But this is just for fun.


So, I started thinking...what if I wrapped a ground wire around each wire that goes off board? Kind of like a bunch of Twizzlers (lol) running over to the other board. Ribbon cable would be better for this...as I could alternate each data/addr line with a ground line. However, I don't have any ribbon cable I could use for this.

Would there be any benefit to that? Or, is it just a waste of time?

Oh, I forgot to mention, this computer will run at 1 MHz tops.

Thanks!

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 09, 2017 8:45 pm 
Offline

Joined: Sat Dec 13, 2003 3:37 pm
Posts: 1004
I was curious about this too.

Garth has mentioned, among others, that the big problem with breadboards has something to do with "capacitance", though I'm not sure quite what that means.

I was wondering if the soldered breadboards, like what you're talking about, innately suffer the same problem.

As to jumping from one board to another, why is that an issue? I appreciate the "keep the wires" show mantra, but are the lines going to necessarily be that much longer than what can be done on a custom board? For sure you can make a much more dense custom board, but we're not talking about 12" leads arcing through the air year.

Consider the W65C265SXB board. You have the CPU in the middle(ish), with wires heading to the pins on the side of the board. Were you to plug in a daughter card, you'd then have those leads running up through the connector, and then back to whatever it is you're wiring to. That can easily be 2-3" of wire run in that case. Now, those traces are finer than hookup wire. And, no doubt, taken to an extreme, there are limits. But is that 2-3" within those limits? and why would those same limits not apply to two breadboards being hooked together. And this is for a ~4MHz device, or potentially an 8MHz if you get the other, pure '816 board (which is even larger than the W65C265SXB).

Is it partly the nature that the wire is not bonded to the board, or is a wire an antenna whether bounded to the board, or simply soldered in to the top of it?

What about using a normal proto board for the extra board? Also, part of the issue is simply the added space from the (ostensibly) unused rows of connections. Perhaps you can cut the boards thinner, so as to make them closer together.

Speaking of proto boards, how are they used? I can see how you solder the component to the individual pads, but how are the pads linked together? They're all discrete.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 09, 2017 8:52 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
whartung wrote:
For sure you can make a much more dense custom board, but we're not talking about 12" leads arcing through the air year.


I'm actually making some boards. This topic isn't anything about that. The reason I'm wiring this prototype on the Adafruit boards is (other than just for fun) because that's what I have on-hand.

This is just a little weekend (or two) project I'm doing.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Tue May 09, 2017 9:28 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
cbmeeks wrote:
The wires also seem to be very well insulated (insulation appears to be much thicker than my other wires).

The thickness of the insulation doesn't really matter in this case.

Quote:
I started thinking...what if I wrapped a ground wire around each wire that goes off board?

Twisted pairs are great, as long as both ends of the ground wires are connected to ground near the pins of the ICs that use those signals.  It's most important on the clock signal.  Twisted pairs (signal line twisted with a ground line) is partly how Cat-5 cable can handle such high data rates over long connections.  The Cray-1 computer which ran at 80MHz had an incredible quantity of long wires but they were twisted pairs.  Mutual inductance between the two wires of the pair causes the return current to flow through the ground wire right there, not other ground wires or the signal wires that are twisted with them, and it cuts the inductive and antenna effects of each wire.  Ribbon cable with every second wire grounded does basically the same thing.

Quote:
this computer will run at 1 MHz tops.

If you're using 1MHz parts, you can get away with murder.  If you're using 16MHz parts, it may not be so easy.  This is because of the rise times, not the frequency.  The clock line is the most important to keep clean however.  There's more explanation, with a video showing the effect of frequency, at viewtopic.php?p=51516#p51516 .

Quote:
Garth has mentioned, among others, that the big problem with breadboards has something to do with "capacitance", though I'm not sure quite what that means

There is more capacitance between the contact rows on the solderless type of breadboards; but the bigger enemy is inductance.

If the parts are not particularly fast, and you keep your wires to the next board short, I'm sure you'll do fine.  I would still do a twisted pair at least for the clock line.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Wed May 10, 2017 1:14 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1228
Location: Soddy-Daisy, TN USA
Thanks for the tips Garth.

That's a good call on the clock signals. I will certainly twist them with ground wires.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 12, 2017 11:55 am 
Offline

Joined: Tue Nov 01, 2016 12:28 pm
Posts: 59
GARTHWILSON wrote:
Twisted pairs are great, as long as both ends of the ground wires are connected to ground near the pins of the ICs that use those signals. It's most important on the clock signal. Twisted pairs (signal line twisted with a ground line) is partly how Cat-5 cable can handle such high data rates over long connections.


Cat5 when used for networks is not a signal and ground, it is a differential signal running through each pair, much different than signal and ground.


Top
 Profile  
Reply with quote  
PostPosted: Fri May 12, 2017 7:40 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
EugeneNine wrote:
GARTHWILSON wrote:
Twisted pairs are great, as long as both ends of the ground wires are connected to ground near the pins of the ICs that use those signals. It's most important on the clock signal. Twisted pairs (signal line twisted with a ground line) is partly how Cat-5 cable can handle such high data rates over long connections.

Cat5 when used for networks is not a signal and ground, it is a differential signal running through each pair, much different than signal and ground.

Ah yes, I forgot it's differential.  However, as far as the AC signal is concerned, it's basically the same thing, because the twisted pair turns an unbalanced signal balanced (assuming it's long enough), so it becomes a differential pair at the other end.  The wire that was grounded at one end can be considered "floating" or "elevated" at the other, because the transmission line formed by the twisted pair forces the current in the two wires to be equal in magnitude and opposite in direction.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun May 14, 2017 12:02 am 
Offline

Joined: Tue Nov 01, 2016 12:28 pm
Posts: 59
it doesn't matter what the signal looks like on the wires unless you have a differential amp and transmitter, thats what makes it work, you have to have two ac signals, one on each wire and 180 degrees out of phase.


Top
 Profile  
Reply with quote  
PostPosted: Sun May 14, 2017 3:27 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
EugeneNine wrote:
it doesn't matter what the signal looks like on the wires unless you have a differential amp and transmitter, thats what makes it work, you have to have two ac signals, one on each wire and 180 degrees out of phase.

That's what he transmission line turns it into, two equal-amplitude signals, 180° out of phase, assuming it's long enough.  (If it's very short, like an eighth of a wavelength, you would need to put a ferrite core over the pair.)  One conductor may be grounded at one end, but at the other end it has just as much signal as the other conductor.

You can do some really cool stuff, like this:
Attachment:
XmissionLineBalun.gif
XmissionLineBalun.gif [ 8.02 KiB | Viewed 3262 times ]

(This is from a seminar from when I was working in RF, as is the next diagram.)

Any conductor has inductance.  In the transmission line, current going through one conductor faces an inductive impedance from having to build up a magnetic field around it.  The impedance, by definition, pushes back; but if the other conductor is right there, it pushes back in that one just as hard, because of mutual inductance.  If it can make the make the same current flow in the second conductor but in opposite direction, the net current at that point is zero, so there's no "pushback" fighting the signal.  For really short transmission lines, putting a ferrite bead over the pair of conductors, or putting the pair through a toroid, improves this effect.

When I worked in applications engineering at the VHF/UHF power transistor manufacturer, we sometimes made 4:1 or 9:1 transformers with coax.  Here's how a 4:1 is connected:
Attachment:
4to1X4mr.gif
4to1X4mr.gif [ 25.66 KiB | Viewed 3262 times ]

Again note that although one conductor is grounded at one end, it's the signal at the other end.

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


Top
 Profile  
Reply with quote  
PostPosted: Sun May 14, 2017 6:29 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8409
Location: Midwestern USA
GARTHWILSON wrote:
When I worked in applications engineering at the VHF/UHF power transistor manufacturer, we sometimes made 4:1 or 9:1 transformers with coax. Here's how a 4:1 is connected:

Attachment:
4to1X4mr.gif

Again note that although one conductor is grounded at one end, it's the signal at the other end.

It was commonplace aboard ship for fixed length whip antennae (usually 35 feet) to be attached to radio transmitters with very wide frequency ranges, usually from 50 meters to 10 meters. As best energy transfer occurs between transmitter and a whip antenna when the whip is a quarter-wavelength, means had to be provided to achieve such a condition. The fact that the whip was bolted to a grounded steel ship effectively made the antenna system look a lot like a dipole, although it didn't operate in that fashion

The solution took the form of a sophisticated antenna adapter made by Collins which essentially did what you were doing with your coax "transformers." The adapter wound and unwound a silver plated strip onto a drum (an adjustable inductor) in such a way that the whip appeared to be "longer" or "shorter" according to the frequency on which the transmitter was operating. It was easy to see when a good match was achieved during CW transmission, as the final plate current would sharply dip and the field strength meter we used to assess transmitter performance would sharply peak up.

The Collins box also included an adjustable capacitor, which was used to aid in matching the 50 ohm characteristic impedance of the transmitter output and the coax cable as closely as possible. An impedance mismatch would also cause a rise in final plate current, but also bring on significant harmonic distortion, which a trained operator could readily hear in the received signal. Therefore, coordinated use of drum and capacitor was required to correctly load the transmitter.

Both voice and data were transmitted with SSB suppressed carrier, sometimes with voice on the lower sideband and encrypted data on the upper (I no longer recall the reason, but the upper sideband was considered better for data flow). A 2KW transmitter could operate around the world with this setup, even during daylight hours.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: