I2c, srf02, 16f688 -> ultrasonic rangefinder


Results 1 to 10 of 10

Threaded View

  1. #3
    Join Date
    Aug 2006
    Location
    Omaha, Nebraska USA
    Posts
    263


    Did you find this post helpful? Yes | No

    Default Re: I2c, srf02, 16f688 -> ultrasonic rangefinder

    Thanks, Al.

    Quote Originally Posted by aratti View Post
    Code seems OK, perhaps too short the delay between the write I2C command and the read.
    It's the same delay used by jellis00, but I think he was running 18F devices and I don't know at what speed. (Or if that would make a difference.)

    Did you place the pullup resistors on the SDA and SCL lines?
    Yes; per the SRF02 specifications recommendation, I used 1.8K (see the schematic).

    Russ
    Attached Images Attached Images
    Russ
    N0EVC, xWB6ONT, xWN6ONT

    "Easy to use" is easy to say.

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