sht75 code locked up


Closed Thread
Results 1 to 21 of 21

Hybrid View

  1. #1
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    In addition to Melanie, how about if you disconnect all pins of your SHT sensor and bypass it's own code?

    any available schematic?

    How far your SHT sensor is?

    Is your board send the voltage to your sensor?

    How? i mean, is there any buffer between your PCB and your sensor? case not, it's one other possibility of noise source.

    As i already commented about the SHT obscure code but you said it's working on a single bech... i just want to know what's happen when you bypass this section.

    Any PCB layout picture?
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  2. #2
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Default

    .......jjj

  3. #3
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by mister_e
    How far your SHT sensor is?
    Is your board send the voltage to your sensor?
    How? i mean, is there any buffer between your PCB and your sensor? case not, it's one other possibility of noise source.
    sht cable sheild length 3m.
    sht supplied +5v from my PCB without any buffer,and how can i put this buffer ,can you explain more.

    Quote Originally Posted by Melanie
    Is it because noise on the line is causing the chip to acknowledge at the wrong time or send garbage
    i tracked the problem and i found the problem from noise on the line , i tried to replace the sht cable with short one (0.5m) and the noise is cancled >.

    SO . can i run timer on the first sht code and stop it on the end of code , if the timer reached to the maximum time then reset the pic .

    Quote Originally Posted by Melanie
    Make sure the Battery isn't next to a contactor switcing kVA - the usual things...
    should i connect battary to ds1307 , in my pcb i connect battary pin to ground . is this the problem .

  4. #4
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Default

    ffff
    joiu

  5. #5
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Default

    srtttf
    fgfg

  6. #6
    microkam's Avatar
    microkam Guest


    Did you find this post helpful? Yes | No

    Default

    oooooo
    llll

Similar Threads

  1. Reading in Manchester code
    By brid0030 in forum Code Examples
    Replies: 0
    Last Post: - 10th March 2009, 21:55
  2. How much code space do PBP statements use.
    By Darrel Taylor in forum Code Examples
    Replies: 5
    Last Post: - 13th February 2009, 21:31
  3. Loop with two motor and 2 sensors
    By MrRoboto in forum mel PIC BASIC
    Replies: 4
    Last Post: - 8th December 2008, 23:40
  4. Making Program Code Space your playground...
    By Melanie in forum Code Examples
    Replies: 15
    Last Post: - 19th July 2008, 08:26
  5. Re-Writing IF-THEN-AND-ENDIF code?
    By jessey in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 18th August 2006, 17:23

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