Barometer Pressure Module HOPE HP03


Closed Thread
Results 1 to 14 of 14

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136

    Default Barometer Pressure Module HOPE HP03

    I 'm after some advice on wiring up the HP03 chip.

    The device has 6 pins:
    1. Vss
    2. Vdd
    3. MCLK. Master clock input, 32768Hz
    4. XCLR. ADC re-set
    5. SDA. IIC comms, data
    6. SCL. IIC comms, clock

    First question - the wiring diagram in the spec sheet shows the device connected to a MCU with a 32768Hz Xtal i.e. both the MCU and the HP03 share the same clock frequency. Is this necessary? Or, can the MCU run at, say 20MHz and the 32768Hz be provided to the device from another source?

    Second Question - Vdd is specified as 2.2 - 3.6 Volts. Vdd Absolute max is 4 Volts. The ratings for the other pins are not given in the spec sheet. Are they '5 Volt tolerant' ?

    Regards Bill Legge

  2. #2
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bill Legge View Post
    Or, can the MCU run at, say 20MHz and the 32768Hz be provided to the device from another source?
    The I²C clock is usually supplied from a pin on the MCU.
    Quote Originally Posted by Bill Legge View Post
    The ratings for the other pins are not given in the spec sheet. Are they '5 Volt tolerant' ?
    Not likely. Always assume they are not unless explicitly stated in the datasheet.

  3. #3
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136


    Did you find this post helpful? Yes | No

    Default I2c

    DHOUSTON

    Thanks for you comments.

    1. The normal I2C clock is the SCL pin - and I agree it is driven by the PIC MCU. The 32768 Hz is needed by the MCLK pin and does something for the A to D process.

    2. The question of the 5 volt tolerance of the chip - after a day of digging round on the web - seems to agree with your view. Philips has a good application note on bi-directional level shifting for the I2C bus (AN97055). I'll give it a go using 2N7000 MOSFETs

    Regards Bill Legge

  4. #4
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,611


    Did you find this post helpful? Yes | No

    Wink

    Hi, Bill

    I'd recommend you to have a look to Intersema MS 5534 sensor ...

    If the pinout is not the same, internal diagram, functionning principle and features are very-very-very close to the HP 03 ... ( no, i didn't say it ... lol )

    Also you will find ANs and tricks on the Intersema site :
    http://www.intersema.ch

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  5. #5
    Join Date
    Dec 2005
    Posts
    1,073


    Did you find this post helpful? Yes | No

    Default

    Quote Originally Posted by Bill Legge View Post
    1. The normal I2C clock is the SCL pin - and I agree it is driven by the PIC MCU. The 32768 Hz is needed by the MCLK pin and does something for the A to D process.
    In this case I'm sure you can use separate clock sources - there's no reason why the ADC clock would need to be synced with the MCU clock. You can probably use the 16F88's PWM to supply the ADC clock. It would simplify things to run the PIC at 3.3V.

    How much does the sensor cost? Where can you buy them?
    Last edited by dhouston; - 10th June 2009 at 16:06.

  6. #6
    Join Date
    May 2004
    Location
    NW France
    Posts
    3,611


    Did you find this post helpful? Yes | No

    Wink

    Hi, Dave

    I have a Barometer/Altimeter/Tempmeter/Clock with a 5534, running here ...

    The Pic and the sensor are powered from a 3v regulator ( ICL 7663 )
    32,7 Khz clock is derived from the PWM module of the PIC ( both 16F876 ( LCD 2x20 ) or 18F452 ( GLCD 122x32 ) projects ... )

    The only thing to remember is to have a STRONG Decoupling of the sensor supply : 47µF + Tantalum is recommended for reliable work.

    Alain
    ************************************************** ***********************
    Why insist on using 32 Bits when you're not even able to deal with the first 8 ones ??? ehhhhhh ...
    ************************************************** ***********************
    IF there is the word "Problem" in your question ...
    certainly the answer is " RTFM " or " RTFDataSheet " !!!
    *****************************************

  7. #7
    Join Date
    Nov 2007
    Location
    South-West of Australia. A small town called Denmark. 'Where the forest meets the sea.'
    Posts
    136


    Did you find this post helpful? Yes | No

    Default I2C Barometer

    Thanks for the infirmation.

    It seems that the pins are NOT 5 Volt tolerant and I either:

    1. Use the bi-directional level converting circuit given in the Philips application note, or
    2. Run the MCU at 3 Volts.

    Thanks for the idea of using the HPWM signal for the A/D clock.

    The HP03 chip (mounted on a carrier with 0.1 inch pins) is available from Ocean Controls here in Australia for about $AUS 25 ($US 20): http://www.oceancontrols.com.au

    Thanks Bill Legge

  8. #8
    quipaqua's Avatar
    quipaqua Guest


    Did you find this post helpful? Yes | No

    Default

    Salut les gars, Im a newbie. Nice à participer à ce forum.

Similar Threads

  1. Version Control
    By btaylor in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 16th October 2011, 18:12
  2. Replies: 1
    Last Post: - 27th July 2008, 07:14

Members who have read this thread : 1

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