Is there an area for hardware items?


Closed Thread
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Mar 2005
    Location
    Madison, WI, USA
    Posts
    20

    Default Is there an area for hardware items?

    I wonder if there is an area to post a hardware related question. I understand if the answer is No due to the fact it is such a large scope.

  2. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    Just shoot with your question... you never know it might be of interest to somebody somewhere... this section is pretty good in which to ask it...

  3. #3
    Join Date
    Mar 2005
    Location
    Madison, WI, USA
    Posts
    20


    Did you find this post helpful? Yes | No

    Default Hardware Problem

    After laying out and etching two boards and populating them with parts I now remember a problem I had a year ago trying to use two PIC16F84A's together on the same board. I finally got so frustrated with the business that I switched to another device with more pinouts (a 16F877, I think.)

    Last night I finally connected a secondary board with a PIC16F628A to the ground and 5VDC buses of a primary with another 16F628A. The primary has an LM7805 on it to source both PIC's. When tested apart, both boards run and test out perfectly.

    When I connect the secondary to the power buses of the primary, the PIC on the secondary board fails to operate. I have checked the Vss and Vdd pins on the secondary and I get 5VDC on Both!

    Here are the design facts:
    - Both 16F628A's are set to run on their respective internal clocks at 4MHz
    - Both 16F628A's have !MCLR enabled (pulled up with a 4700ohm external resistor) to be used as a manual pushbutton reset.
    - Comparitors ar disabled on both PIC's
    - I always solder a filter cap right under the socket across Vss and Vdd, in this case a mono. ceramic 1uF, 50v and did so on both PIC's.
    - Finally, I did not make the error of putting 5VDC on both pins of the power connector, and there are no circuit paths on the secondary board which would cause that. I am certain that all ground traces/pins end up at the 7805 center pin, and there are no shorts. The filter caps are the only bridges.

    This is really bewildering. I can't believe an industrial application of plc's wouldn't have a situation where multiple devices would be used together in the same sub-system so device isolation must be an art.

    Does anybody know why my PIC's don't ever play well together? Is there some harmonics problem between the two clocks that the filter caps. don't overcome? I've often wondered about this. I don't have the years of experience to recognize things like that (the art.)

  4. #4
    Join Date
    Feb 2003
    Posts
    432


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by afbecker
    When tested apart, both boards run and test out perfectly.

    When I connect the secondary to the power buses of the primary, the PIC on the secondary board fails to operate. I have checked the Vss and Vdd pins on the secondary and I get 5VDC on Both!
    Sounds like a problem with the ground trace to the second board.

    You say it works fine on its own, so is the terminal you are taking ground from on the first board somehow rising to +5v when the first board is running?

    Regards
    Keith

    www.diyha.co.uk
    www.kat5.tv

  5. #5
    Join Date
    Mar 2005
    Location
    Madison, WI, USA
    Posts
    20


    Did you find this post helpful? Yes | No

    Default More on 2 PIC NM

    Kieth,

    Well,

    I'll have to check that out this evening. It should be continuous to the 7805 center pin with no bridges but I could meter it nonetheless and see where that leads.

    I have had a reply from the MicroChip forum from a fellow who paralleled 4 PIC's together on the same bus and had no problems.

    My difficulty showed up at 1:00 a.m. so that may be part of it!

  6. #6
    Join Date
    Aug 2005
    Location
    Denver
    Posts
    25


    Did you find this post helpful? Yes | No

    Default

    If it was me, I'd establish one single point as ground, probably the center pin of the LM7805. Then I'd check all the possible points on both boards with a multimeter to see if there's any DC bias. I agree that it sounds like something is wrong in the power distribution or grounding.

Similar Threads

  1. < We need hints and tips area of forum >
    By electroken in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 19th December 2009, 16:34
  2. multiple serin/serout items
    By kenpo in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 27th April 2007, 23:47
  3. The Test Area Forum
    By Darrel Taylor in forum Forum Requests
    Replies: 3
    Last Post: - 1st July 2005, 18:35
  4. New Products & Sale Items
    By Bruce in forum Adverts
    Replies: 3
    Last Post: - 21st February 2005, 23:04

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts