rfid

How to connect RC522 RFID module and SD-Card Adapter to one Arduino board?

狂风中的少年 提交于 2019-12-13 07:48:41
问题 I want to store the log of RFID tag into the Micro SD card, but RFID and SD card having MOSI and MISO. So i want to know how to connect RFID and SD card to one Arduino UNO. 回答1: Pins named MOSI and MISO indicate an SPI bus. There should also be a pin labeled SS, CS or similar (slave select). you can hook up several slaves to one master and select the device you want to talk to using that pins logic level. There should be tons of tutorials and examples online. 回答2: You can connect multiple

Cannot access serial port during debugging

岁酱吖の 提交于 2019-12-13 04:42:16
问题 This is my first SO question so please correct me where I am not supplying enough or correct information. I'm interfacing two RFID tag readers via RS232 ports on a FTDI serial to USB hub to my program. The program runs perfectly outside VS2010, but I cannot debug the code. The program starts fine during debugging, but as soon as I bring a tag within reading proximity I get an error. This only happens during debugging. The error: Error Opening Serial Port COM9 System

NFC-V ICODE SLIX (SL2S2002)

别等时光非礼了梦想. 提交于 2019-12-13 01:22:55
问题 I'm developing an application for managing ICODE SLIX-S tags under android. I'm finding problems regarding the "SET_PASSWORD" as defined in the data sheet (https://www.nxp.com/docs/en/data-sheet/SL2S2002_SL2S2102.pdf page 16). There is already a discussion about the problem(NFC-V SLIX-S write password) but it has not been solved. The problem I think is the format of the command passed to the transceive, I tried different formats but without solution. If someone had resolved in any way, thank

RFID Programming With VB.NET

旧时模样 提交于 2019-12-12 22:43:19
问题 I'm trying to use RFID Contactless Smart Card (T8/D8 Series) for my final project. But i have problem acessing the dcrf32.dll file in my form. There are 3 things included in RFID Package, (therefore : 12 smartcards, an usb port, and a driver CD) In the driver CD, there are so many sample project in some programming language, except VB.NET, i tried them one by one, and that's work. There is a folder named "win32-dll", it have 3 files inside ( dcrf32.dll , dcrf32.h , dcrf32.lib ). I have to

Convert MFRC522 UID Hex Bytes to Printable Decimal

坚强是说给别人听的谎言 提交于 2019-12-12 18:23:07
问题 I'm using the MFRC522 library on my Arduino UNO to read Mifare RFID tag Info. // Print HEX UID Serial.print("Card UID:"); for (byte i = 0; i < mfrc522.uid.size; i++) { Serial.print(mfrc522.uid.uidByte[i] < 0x10 ? " 0" : " "); Serial.print(mfrc522.uid.uidByte[i], HEX); } Serial.println(); I've got a byte array(4) which contains the HEX UID: 54 C7 FD 5A But I've failed to convert it to Decimal: HEX(5AFDC754) => DEC(1526581076) I've tried to convert the byte array to char reversely, but the

NfcV Transceive command throws tag lost exception with TI HF-I plus tag(ISO15693) in android

浪子不回头ぞ 提交于 2019-12-12 09:04:29
问题 I am trying to talk to a ISO15693 Tag. Tag type is TI HF-I Plus. When I issue a Get System Info command, the command executes normally and a proper response is received. For most other commands sent to the tag, the framework does not seem to handle the response properly. TAG LOST exception is thrown for most other commands. Has anyone successfully implemented ISO15693 commands in Android ? Source code: @Override protected byte[] doInBackground(byte[]... params) { NfcV mNfcVObject = NfcV.get

Distinguish different types of MIFARE Ultralight

吃可爱长大的小学妹 提交于 2019-12-12 07:23:29
问题 How to identify different types of MIFARE Ultralight tags? In document AN10834 Ultralight and Ultralight C differ by the answer from "Auth". What is this "Auth"? There is no description of this function in the datasheets to the chips. I noticed that Ultralight C and EV1 support GET_VERSION (60h), I sent this request to EV1 card, it does not return anything to me. 回答1: In order to distinguish MIFARE Ultralight, Ultralight C, Ultralight EV1, and NTAG tags, you would first send a GET_VERSION

when tap only get 1 digit

耗尽温柔 提交于 2019-12-12 04:39:07
问题 for my rfid card value was the case is when i tap why the text was not empty ? and when i tap the second card it only give me 1 digit card2 tap the code i use private void textEdit1_KeyPress(object sender, KeyPressEventArgs e) { if (this.textEdit1.Text.Length == 10) { getcodestudent(); this.textEdit1.Text = ""; } } for getcodestudent() public void getcodestudent() { SqlDataAdapter adapter = new SqlDataAdapter(); SqlParameter para2 = new SqlParameter(); try { ds6.Clear(); dt6.Clear(); command6

Turning off the buzzer on NFC reader ( NFC ACR122U) in Java

杀马特。学长 韩版系。学妹 提交于 2019-12-12 04:21:45
问题 I am using the ACR122U NFC reader in a java program that uses NFC cards. But by default the reader buzzes when it reads a card. I am trying to turn it off by without success the NFC reader documentation (found here: http://www.acs.com.hk/download-manual/419/API-ACR122U-2.03.pdf )shows that you can turn off the buzzer. But I am having trouble writing a java method for it. As you can see my class already has methods that communicate with the NFC reader. But I have be unable to convert the

Python reading Wiegand dropping Zeros

你说的曾经没有我的故事 提交于 2019-12-12 03:22:43
问题 Here's the code snippet from my RFID wiegand reader on my Raspberry Pi I use already. def main(): set_procname("Wiegand Reader") global bits global timeout GPIO.add_event_detect(D0, GPIO.FALLING, callback=one) GPIO.add_event_detect(D1, GPIO.FALLING, callback=zero) GPIO.add_event_detect(S1, GPIO.FALLING, callback=unlockDoor) while 1: if bits: timeout = timeout -1 time.sleep(0.001) if len(bits) > 1 and timeout == 0: #print "Binary:", int(str(bits),2) c1 = int(str(bits),2) result = ((~c1) >> 1)