Hi Fatih, I wish you could send me or post the pinout of your project, in 2004, i got this card read from an ex girlfriend, she got it from her farher working on the phone company in my country and it seems to be just straight to the pine output, without any chip, something similar to your project, i just found out that has two 103 capacitors attached seeks like in parallel to VCC, will be great if you could help me, I saw that you followed Angus great project and library, but im kinda lost, because...
Hello, I have a few questions about your program and your attempts. Are you available?
Hallo Angus71, do you think your library can be used with a cardreader equipped with a Teridian 73S8009R? Thanks, Gerard
Great Work! Me and our team trying to communicate arduino wth SLE4428! But we are not getting success. Post admin or anyone, please help us for the same! Thank You!!!
Please check attached files. I am using same library files, which given on above download button. I tried some changes as per datasheet, but no success! :( SLE4442 Card working perfect SLE4428 not working, even not able to read any value Tried to make changes in SLE4442's library, but still no output Not able to read and write I need atlest 1KByte storage, i.e. need SLE4428 Card!!!
Please check attached files. I am using same library files, which given on above download button. I tried some changes as per datasheet, but no success! :( SLE4442 Card working perfect SLE4428 not working, even not able to read any value Tried to make changes in SLE4442's library, but still no output Not able to read and write I need atlest 1KByte storage, i.e. need SLE4428 Card!!!
Please check attached files. I am using same library files, which given on above download button. I tried some changes as per datasheet, but no success! :( SLE4442 Card working perfect SLE4428 not working, even not able to read any value Tried to make changes in SLE4442's library, but still no output Not able to read and write I need atlest 1KByte storage, i.e. need SLE4428 Card!!!
Please check attached files. I am using same library files, which given on above download button. I tried some changes as per datasheet, but not success! :( SLE4442 Card working perfect SLE4428 not working, even not able to read any value Tried to make changes in SLE4442's library, but still no output Not able to read and write I need atlest 1KByte storage, i.e. need SLE4428 Card!!!
Hi, It's a little bit hard to help you, without any additional infomation. Is the "electrical" connection stable? Did you check the eletrical signals? Do you receive any data from the card. Do you have any output from the test program? With kind regards
Great Work! Me and our team trying to communicate arduino wth SLE4428! But we are not getting success. Post admin or anyone, please help us for the same! Thank You!!!
Great work! Thanks
Angus and Fatih, Your work and discussion thread are very helpful with amazing details. I faced a similar issue when using t0, always Received 0. Then changed to t1 and it works well in APDU. Many thanks
HI Angus, good work! I managed to get ATR on my Uno board w/ NXP P60 smart card. But after sending a Select file command, I always got no response even after trying maxwaits from 0 to 150! Always got: Received ... 0 Any tips will be highly appreciated! Many thanks
HI Angus, good work! I managed to get ATR on my Uno board w/ NXP P60 smart card. But after sending a Select file command, I always got no response even after trying maxwaits from 0 to 150! Always got: Received ... 0 Any tips will be highly appreciated! Many thanks
Hi. I use your library. Prompt at me the card works only with StopBit = 2. How to fix your library under StopBit = 2? Thanks.
With the file "apdu_t0_communication" i get this https://drive.google.com/open?id=148Hm7TIrYB-25agh-_uls_jAGiXUVvFk And with the file "apdu_t1_communication" ... https://drive.google.com/open?id=1-_d_3UlFuhKGw3Oa8xnXOyTQav2SznEI
Hi! I am working on a project using a SIM card. I am using an ARDUINO MEGA 2560 board and I'm having problems receiving data from the Smart Card. I think I´m doing something wrong with the connection maybe or something like that. Can anyone help me please? :( I have changed the pin connection like it said in the code program. SC_C2_RST 7 SC_C1_VCC 12 //before 11 SC_C7_IO 10 SC_C3_CLK 11 //before 9 Thank you very much.
Hi! I am working on a project using a SIM card. I am using an ARDUINO MEGA 2560 board and I'm having problems receiving data from the Smart Card. I think I´m doing something wrong with the connection maybe or something like that. Can anyone help me please? :( I have changed the pin connection like it said in the code program. SC_C2_RST 7 SC_C1_VCC 12 //before 11 SC_C7_IO 10 SC_C3_CLK 11 //before 9 Thank you very much.
hi angus thank you very very very much... it worked. you are king of the arduinooooooooooooooooooooooooo Regardsssssssssssssssssssssssssss Fatih
Hi Fatih, As said before, the respond is the "card" requesting an IFS change ... The Aruino has to answer it correctly so that further communication is possible .. To anser it try the following code, after receiving the above response ... data[b++] = 0x00; data[b++] = 0xA4; data[b++] = 0x08; data[b++] = 0x00; data[b++] = 0x06; data[b++] = 0x3d; data[b++] = 0x10; data[b++] = 0x3d; data[b++] = 0x20; data[b++] = 0x2f; data[b++] = 0x10; data[b++] = 0x00; Serial.print("Select File : (OpenPGP) ... ");...
Hi Fatih, As said before, the respond is the "card" requesting an IFS change ... The Aruino has to answer it correctly so that further communication is possible .. To anser it try the following code, after receiving the above response ... data[b++] = 0x00; data[b++] = 0xA4; data[b++] = 0x08; data[b++] = 0x00; data[b++] = 0x06; data[b++] = 0x3d; data[b++] = 0x10; data[b++] = 0x3d; data[b++] = 0x20; data[b++] = 0x2f; data[b++] = 0x10; data[b++] = 0x00; Serial.print("Select File : (OpenPGP) ... ");...
Hi Fatih, As said before, the respond is the "card" requesting an IFS change ... The Aruino has to answer it correctly so that further communication is possible .. To anser it try the following code, after receiving the above respond ... data[b++] = 0x00; data[b++] = 0xA4; data[b++] = 0x08; data[b++] = 0x00; data[b++] = 0x06; data[b++] = 0x3d; data[b++] = 0x10; data[b++] = 0x3d; data[b++] = 0x20; data[b++] = 0x2f; data[b++] = 0x10; data[b++] = 0x00; Serial.print("Select File : (OpenPGP) ... "); sc.send_IBlock(0x00,...
i will be crazy what is this respond dammmm 00| 00 C1 01 FE 3E EF this respond must be 90 00 but i am takeing this message... rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
Hİ ANGUS tryed alot of think apdu codes... delay(100); // Fill command into user data b = 0; data[b++] = 0x00; data[b++] = 0xA4; data[b++] = 0x08; data[b++] = 0x00; data[b++] = 0x06; data[b++] = 0x3d; data[b++] = 0x10; data[b++] = 0x3d; data[b++] = 0x20; data[b++] = 0x2f; data[b++] = 0x10; data[b++] = 0x00; Serial.print("Select File : (OpenPGP) ... "); sc.send_IBlock(0x00, data, b); bytes_received = sc.receiveBytes(data2, 255); Serial.print("Response : "); Serial.println(bytes_received); sc.dumpHEX(data2,...
hi angus .. same result.. :( i am trying diffrent thinks. response wrong. for example. i am changeing worng apdu codes .. giving error message .. correct but i am chanceing true apdu codes . giving diffrent data ... :( i will not sleep to night...i must be fix this.. thanks
hi angus .. same result.. :( i am trying diffrent thinks. response wrong. for example. i am changeing worng apdu codes .. giving error message .. correct but i am chanceing true apdu codes . giving diffrent data ... :( thanks
Hi Fatih, When I'm not mistaken, the "answer" you have seen is actually a "requet" of the card to set the "IFS" to 254, so that a "lot" of data can be transmitted via one command ... You can check if you get better results, when you change the IFS request in the example to the following ... So the card does not need to "request" an IFS change form it's side ~~~ Serial.print("Try to change IFS ... "); // Offer the card to send a maximum of 0x20 bytes per block // Node Adress 0 (Value 0xFE) if (sc.changeIFS(0,...
hi dear angus yes i read somethink but. i dont know what i read .. firstly.. i must be select file later i read this file.. here is only one procedure working here.. for example. first i need select 3D-10-3D-20-2F-10 file later i read 00 0B 00 04 0A read command for abdu.. i tyred a lot of variation but nope.. what is wrong.. i changed bound .. i changed file adres i changed wrong codes . always same return same result. :( litte bit more help angus. i know you are busy. thanks for help..
hi dear angus yes i read somethink but. i dont know what i read .. firstly.. i must be select file later i read this file.. here is only one procedure working here.. for example. first i need select 3D-10-3D-20-2F-10 file later i read 00 0B 00 04 0A read command for abdu.. i tyred a lot of variation but nope.. what is wrong.. i changed bound .. i changed file adres i changed wrong codes . always same return same result. :( litte bit more help angus. i know you are busy. thanks for help..
Hi Fatih, you are able to read the data ? That's sounds good.. Regards Angus71
where are you god's of the arduniooooooooo
my card 3D0-3D20-2F10 my data adres.. and my data 34 33 33 33 33 38 37 35 35 35 - 90 00
YES... step step contiouning angus... i tryed t1 ..and my result... Waiting for Smartcard Smartcard found Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' Checking for T1 - Protocol ... Supported Try to change IFS ... OKAY (Set to 0x20) Selecting AID D2 76 00 01 24 01 (OpenPGP) ... 00|00 C1 01 FE 3E '....>...........'
YES... step step contiouning angus... i tryed t1 ..and my result... Waiting for Smartcard Smartcard found Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' Checking for T1 - Protocol ... Supported Try to change IFS ... OKAY (Set to 0x20) Selecting AID D2 76 00 01 24 01 (OpenPGP) ... 00|00 C1 01 FE 3E '....>...........'
where is t1 example ???? opss i found trunk exapless. i will try ...... thanksssssssssssssssssssssss angus thank you very much ...... and thanks for patience....
where is t1 example ????
Hi Fatih, This should quite simple, just try the t1 example? examples/apdu_t1_communication/apdu_t1_communication.ino and fill in your command from c# into the "data", just as you give it there ... Regards Angus71
i tryed 2 sample.. but result is same.. :( Waiting for Smartcard Smartcard found Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' SELECT FILE Command ... Received ... 0 what is wrong. :( maybe this is t=1 protokol must be. but i used same apdu codes but protokol t=1 whit c#.. what change code for t1 protokol and pin 8 always true... ok
i tryed 2 sample.. but result is same.. :( Waiting for Smartcard Smartcard found Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' SELECT FILE Command ... Received ... 0 what is wrong. :( maybe this is t=1 protokol must be. but i used same apdu codes but protokol t=1 whit c#.. what change code for t1 protokol
i tryed 2 sample.. but result is same.. :( Waiting for Smartcard Smartcard found Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' SELECT FILE Command ... Received ... 0 what is wrong. :( maybe this is t=1 protokol must be. but i used same apdu codes but protokol t=1 whit c#..
i tryed 2 sample.. but result is same.. :( Waiting for Smartcard Smartcard found Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' SELECT FILE Command ... Received ... 0 what is wrong. :( maybe this is t=1 protokol must be. but i used same apdu codes but protokol t=1
Hi Fatih, Based on your C# code I expect the command you use should be command.cla = 0x00; command.ins = 0xA4; command.p1 = 0x08; command.p2 = 0x00; command.data_buf = data; command.data_size = 6; command.resp_size = 0; data[0] = 0x3D; data[1] = 0x10; data[2] = 0x3D; data[3] = 0x20; data[4] = 0x2F; data[5] = 0x10; As it looked like you put the command size as the first entry into the data Regards Angus71
Hi Fatih, Can you go one step back and use the code-sniplet provided (Based on the original T0 example), this should select a "default" file, just to see if the "Select File" command works and there might just be a "problem" with the file name/command you use ... :-) // We just use the T=0 byte transfer command.cla = 0x00; command.ins = 0xA4; command.p1 = 0x04; command.p2 = 0x00; command.data_buf = data; command.data_size = 2; command.resp_size = 0x00; data[0] = 0x3F; data[1] = 0x00; Serial.println("SELECT...
command.cla = 0x00; command.ins = 0xA4; command.p1 = 0x08; command.p2 = 0x00; command.data_buf = data; command.data_size = 7; command.resp_size = 0; data[0] = 0x06; data[1] = 0x3D; data[2] = 0x10; data[3] = 0x3D; data[4] = 0x20; data[5] = 0x2F; data[6] = 0x10; i changed.. but result is same ..
// We just use the T=0 byte transfer command.cla = 0x00; command.ins = 0xA4; command.p1 = 0x08; command.p2 = 0x00; command.data_buf = data; command.data_size = 7; command.resp_size = 0; data[0] = 0x06; data[1] = 0x3D; data[2] = 0x10; data[3] = 0x3D; data[4] = 0x20; data[5] = 0x2F; data[6] = 0x10;
Hi Fatih, Are you sure you need command.resp_size = 0x100; as this will "trigger" a wait for 256 bytes, which are normally not provided by a "SELECT FILE" command, they will be send by a "GET RESPONSE" ... So as in the example I would recommend a resp_size of "0". Regards Angus71
my ATR analys
and my last serial status. my arduino select file codes // We just use the T=0 byte transfer command.cla = 0x00; command.ins = 0xA4; command.p1 = 0x08; command.p2 = 0x00; command.data_buf = data; command.data_size = 7; command.resp_size = 0x100; data[0] = 0x06; data[1] = 0x3D; data[2] = 0x10; data[3] = 0x3D; data[4] = 0x20; data[5] = 0x2F; data[6] = 0x10;
and my last serial status.
my header file
my ATR Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' SELECT FILE Command ... Received ... 0 this is true because i read whit c# appliatins..
my ATR Received ATR ... 00|3B 9F 97 81 31 FE 45 80 65 54 43 D2 21 08 31 C0 ';...1.E.eTC.!.1.' 10|73 F6 21 80 81 05 5B 's.!...[.........' SELECT FILE Command ... Received ... 0 this is true because i read
finnaly i added my fotos :D 115200 my arduino boud. define SC_C2_RST 7 define SC_C1_VCC 11 define SC_C7_IO 10 define SC_C2_CLK 9 connections pin 8 manuel true and false
i need read card data whit arduino ... i am using aptu_t0_communication.ino. my lib SCl0.0.7rc4. everythink is ok.. but only i can take ATR code..(but today not working.) i am using pin 8 manual true and false) i want to chose File 3f10-3f20-2f11 . i didnt . i read data whit c# . for example my apdu codes for c# and working... byte[] cmdApdu = { 0X00, 0Xa4, 0X08, 0X00, 0X06, 0x3D, 0x10, 0x3D, 0x20, 0x2f, 0x10,00 }; // select file scard.Transmit(cmdApdu, cmdApdu.Length, respApdu, ref respLength);...
Hi Fatih, I've delete the images just for "not" showing them to all ... ;-) ... I've had a look on them, so we can discuss them later on ... Can you share the connection to the Arduino (Card "pad" to Arduino pin) and the used frequency selected in the header file of the Arduino? Regards
Hi Fatih, I've delete the images just for "not" showing them to all ... ;-) ... I've had a look on them, so we can discuss them later on ... Can you share the connection to the Arduino (Card "pad" to Arduino pin)?
i need read card data whit arduino ...
hiii did you fix jose that i need helpppppp pleaaseeeeeeeeeeeeee
hi angus71 i didnt communication smart card whit arduino. i dont kmnow what i problem.. maybe you can help me.. can you contact me...
Can you add T1 protocol? Microchip have an source code example (application note): http://ww1.microchip.com/downloads/en/AppNotes/01370A.pdf
Hi Giulio, A good starting point is the ETSI's TS 102 221 specification. If you check...
Hi Angus71, Thank u for the reply! I would like to know which command is giving me...
Hi Vitaliy, did you check the Wiki (near to the end) there is a description how to...
Hi Giulio, to summarize your problems ... When using the t0 communication sketch...
First of all thank you so much for this greate library! I'm using this smarcard reder...
Hello, I have card reader from sattelite receiver with TDA 8204T on board. It has...
Yeah.I had a problem with two contacts which should have be contacted if an card...
Hello Angus71, yes, the ATR is from one of my card, the point is that's all I can...
Hello Angus71, the point is that is all I can receive from card, I don't read anything...
Hi Alvaro, The ATR you provided was received from one of your cards? If this is true,...
good to hear ... Just some wiring issues / voltage mismatch or any changes required...
It works now! All problems fixed!
Does the Smartcard Lib supports Cards which are based on the ISO 7816-2? Many Cards...
Hi angus71, I can't even get anything, I have tried all the examples, changed defs...
Hi Alvaro, If your assuption is correct and your card is a "SLE4432" the it's clear...
Hi! First of all thank you for bringing us this library, and I have some doubts and...
Dear friend, I am a student from china. The default ETU for ISO7816-3 is 372 and...
Hi Timur, Normally there should be no need to modify the SCLib.ccp code to achive...
Hi Timur, Normally there should be no need to modify the SCLib.ccp code to achive...
Hello, I'm making my college project which related to security entrance system. One...
TDA 8024T Card Reader ! Board with traces
TDA 8024T Card Reader !
TDA 8024T Card Reader !
TDA 8024T Card Reader !
TDA 8024T Card Reader !
Hi Angus, So you summarize is correct, it is just like u described, I was tired and...
Hi Angus, So you summarize is correct, it is just like u described, I was tired and...
Hi Angus, So you summarize is correct, it is just like u described, I was tired and...
Hi Angus, So you summarize is correct, it is just like u described, I was tired and...
Hello Frank. Good to hear from you.I think that you have made a mistake on the reply....
Hi Slobodan, So just let me summarize what I understood from your post. You have...
Hi Slobodan, So just let me summarize what I understood from your post. You have...
Hi angus, I just salvaged card reader from my old tvbox TDA8024T and it has 12 lines...
Hi angus, I just salvaged card reader from my old tvbox TDA8024T and it has 12 lines...
Hi Angus! Can you tell me? How to reset the error the wrong password for the smart...