Shop OBEX P1 Docs P2 Docs Learn Events
I keep painting my self in to a corner — Parallax Forums

I keep painting my self in to a corner

ZetsuZetsu Posts: 186
edited 2012-12-07 07:45 in General Discussion
I am trying to layout a pcb and its going terrible... I get 3/4 the way done and find i have painted a part into a corner ( cant hit + power rail on my pcb without crossing - ). Anyone have tips suggestions on doing this. ( currently I am just laying out parts how I would think they would best fit then attempting to connect them up.

First thing i did was layout the Power supply on the board (including traces), then attempted to add in the EEprom, and the prop (including traces), then add in the extras...
I never make it past phase two....

I would of attached the actually eagle files, but I am not where I can access them.

Also is it wise to run traces so close to pads as I have done in some areas ???
1024 x 423 - 36K
1024 x 417 - 69K

Comments

  • ElectricAyeElectricAye Posts: 4,561
    edited 2012-12-05 12:13
    If it's only one or two parts, you could always do what I do: just leave holes for soldering in a jumper wire. It's not elegant, but it's better than letting the project get you down.
  • ZetsuZetsu Posts: 186
    edited 2012-12-05 12:17
    If it's only one or two parts, you could always do what I do: just leave holes for soldering in a jumper wire. It's not elegant, but it's better than letting the project get you down.

    I have been thinking about that for a while, Or if i could find boards that are double sided that work with Photo Resist etching. Now I know how one of those rats in a maze feels like, just I have the ability to move around walls...
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-12-05 12:19
    Just add a zero ohm resistor to jump over the problem. What's a zero ohm resistor? A piece of insulated wire. This the same as using two pads and a jumper wire, but the auto-router in the software is happier thinking it is a resistor.

    You first few boards are going to be ugly and may have some surprises. Exactly how close to pads are you running wires? I sometimes run the wires between the pads and it works okay.

    A double sided photo-resist board can be found, but it is tricky to get both sides lined up. I expose one side. Then drill holes for a couple of items in opposite corners and then have to match those drilled holes to the transparency when I expose the other side.

    I suppose one could make sure two adjacent edges were perfect and do it that way. But you might as well save your money and learn the first few on single sided boards.
  • ZetsuZetsu Posts: 186
    edited 2012-12-05 12:22
    ^ :lol:
  • SRLMSRLM Posts: 5,045
    edited 2012-12-05 12:43
    I suggest that you place all the components first, and visualize the PCB traces between them. Your goal is to minimize the number of crossed rats nest wires. Only then do you lay out the traces.

    I also suggest that you try an autorouter such as Freerouter. This will tell you if it is even possible to route your board.
  • ZetsuZetsu Posts: 186
    edited 2012-12-05 14:28
    Right on ill check that out, One thing i noticed about Eagles auto routing and just its airlines. It wants to do weird things with my traces going back to - .
  • LawsonLawson Posts: 870
    edited 2012-12-05 16:32
    If you're willing to route between pins and hide resistors inside an open-frame DIP-40 socket, the attached routing is a single layer prop system with 3.3v and 5v regulators, bypass-capacitors, eeprom, programming connector, and easy access to all I/O pins. (the green hatched area is a copper plane) The 3.3v buss is pretty well trapped, so a jumper or two will likely be needed to connect to anything besides the propeller.

    Lawson
    315 x 832 - 21K
  • kwinnkwinn Posts: 8,697
    edited 2012-12-05 17:48
    For a simple board that only needs a few jumpers try the following to minimize them.

    When designing the circuit take the layout into account when selecting the chips.
    For example the 74HC240 octal buffer has 4 inputs and 4 outputs on each side of the chip while the functionally equivalent 74HC540 has all the inputs on one side and the outputs on the other side. The same is true for some of the other 5xx chips. Makes layout much simpler at times.

    Use a wire jumper for the negative and positive supply that can also be used as a test point for debugging/troubleshooting the circuit by putting a loop in the jumper wire.

    The same can be done for signals, so select signals to be jumpered with this in mind whenever possible.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-05 19:05
    1. Place your components first
    2. Click on the Auto button
    3. Under the General tab, sub-item Top, select N/A, and for Bottom, try different settings. One may be successful.
    4. Additionally, if all the Bottom settings are unsuccessful, go to the DRC, and try altering the clearances, this could change everything.
    EDIT: After placing the components, hit the Ratsnest button, which should show you obviously wierd placements. Rearrange obvious blunders, perhaps just rotating a few parts.
  • RDL2004RDL2004 Posts: 2,554
    edited 2012-12-06 07:39
    I only used a 3.3 volt regulator, but I got it all single sided except for a couple of jumper wires. With a bit of rearranging, you can get it down to just one jumper.

    http://forums.parallax.com/showthread.php?143250-Basic-Propeller-circuit-on-a-proto-board
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-12-06 08:16
    Generally, if you are doing a one-sided board, you have to figure out a way for your power distribution to not conflict with your data i/o.

    I often try an up-the-middle approach. Or try to have a separate island for voltage regulation and the rest for whatever the ICs force me to do.
  • Duane C. JohnsonDuane C. Johnson Posts: 955
    edited 2012-12-06 08:42
    Even a "Single Sided" board is in reality a very simple "Double Sided" board.
    The second side is used as a ground plane.
    This ground plane often greatly simplifies the signal side by getting rid of the pesky ground foils.
    Besides, the solid ground plane is much superior in terms of supply noise.

    Note!! After drilling all the holes a "Chamfer" bit, a little larger drill bit, is used to remove the copper around holes where the pins are not to be connected to the ground plane.

    Another trick is to convert DIP packages to gull wing for surface mount soldering. The few pins that do use ground are left strait and go through to the ground plane on the bottom side.

    Duane J
  • idbruceidbruce Posts: 6,197
    edited 2012-12-06 13:55
    Okay, I have a question.

    The traces from Pins 30 and 31 going to the four pin header have two resistors branching off and going to ground. Why do you have these resistors?

    Bruce
  • Peter KG6LSEPeter KG6LSE Posts: 1,383
    edited 2012-12-06 18:30
    Another trick is to convert DIP packages to gull wing for surface mount soldering. The few pins that do use ground are left strait and go through to the ground plane on the bottom side.

    AMEN ! .. its the only way I make my home brew stuff..


    Peter..
  • SRLMSRLM Posts: 5,045
    edited 2012-12-06 19:39
    idbruce wrote: »
    Okay, I have a question.

    The traces from Pins 30 and 31 going to the four pin header have two resistors branching off and going to ground. Why do you have these resistors?

    Bruce

    It's probably for the FTDI reset issue: http://forums.parallax.com/showthread.php?116711-Can-Parallax-do-something-about-the-FTDI-reset-bug (ps: I think they are pull ups, not pull downs)
  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2012-12-06 20:34
    I always recommend that P30 and P31 (along with P28 and P29) be pulled up to Vdd. It eliminates the reset issue and establishes a default MARKing condition on the serial lines when the Prop's pins are tri-stated.

    -Phil
  • lanternfishlanternfish Posts: 366
    edited 2012-12-06 20:35
    ....

    Another trick is to convert DIP packages to gull wing for surface mount soldering. The few pins that do use ground are left strait and go through to the ground plane on the bottom side.

    Duane J

    I used to do the gull wing thing but it never crossed my mind to leave the ground pin(s) as suggested. Brilliant in it's simplicity. Thanks Duane.
  • idbruceidbruce Posts: 6,197
    edited 2012-12-07 04:59
    @SLRM - Thanks for pointing that out, because I had forgotten all about the reset issue and that thread, although I never completely understood it like the gurus.

    @Phil
    I always recommend that P30 and P31 (along with P28 and P29) be pulled up to Vdd. It eliminates the reset issue and establishes a default MARKing condition on the serial lines when the Prop's pins are tri-stated.

    In the thread that SLRM referenced, I now see your advice:
    I've always advocated for 4.7K pull-ups on P28..P31. Just one two-cent quad-pack resistor is all it takes. Even without the buffer, it will cure the reset problem, too, but not in a very nice way.

    EDIT: I am glad I asked that question, and thanks for the responses. Now I have to break out the crowbar and fix one of my schematics and layout. :(
  • ZetsuZetsu Posts: 186
    edited 2012-12-07 05:44
    idbruce wrote: »
    Okay, I have a question.

    The traces from Pins 30 and 31 going to the four pin header have two resistors branching off and going to ground. Why do you have these resistors?

    Bruce

    I think that's eagle doing something strange...
    I have some resistors ( they should be pull ups) that are on the sda and i think its called the sdl lines ? for the i2c circuit. Its preventing the prop from power cycling, when a computer isn't plugged into the usb-plug. Unless You are talking about something else and I just didn't see what you meant.
  • ZetsuZetsu Posts: 186
    edited 2012-12-07 05:47
    I am hoping to finish this, this weekend. If so Ill update with pictures of final product, and if it worked without starting a fire lol ;x
  • LoopyBytelooseLoopyByteloose Posts: 12,537
    edited 2012-12-07 07:10
    You schematic doesn't look like a Parallax Propeller to me. I can't be sure. But if you have two V+ and two Gnds, you should connect both and provide decoupling capacitors on both. If you don't do this with a Propeller, you may actually damage it.
  • ZetsuZetsu Posts: 186
    edited 2012-12-07 07:45
    You schematic doesn't look like a Parallax Propeller to me. I can't be sure. But if you have two V+ and two Gnds, you should connect both and provide decoupling capacitors on both. If you don't do this with a Propeller, you may actually damage it.

    It is a Propeller I just have not finished the PCB layout to show the coupling across the chip.
Sign In or Register to comment.