View previous topic :: View next topic |
Author |
Message |
dema
Joined: 14 Jul 2014 Posts: 7
|
Posted: Mon Jul 14, 2014 2:33 pm Post subject: RFID Reader |
|
|
Hello:
Please help me in the library or program in bascom avr for this module"MIFAIR RC522 Chip IC Card Induction Module RFID Reader"
thank you
(BASCOM-AVR version : 2.0.7.7 ) |
|
Back to top |
|
|
i.dobson
Joined: 05 Jan 2006 Posts: 1570 Location: Basel, Switzerland
|
Posted: Mon Jul 14, 2014 5:11 pm Post subject: |
|
|
Hi,
I've just ordered exactly this RFID Reader/writer. Once I get it I'll have a look at writing a Driver. I imagine it'll take some time as this isn't at the top of my list.
Regards
Ian Dobson _________________ Walking on water and writing software to specification is easy if they're frozen. |
|
Back to top |
|
|
dema
Joined: 14 Jul 2014 Posts: 7
|
Posted: Tue Jul 15, 2014 12:47 am Post subject: |
|
|
thank you
I will wait you |
|
Back to top |
|
|
EDC
Joined: 26 Mar 2014 Posts: 971
|
Posted: Wed Jul 16, 2014 11:50 am Post subject: |
|
|
I have more immoboxes from cars like this in the picture below. I want to use it for educational purpose but cannot find datascheet for chip inside. Look to be simalar to EM4095. Only "Megamos/RES" is writed on it. This chip I can buy 5$ only but cannot find datascheet If any one know proper name for this part , please let me know |
|
Back to top |
|
|
Vincent
Joined: 25 Jun 2012 Posts: 69
|
Posted: Thu Jul 17, 2014 2:06 pm Post subject: |
|
|
Hello everybody,
I have order the same module, but still not receive. I have search information about it, and have found this:
http://www.nxp.com/documents/data_sheet/MFRC522.pdf
Perhaps it can help you.
Best regards
Vincent |
|
Back to top |
|
|
protoncek
Joined: 16 May 2011 Posts: 52 Location: Slovenia
|
Posted: Thu Jul 17, 2014 5:09 pm Post subject: |
|
|
Hi!
i've just got this module a few days ago, and i'm also in the dark...
so far i managed to change communication protocol to UART (somehow i couldn't communicate via SPI), and i came to the stage that i can read and write to registers, but so far that's it. Chip seems very powerful and as such it has a ton of functions, so convincing it to read a card is very difficult..
In short, Ian, i would be also very gratefull if you manage to write a library for it (for default SPI communication, of course). I'm suprprised that no-one actually played with this very cheap reader in bascom... there are quite a few sample programs, but they are all written for arduino and therefore in C language...
So, i join ther waitlist. If necesarry, i'm willing to contribute web space and put resulting library and demo program on my website, with all proper credits, of course.
OH, and...i just read that you're the author fo AVRtimer! Congratulations! I use it often and it's practically a must for me. Thanks! |
|
Back to top |
|
|
i.dobson
Joined: 05 Jan 2006 Posts: 1570 Location: Basel, Switzerland
|
Posted: Thu Jul 17, 2014 6:15 pm Post subject: |
|
|
Hi,
I'm still waiting for mine. Not sure if I'll use SPI or i2c. i2c is more important for me, but from what I've read/understood sofar SPI and i2c are compatible at Register Level so it wouldn't be too hard to have a constant usespi/usei2c that just uses the lowlevel i2c or spi routines in the read/write Register functions. We will see.
Thanks for the comment. I wrote AVRTimer long ago just to help me understand how the timers work in AVR. Maybe one day I'll update it with PWM/Frequency calculations and a function to read the bascom def files (To find Chips and what timers/prescalers are supported)
Regards
Ian Dobson _________________ Walking on water and writing software to specification is easy if they're frozen. |
|
Back to top |
|
|
protoncek
Joined: 16 May 2011 Posts: 52 Location: Slovenia
|
Posted: Thu Jul 17, 2014 6:53 pm Post subject: |
|
|
RC522 can detect which communication mode you chosen through two pins, which are connected either to GND or to +Vcc. The only problem on this board is that these two pins are already connected to SPI mode, so in order to change this a microscope or at least good magnifying glass is reccomended, since you must cut tiny PCB connection and solder it to a different level.
But either way you choose it will be fine, at least for me.
Best regards, Paul |
|
Back to top |
|
|
i.dobson
Joined: 05 Jan 2006 Posts: 1570 Location: Basel, Switzerland
|
Posted: Thu Jul 17, 2014 7:23 pm Post subject: |
|
|
Hi,
Working on SMD/0.2mm tracks is not a Major problem for me. I have access to a microscope/rework bench.
Regards
Ian Dobson _________________ Walking on water and writing software to specification is easy if they're frozen. |
|
Back to top |
|
|
dema
Joined: 14 Jul 2014 Posts: 7
|
Posted: Fri Jul 18, 2014 4:03 pm Post subject: |
|
|
Do I understand that there is no solution, I have failed and I don't succeeded in having a solution ....
Is there hope or not ??
Greetings and respect for all |
|
Back to top |
|
|
i.dobson
Joined: 05 Jan 2006 Posts: 1570 Location: Basel, Switzerland
|
Posted: Fri Jul 18, 2014 6:01 pm Post subject: |
|
|
Hello,
At the Moment there is not solution.
When I get my RFID Reader I'll have a look at writing a lib but it might take some time.
Regards
Ian Dobson _________________ Walking on water and writing software to specification is easy if they're frozen. |
|
Back to top |
|
|
dema
Joined: 14 Jul 2014 Posts: 7
|
Posted: Sun Jul 20, 2014 10:37 am Post subject: |
|
|
i.dobson wrote: | Hello,
At the Moment there is not solution.
When I get my RFID Reader I'll have a look at writing a lib but it might take some time.
Regards
Ian Dobson |
OK I will wait you |
|
Back to top |
|
|
i.dobson
Joined: 05 Jan 2006 Posts: 1570 Location: Basel, Switzerland
|
Posted: Fri Jul 25, 2014 2:55 pm Post subject: |
|
|
Hi,
Just got mine today, maybe I'll get a chance to have a look at it over the Weekend.
Regards
Ian Dobson _________________ Walking on water and writing software to specification is easy if they're frozen. |
|
Back to top |
|
|
protoncek
Joined: 16 May 2011 Posts: 52 Location: Slovenia
|
Posted: Fri Jul 25, 2014 3:38 pm Post subject: |
|
|
Great! I didn't come any further than to the point where 13M signal is present in the coil (certain init procedure is required to get that). So, my reader is alive, i can write to registers, but i can't read any card info from it. i put my test program on my web site, if you find it useful, you can find it here:
http://www.protoncek.com/files/rfid.rar
Note that some words are slovenian, and i used UART protocol (i changed HW for that, so that i didn't bother with SPI at this stage) but i hope you'll get the point. It's only init routine: i don't know if it's enough or too much of it, and i don't know why timer is needed to be on (i copied routine from one C test file).
If you manage to run it (i'm sure you will), it would be great.
Thanks in advance!
Best regards, Paul |
|
Back to top |
|
|
andro
Joined: 12 Mar 2007 Posts: 94 Location: Ljubljana
|
Posted: Wed Aug 06, 2014 7:39 am Post subject: |
|
|
Hi,
I have spent many houres trying to get some hints around handling this MFRC522. I found out, that this chip is most common for all Mifare readers/writers that you can buy world wide.
But, to get working code is almost impossible.
Therefore I choose this product and it works fine:
http://www.stronglink-rfid.com/en/rfid-modules/sl031.html
Best regards/ Lep pozdrav!
Andrej |
|
Back to top |
|
|
|