i2c DS1803 problem


Closed Thread
Results 1 to 5 of 5
  1. #1
    hbl2's Avatar
    hbl2 Guest

    Post i2c DS1803 problem

    I've a problem when i interfacing DS1803 to PIC16F819 @ 4Mhz
    There are 2 pull-up on SDA and SCL line of 4,7K.

    I2CWrite SDA,SCL,%01010000,%10101001,V0

    V0 is the value of pot (0-255)

    But the resistance of digital pot don't change.
    Can you help me?

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


    Did you find this post helpful? Yes | No

    Default

    can be a few things, where your DS1803 is connected, have you try some lower pull-ups... let's say 1.5-2K ?

    Is a simple blink program work on those pin you choose...
    the whole code may help. I'll have a look to the datasheet of the DS1803 in a few...
    Steve

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

  3. #3
    hbl2's Avatar
    hbl2 Guest


    Did you find this post helpful? Yes | No

    Post No Reason

    I tried with 1,5 and 2k res but the res of digital pot don't change

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


    Did you find this post helpful? Yes | No

    Default

    have a look to the PICLISt

    Click Here
    Steve

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

  5. #5
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    HBL2, Another thought, but you probably already know this make sure the address bits for the 1803 are in the proper states which acording to your software is a0,a1,a2 all low.

    Dave Purola,N8NTA

Similar Threads

  1. I2C Master/Slave 16F88/16F767 working code
    By DanPBP in forum Code Examples
    Replies: 2
    Last Post: - 23rd October 2012, 22:31
  2. HARDWARE I2C SAMPLE CODE question
    By Michael Wakileh in forum Code Examples
    Replies: 2
    Last Post: - 16th June 2009, 21:07
  3. Another I2C Slave Routine Problem
    By DanPBP in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 19th February 2009, 05:50
  4. I2C Master Slave issues.
    By cpayne in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 29th March 2008, 19:33
  5. I2C eeprom and DS1307 @40MHz problem
    By ius01 in forum mel PIC BASIC Pro
    Replies: 9
    Last Post: - 20th July 2007, 07:41

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