CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Search found 6 matches
CCS Forum Index
Author Message
  Topic: RFID using I2C
mirno

Replies: 9
Views: 15098

PostForum: General CCS C Discussion   Posted: Wed Jan 21, 2015 3:36 am   Subject: RFID using I2C
i2c_start();
delay_ms(50);
i2c_write (0xA6); /* E2 = 0? */
delay_ms(50);
//E2_waarde
Figure 11 on page 38 of the M24LR16E-R data sheet shows what you
need to ...
  Topic: RFID using I2C
mirno

Replies: 9
Views: 15098

PostForum: General CCS C Discussion   Posted: Tue Jan 20, 2015 7:41 am   Subject: RFID using I2C
query. Is your LCD module properly working? Normally you only need to do the LCD_init() call once in a program however it must be preceded by a delay_ms(500);.
This delay is to allow the LCD module t ...
  Topic: RFID using I2C
mirno

Replies: 9
Views: 15098

PostForum: General CCS C Discussion   Posted: Tue Jan 20, 2015 3:27 am   Subject: RFID using I2C

The RFID chip has two addresses: 0xA6 and 0xAE . Why would he have
two addresses ?

Read the M24LR16E-R data sheet:
http://www.st.com/web/en/resource/technical/document/datasheet/DM00031737.pdf ...
  Topic: RFID using I2C
mirno

Replies: 9
Views: 15098

PostForum: General CCS C Discussion   Posted: Mon Jan 19, 2015 4:43 am   Subject: RFID using I2C
I have read the adresses from the program, it works great! I put the output on our LCD screen in the elevator.


#include <16F887.h>
#fuses INTRC_IO,NOWDT,NOPROTECT,PUT,NOLVP,NOBROWNOUT
# ...
  Topic: RFID using I2C
mirno

Replies: 9
Views: 15098

PostForum: General CCS C Discussion   Posted: Sat Jan 17, 2015 7:43 am   Subject: RFID using I2C

I can't really find out what the slave address is, i think it is 0x6A because i
read it in some forums.
Use this i2c bus scanner program to see if it detects the M24LR16E:
http://www.ccsinfo.com ...
  Topic: RFID using I2C
mirno

Replies: 9
Views: 15098

PostForum: General CCS C Discussion   Posted: Fri Jan 16, 2015 9:12 am   Subject: RFID using I2C
Hello,

I am trying to make my RFID M24LR16E chip working, but it won't.

I already tries a lot of things, and i can't find out what the problem is. This is the latest program:


#include <1 ...
 
Page 1 of 1
All times are GMT - 6 Hours
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group