SLE4442 Smart Card adapter (KF-011C)

image

@AreYouLoco mentioned SLE4442 smart cards and 2 wire mode. To prep for that I bought several smart cards:

  • SLE4442 & 4428 (passcode card that self destructs after 3 failed password attempts)
  • 24C02 & 24C16 (simple I2C EEPROM on a card)

Yes, I have a quote for custom printing :wink:

image

KF-011C seems like THE cheap and common smart card socket. This is a common name for multiple Chinese manufacturers of the same part. It appears to be a copy of a part from a company in Taipei.

image

I made up a simple adapter for it. You might notice that the power and ground are also to IO pins, instead of the Bus Pirate power and ground. That’s so we can control the power with an IO pin and attempt to glitch hack the passcode card. It also makes it universal - cards that don’t follow the typical pinout can still be probed.

3 Likes

Touched it up just a bit to match the SPI Flash adapters.

kf011c

The KF-011C arrived at the office straight from the manufacturer. Love that packaging!

1 Like

Will it be available on dirtypcbs assembled?

Yes!

I almost had the 10 prototypes assembled without testing and put them up for anyone who wants to try. The office is busy getting the Bus Pirates out though, so I didn’t want to bother them this week.

I should be able to test early next week, then we can have production boards maybe a week after? It’s pretty simple, I think I can send it to the hand soldering people, no need for a stencil and pick and place.

2 Likes

I think it would be a good idea to add the footprints of connectors for Mini-SIM, Micro-SIM and Nano-SIM to the bottom.

You’re right. I looked at the connectors when I was sourcing the others, but did not get samples.

Are sim card easily readable? I saw blank sims for sale, but haven’t had a chance to look into it. I’ll find the connectors this afternoon.

Yes, SIM-Cards follow ISO7816 and the commands are well documented.

Great, thank you. I’m getting some connectors and blank sims now.

1 Like

Finally got the sim card holder sorted. That’s kind of a wild west.

  • I did try to get 8 pin holders for everything, but 6 is standard, cheap, and comes in the most form factors
  • I got the simplest connectors possible. I did not want spring loaded or locking, or flip tops that could break or be annoying to use on a bare PCB.
  • I found a single factory that makes all three, and they use what is the most common part numbering system (but not as common as the TF01 style numbering for flash card sockets)

i will make some footprints and send out a board.

image

Nano SIM holder SIM-0036

image

Micro SIM holder SIM-0030

image

Mini SIM holder SIM-0004

1 Like

The socket arrived! I couldnt wait to solder it to the pcb. Looks great! The led worked! :stuck_out_tongue:

Can i send anybody a pcb and a socket? They should be easy to mail.



1 Like

@Jin /me signing up for a volounteer. If you could add a few (lets say 5) transistors to replace Q402 in one package that would be great. Cannot wait patiently enough😆

1 Like

Hi @Jin

I’m also interested in receiving a PCB and connector. If necessary, write to me privately.

1 Like

Really happy with this board, and the final version is killer. I’m going to read up on the chip and try to get a 2wire mode going. As I recall it has some odd number of bits during the initialization. RTS or something.

1 Like

Just reread this old tutorial. I’ll adapt the I2C PIO program for 2 wire because it already has a start and stop condition.

1 Like

PM me your address and your special needs!

20240306_115340

Received the socket samples. Pretty happy with these.

I got other samples from ShuoHan, who makes the Bus Pirate USB and buttons. They’re the spring loaded ejection type and I don’t like how they feel without an enclosure.

Bummer from the SIM socket people. They don’t want to sell less than a reel (1000? 3000?), and I doubt we sell 100 boards. They advertise singles, but they now say “sample only”. Maybe I can buy a 100 samples? They’re going to get back about possible distributors tomorrow.

image

I reworked the board a bit:

  • Added mini/micro/nano SIM sockets on the top side
  • Moved KF011C to bottom side
  • Reordered the pin connection to better suit the RP2040 PIO way of doing things
  • Bigger, clearer silk labels on the top.

ETA: I think this should probably have a “true” VCC and GND header as well.

ETA2: maybe an smd slide switch? With the labor to put headers on pins, I doubt it’s cheaper to use header than an actual slide switch.

They compromised :slight_smile: They’ll sell us 200 MINIMUM! :wink:

2 Likes

ImportedPhoto_1710359913640

I started the 2wire library for the SLE4442, but I also have some plain I2C memory cards (24C02, 24C16 eeproms). They should have address A0-A1 (and the next 6? pairs).

It doesn’t respond to address scan. I tried both cards on 2 different versions of the socket. All the connections probed for shorts/bad joints. Logic analyzer to check the waveform.

A few times I did successfully get an ACK to 0xa1, but I could never repeat it. Maybe a different problem.

The SOP version of this chip works great with the current firmware.

It is being powered by the VOUT/GROUND, not an IO pin.

I tried various manipulations of the VPP and RST pins without luck.

This parallax basic example is the only thing that came up in searches. It seems to use straight I2C with 0xA0/0xA1 address.

Things to try:

  • Add 0.1uF or more cap
  • solder pins directly on card to eliminate adapter board issues
  • Add 2K resistors for a stronger pullup and scope the results