How much breadboard is too much breadboard?
escher
Posts: 138
After implementing a high bandwidth signal between two Props, I started getting some nondeterministic behavior with my setup consisting of 3 separate interconnected breadboards - video dropping out, props resetting, etc.
At this point I have to conclude that the parasitic inductance caused by the dozens of large signal loops (combined with the breadboard's notoriously poor noise and high frequency handling) is the culprit.
But what other options are there for clean, rapid, plug and play prototyping? Vector and perf boards all require time consuming and messy soldering or wire wrapping etc.
Thoughts?
Fun fact: your smartphone's high speed video mode is an excellent tool for debugging video issues which only occur during periods of movement. But now I'm out of storage space...
Comments
However I would at least solder the Prop, the caps, and the crystal to a small matrix board and then plug it in or failing that, just solder the caps and crystal directly onto the top of the Prop package and be done with it quickly and surely.
BTW, despite being plugin breadboard, it looks neat and impressive. It brings back memories of Humanoido and his "Big Brain".
Another thing, don't daisy chain your grounds but run them separately back to a common point where the power feeds in.
Whoa lot of good info in here, slow down...
I followed the recommended circuit from the prop documentation, don't remember any decoupling caps. Where and why would I include those?
What are you referring to when you talk about the "bus strip" and the crystal?
And where am I daisy chaining ground paths?
Thanks!
Especially on Prop and also one all other chips...
Filter/decoupling/bypass capacitors are ALWAYS required for any digital circuitry otherwise it will fall victim to its own switching transients which occurs when signals go high/low. So you must have them and you can google up some more information or check this one. If you work with digital circuitry, do not skip these fundamentals, they are very important but you can be forgiven because I have had "qualified" electronic engineers work for me that never knew any of this, to my absolute shock, horror, and wonder.
When you have those horrible plugin breadboards they are made up of strips of metal forming fingers at each hole. There is a strip of 4 or so for each "pin" that you plug in plus there are the long strips on the outside that are used for power and (a horrible) ground. These long strips are your "commons" or as I just called them "bus strips".
If you can at the very least get some of these bypass caps onto the board in the way that I mentioned you may have some hope of it working more reliably.
Normally, you should have 0.1uF decoupling capacitors across each pair of Vdd/Vss pins, one for each side of the chip, preferably adjacent to the package or underneath the package. On PCBs, these pairs of pins are paralleled under the chip. Minimally they should be connected via very short leads.
System clock time is normally 50ns and some signals internal to the chip can switch faster. Rise and fall time can be on the order of nanoseconds and light (and power) doesn't move very far that fast. The decoupling capacitors help supply power to different parts of the chip over this sort of timeframe ... if the leads are short enough.
Thanks to you and @"Peter Jakacki" for the info!
If I'm only powering a Prop via one set of VDD/VSS pins, why would I need to decouple the other set as well?
There is an acronym "RTM" that you may have come across. It stands for "Read The Manual" although you may find the ruder and more exasperated equivalent "RTFM".
This is really important if you want stuff to work, and to work reliably and well. ALWAYS connect all power and ground pins of a chip otherwise suffer the consequences which can lead to a fried chip. ALWAYS connect up bypass caps as described or suffer the consequences. These requirements are no different to say "supply voltage of 3.3V" because you may know that if you decide to connect 5V or 12V even to the chip that it will not accommodate your foolishness for very long or even for a second.
I believe the Propeller Education Kit (using the DIP package and a breadboard) was designed before complaints started coming in of chips that would work when running from either RCFAST or RCSLOW, but wouldn't work using a crystal as a clock source. You could download programs to them (uses RCFAST), but the chip didn't seem to work otherwise. This occurred when power was supplied to only one or possibly two Vdd/Vss pairs and only one decoupling capacitor ... noise in the power source and voltage drops across the chip caused some structures to be stressed to the point of failure. Adding the decoupling capacitors and parallelling the Vdd/Vss connections fixed the problem.
Thanks for the info everyone! Added in all the decoupling caps and the behavior disappeared as I'm sure you all expected it would!
This is just a test setup, and I'll have my next test bench caps be minimum pathed to the pins instead of across the commons, but even in this rudimentary setup the system is now stable!
BTW, that lower set of caps look like they are totally ineffective. Do make sure you connect all the power and grounds.
Yep that realization smacked me in the face while I stared at the picture haha.
Make the leads as short as possible and the capacitor as close to the pin as possible.
This usually means the cap bridges over the chip, which is a little annoying, but means
the decoupling will be sound, not flaky.
For large assemblages of fast logic on breadboard like this its probably wise to use a ground-plane under them all,
and keep all the jumpers short and neat - this means cutting each one to size from a spool of single
strand hookup wire - this keeps all the wires low to the ground plane and reduces crosstalk
and noise pickup a lot.
If you are doing low frequency analog stuff you do not need so many precautions, but fast
logic is damn fast and its easy to get erroneous clocking in a rats-nest setup. dV/dt is ~ 1GV/s
for CMOS logic signals, that means its easy to get cross talk through small amounts of stray
capacitance. Keep wires as short as possible, avoid large loops. Plenty of ground wires to
form a mesh across the breadboard will also help provide low inductance return current paths.
Sometimes I use the probe of a wire tracer to listen for electrical noise. An oscilloscope would be ideal but since I don't yet have one the probe has helped me troubleshoot circuits on occasion.
If your name is AtomicZombie, you can do this on a breadboard at 25 Mhz with 74HC and a AVR.
https://avrfreaks.net/forum/avr-helps-out-vulcan-74-7400-logic-vga-mega-game-system
For Parallax's recommended Wiring of the breadboarded dip propeller see:
Figure 3-6 page 2 of "32305-PEKit-40-PinDIP-Enhancements-v1.0.pdf" or
Figure 3-9 page 38 of "122-32305-PE-Kit-Labs-Fundamentals-Text-v1.2.pdf".
Source - Parallax Shop - "Propeller Education Kit - 40-Pin DIP Version"
Product ID: 32305
>Downloads & Documentation
The DIP prop chip only has 2 power connections, the QFP & QFN have 4 sets.
DO NOT ONLY POWER ONE SET OF POWER PINS !!!!
Power and ground pins are there for a reason. The sure way to blow the PLL inside the prop chip is to not connect all power and ground pins and not decouple each pair.
" Read the 'fine' manual"
Back in the day quite a few products were produced using wire wrap. Computers and keypunches are two I got all too familiar with. There were even articles in the IEEE pubs that talked about "the thickness of the nap" limiting the size and power of computers.
Of course that was in the days of using discrete transistors and very early IC's.
I have seen wire wrap used in many production runs. Especially of backplanes on racks full of boards.
All those nice wire wrap sockets were always too expensive for me to use in hobby projects.
And in fact I have one for the I8080, and the author strongly advocated for wire-wrapped sockets.
In fact my current project will be around a RasPi Zero W, rig, and its supported modules will all be wire-wrapped.
Since we're beginning to drift seriously off topic, what say we correct that drift and return to discussing why the original idea has merit, but also some problems, eh?
Awesome resources, thanks! Why aren't these diagrams in the P8X32A base datasheet?
I did come across this, but I haven’t tried it yet:
http://www.roadrunnerelectronics.com/epages/BT3782.sf/en_GB/?ObjectPath=/Shops/BT3782/Categories/Wiring_Pencils