Computer Display?


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Hi Ed,
    Not that I think it matters in this application but if you're going to use different gauge wire use the heavier gauge wire for the ground bus and the thinner for the power bus. The connection from the IC to the GND will be kept short, the connection from the IC to the power rail perhaps a little longer. The capacitor should be placed across the power supply pins of the IC and its purpose is to act as a local "power reservoir" for the IC as well filtering noise on the supply rail, bypassing it "down" to GND.

    It's very important but really not that complicated for the general stuff we're tinkering with.

    Here's a link to an article describing and showing how and why and here's a more technical app note from Analog Devices.

    /Henrik.

  2. #2
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Thanks Henrik!
    I basically understand what the intent is and from all the examples show the caps are mounted with equal lead lenghts which is where I became confused. (http://www.vagrearg.org/content/decoupling breadboard setup figure 4) Of course the ground will be connected directly to the ground pin of the I.C. It just seemed that with pulse widths indicating a frequency of 2.4 mhz that having parallel capacitor wires (caps on the 3.0 volt side and caps on the 5.0 volt side spaced about an inch apart and at a higher than ground potentials (3v and 5v) you would be inductively coupling the signals thus the need for a better understanding. Best, Ed

  3. #3
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Hi Ed,
    I don't really understand but I can say that there's no signals in that circuit with a frequency of 2.4MHz. The sensor is supposed to work with a 32768Hz clock signal (which I'm guessing you're generating with the CCP module in the PIC) and SPI communication runs at a couple of 100kHz at most (depending on the clock frequency of the PIC).

    Understanding is great but at this point you are just overthinking it. Supply power to you chips using as short wires as you can, place a capacitor across the supply pins of each chip - done. Voltage regulators usually wants/needs capacitors on both the input and the output, read the datasheet for the device in question.

    /Henrik.

  4. #4
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Thanks Henrik and you are right I probably am overthinking this and just trying to do the best possible job posible. About the 2.4Mhz, the Saleae Logic Analyser shows the pulses to and from the sensor. When you look at the pulses from the sensor the pulse width +5v to zero is narrow and the Logic Analyser says the frequency is 2.4 Mhz. Yes, I agree regulators need both input and output capacitors or they can oscillate, pluse you need a "reserve" for powering devices. Thanks again. Best, Ed

  5. #5
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Hi Ed,
    If there really ARE pulses with a frequency of 2.4MHz then I'd say that's a problem, note that the width of the pulses alone doesn't say anything about the frequency. Can you post a screenshot and tell us exactly where you're probing?

  6. #6
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Hi henrik!
    No idea what is going on I swear the analyzer showed 2.4mhz for the narrow pulse width and now when I go to do a screen shot it is much lower! Probably I was looking at the pulses before adding all the decoupling caps?

  7. #7
    Join Date
    Mar 2011
    Location
    Los Angeles, California
    Posts
    322


    Did you find this post helpful? Yes | No

    Default Re: Computer Display?

    Hi Henrik and all!
    Just an update. After rebooting my computer things settled down and became more reasonable. I did some intense research and it turns out the TXB0104 does not like a capacitance load on any of the output or input pins of more than 70nf! So while twisting the wires seemed like a good idea (suspecting noise) it just made everything worse! I cannot believe they would make a device with such limits! Also I got my 3.0v regulator and things again look good. Thanks. Best, Ed

Similar Threads

  1. Two Versions of MPASM in the Same Computer???
    By rsocor01 in forum mel PIC BASIC Pro
    Replies: 14
    Last Post: - 11th July 2011, 20:24
  2. PIC16F877A interface with computer
    By jonil22 in forum Serial
    Replies: 4
    Last Post: - 19th February 2008, 20:29
  3. Computer crash and PBP V2.45
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 24th January 2008, 20:57
  4. Some HID devcie on one computer
    By Shamir in forum USB
    Replies: 4
    Last Post: - 19th February 2007, 06:52
  5. read signal from computer
    By menhwa in forum Serial
    Replies: 1
    Last Post: - 18th February 2006, 04:28

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