data from rs232 via pic16f877 to 24c256 (i2C) on-the-fly


Closed Thread
Results 1 to 3 of 3
  1. #1
    agucollins's Avatar
    agucollins Guest

    Default data from rs232 via pic16f877 to 24c256 (i2C) on-the-fly

    please help!!!
    i want to write data(strings) about 100 characters from a pc terminal program through com port via 16f877@20MHz to 24c256 on-the-fly using i2c protocol. baudrate of 9600. please help me with a pic basic and ASSEMBLY ROUTINES.
    THANKS
    AGU COLLINS

  2. #2
    Join Date
    Feb 2004
    Location
    Germany
    Posts
    762


    Did you find this post helpful? Yes | No

    Default

    AGU,

    we will certainly not do all the work for you.

    If you haven't got any code so far search the forum for "serial" and "EEPROM" and you will find tons of examples.

    You have got to do your homework on your own.

    If you already have some code, but having problems with that existing code post it and we will have a look at it.
    regards

    Ralph

    _______________________________________________
    There are only 10 types of people:
    Those who understand binary, and those who don't ...
    _______________________________________________



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


    Did you find this post helpful? Yes | No

    Default

    ...and you're going to have to be clever too...

    9600 baud is approximately 1 character every millisecond (give or take)... it takes 10mS to do a serial EEPROM write...

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. Big characters on HD44780 4x20
    By erpalma in forum mel PIC BASIC Pro
    Replies: 23
    Last Post: - 7th January 2007, 02:21
  4. LCD + bar graph
    By DynamoBen in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 5th October 2005, 14:50
  5. Sinus calculating !
    By Don Mario in forum mel PIC BASIC Pro
    Replies: 29
    Last Post: - 28th November 2004, 23:56

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