AT89S51 + AT24C01A

In my routines, i am not checking for ack! i am assuming that the data transfer is perfect and ack is received. thats the reason, it cannot be used for EEPROM.
but my C routines can be used for EEPROM and any I2C device.

RLC A instruction means "rotate left through carry"
whatever is there in A is rotated left and the MSB is copied back to the place of LSB and all bits are shifted by 1 toward left. a... Read Compelte post
Other Tags: msb   eeprom   rlc   ack   c routines   
Posted by ajay_bhargav on Sat Apr 21 2007, 05:54 PM

I2C library

Hello friends,
i2c library for TWI communication, implemented for use in single master multislave configuration, for controllers like AT89C51/52/2051/4051 ... which dont have onship I2C but now can communicate using this small library.

the code size required for this is just 99Bytes, wont cost you much, but can help you in so many ways. you can use it for I2C RTC, I2C LCD, I2C based EEPROM etc. so w... Read Compelte post
Other Tags: small library   lcd i2c   hello friends   at89c51   eeprom   
Posted on Mon Dec 19 2005, 06:09 PM

Conversation

Sat Oct 24 2020, 11:44 AM
Rene Derham
It’s only because he's a world-class copywriter, that he can hand you these done-for-you campaigns.
Thu Jun 11 2020, 06:27 AM
anudee
sir could please send the code for I2C and wifi interfacing with 8051
scena
Tue May 19 2020, 10:29 PM
Does anyone have microcontroller programming software for STC15F104W (core 8051, 4 k, 128 byte, 6 I/O pin, UART ... DIL8), that works?
Sat May 02 2020, 07:38 PM
Tamu Gurung
Hi I am looking for a assembly language program for a digital decimal counter. Time counts max limit of 2 mins starting from 2.00 mins and ending at 0.00. time is to be displayed on 4 7-segment LED displays. Edsim51 simulator to be used. Thanks
Wed Mar 25 2020, 01:39 PM
Tajammul
Sir kindly send the code file i2c for 8051
ExperimenterUK
Fri Mar 13 2020, 10:36 PM
@ Rohitnani,ABEBE..which project ?
Fri Mar 13 2020, 12:55 PM
ABEBE
how can get hadwere of this project
Rohitnani
Sat Mar 07 2020, 05:11 PM
Sir, Could you please send me the zip file input password....
Wed Feb 26 2020, 04:58 PM
Peter Parker
Is it possible to send multiple messages using only 1 GSM module?
Sat Feb 01 2020, 10:12 AM
Pearl Olin
Hello,

Downloads

Comments

Mirza123
Thu Jun 25 2020, 03:46 PM
eunicelove124
Mon Jun 22 2020, 03:03 PM
cerouno
Tue Jun 16 2020, 05:10 PM
Marce
Sat Jun 13 2020, 09:43 PM
Davidthils
Thu May 21 2020, 12:44 PM
Jakeror
Thu May 21 2020, 01:28 AM
motorCar
Wed May 20 2020, 07:05 PM
Vordrync
Wed May 20 2020, 11:52 AM

Online

Guests: 107, Members: 0 ...

most ever online: 182184
(Members: , Guests: 182184) on 06 Aug 2010: 05:37 AM

Members: 38215
Newest member: Mirza123