![]() |
Forum Index : Microcontroller and PC projects : RFID MM interface thing...
Author | Message | ||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9594 |
Hi folks. ![]() I received a couple of these RFID reader/writer kits from eBay today, and am about to have a little play with them. The PDF for the controller can be found here. Although this unit is sold as an SPI device, SDA and SCL are brought out to the header strip holes, and the datasheet says you can talk to it with I2C, so that is the plan at this stage. Keyless entry system controlled by a Micromite anyone? ![]() At this stage, I will be using a DIL 28 pin MM2 device, with the idea being that this would be a good 'Through-hole' project for those not that keen on SMD. Smoke makes things work. When the smoke gets out, it stops! |
||||
palcal![]() Guru ![]() Joined: 12/10/2011 Location: AustraliaPosts: 1989 |
Silicon Chip had a project using them some years ago. I think from memory ( a silly thing to say at my age) they used it for a keyless entry project. I will see if I can dig it up. Paul. Edit. Found it!! November 2010 'Project an RFID Security System' "It is better to be ignorant and ask a stupid question than to be plain Stupid and not ask at all" |
||||
MicroBlocks![]() Guru ![]() Joined: 12/05/2012 Location: ThailandPosts: 2209 |
I still have this lying around to be used once i get to it. :) http://www.banggood.com/Wholesale-Security-RFID-Proximity-Entry-Door-Lock-Access-Control-System-10-Keys-p-61575.html I bought it for the housing as a good case for a project is the most difficult part. It works out as is, but having a bit more control with visual feedback (display) would be much better. Microblocks. Build with logic. |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9594 |
@ Paul - I will hunt that issue out - I have all the SC's from about 1997-ish. @ MicroBlocks - Yes, those units are exactly the things that I saw in use, and thought perhaps we could come up with something similar. Those units allow for keyless or code-entry access. It would be very hard to beat that price! However, let's see what we can design - I would like to use an LCD, but it would need to be small. I think there was some work done on a driver for a 1.8" OLED display by matherp and chums a while back, I will see if I can find the thread. EDIT: Something like this LCD perhaps? It is very cheap - only three bucks. EDIT: Found November 2010 issue of SC. Will read this article to give me ideas. Smoke makes things work. When the smoke gets out, it stops! |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9594 |
I have not given up on the NXP reader/writer I bought above, but it would seem that that unit is indeed SPI, and the SDA and SCL don't actually refer to I2C, despite the chip having those pins, and supporting that protocol! ![]() I found some videos on YT, which then led me to GitHub where there was some code to talk to the device, most of which was in a library that was called with an 'Include' in the main Arduino code. This 'h' file is big - 148K un-compiled, so I can't really be bothered to try to port that over, so I have ordered a couple of these reader modules instead, along with some matching RFID tags. You can get them in various colours, but I got two green, red and blue ones to play with. The 6300 module is $1.50 more then the NXP-based module, but the 6300 module does all the processing for you, and just outputs a serial string @ 9600 baud representing the code of the tag, which I can then pick up easy-peasy with a MM serial port, or a Cfunction RXD. That's the plan, anyway. The 6300 is a reader only, so you won't be able to program tags, but I don't really see that as a problem, as you design the system to learn the tag codes, and if you keep a decent database or spreadsheet, you can easily identify who has which code, and erase that code if that person loses their tag or is made part of 'Disestablishmentarianism'. ![]() Smoke makes things work. When the smoke gets out, it stops! |
||||
drkl![]() Senior Member ![]() Joined: 18/10/2015 Location: HungaryPosts: 102 |
Hello, I have RFID module like this: http://www.ebay.com/itm/321880531130?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT Is there any simple MMBasic Code for only reading the card ID ? drkl |
||||
Grogster![]() Admin Group ![]() Joined: 31/12/2012 Location: New ZealandPosts: 9594 |
I have a couple of those modules too, but there is a-lot more to reading(and writing) to this chip, then the simple serial output of the other module I ended up using. There is an Arduino library for this module available on GitHub, but it was about 100k in size(C source code), and I simply did not want to be bothered trying to port that to MMBASIC. The chip in those units you have there is more advanced then the other module I am using now, cos it can write RFID tags and cards as well as read, but all I wanted was read anyway. If all you want to do is read the tag or card ID like me, then I can reccomend the serial output reader units here. Smoke makes things work. When the smoke gets out, it stops! |
||||
![]() |
![]() |
The Back Shed's forum code is written, and hosted, in Australia. | © JAQ Software 2025 |