Pic16F628A and 24LC256 EEPROM I2C


Closed Thread
Results 1 to 4 of 4

Hybrid View

  1. #1
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    1. Remove R22... connect directly to Vdd/+5v.

    2. Remove R23 & R24, connect directly to Vss/0v.

    3. Value of 10K is too high for R25 & R26. Drop it to 4K7.

    Merry Christmas (or Happy Holidays - whichever you prefer) to all...

  2. #2
    Join Date
    Nov 2005
    Location
    US
    Posts
    4


    Did you find this post helpful? Yes | No

    Arrow RE: SOLVED Pic16f628A and 24LC256 I2C

    Found problem with a connection to the 24LC256 chip.

    Apperently, the connection to the SCL (clock) line was not making contact to Pin 6 of the chips. After getting the connection to then, the circuit worked flawlessly.

    Originally my story was that I used to use the PIC16F628A internal EEPROM memory, but when a new chip was inserted (programmed ), the count was lost.

    So finally I relized that external Ram was the key.

    Hooking up the 24LC256 in a SOIC package, I used the wrong connection (unused wire) to put pull-up on clock signal. After connecting the proper line to the chips, the circuit worked.

    Here is a complete program and schematic for 24LC256:

    See Attachments

    Thank You
    Attached Images Attached Images  
    Attached Files Attached Files

  3. #3
    Join Date
    Nov 2005
    Location
    US
    Posts
    4


    Did you find this post helpful? Yes | No

    Question RE: Pic16F628A and 24LC256

    I do not know the 24LC515 chip but post your PIC BASIC text file and I will look at it to see where your error might be.

    I need to know what is your clock frequency and PIC Chip Type ( 16FXXX ).

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