Close
0%
0%

NFC card copying business card

A NFC Business Card to copy other NFC Cards

Similar projects worth following
Uses an ESP32S3 and the PN7160 to read, write and emulate NFC chips

Haven't we all wanted to make a copy of an NFC chip on the fly but couldn't because there was no handy device small enough to carry around all the time? This small project, in the form factor of a business card, is compact enough to fit in a wallet.

It uses the PN7160 from NXP to read, write, and emulate NFC chips, with the ESP32-S3 controlling everything over I2C. The code for this is in progress, but as I am currently writing my master’s thesis, I don't have much time to work on other things. Additionally, the NFC antenna may not be perfectly tuned as I have no prior experience in RF design.

For the UI, there are three buttons and three LEDs. However, I plan to expand this in future versions to include a monochrome display and more buttons. As the project grows, I will likely add a micro-SD card to store copied NFC chips.

At the moment, all programming is done through a USB-C port using the USB functionality of the ESP32-S3. In future versions, I intend to remove the USB-C port and program (and charge) the device through pads on the bottom side.

The entire card (with the USB-C port but without the battery) is 4.2mm thick. Without the USB-C port, it shrinks to 3.35mm, and if I had used the buttons I initially wanted (but didn't have at the time), it would be 1.9mm. So, adding a 1mm thick battery results in a device thinner than 3mm.


Future Improvements:

  • remove the USB-C port to save precious space
  • replace the thick buttons with thiner ones, to, once again, save space (the new ones are only 0.45mm thick)
  • adding a super thin lipo battery (GM251534 or PGEB016144 from powerstream)
  • adding a monochrome display to have a more intuitive UI
  • clean up the schematic

Mistakes I made:

  • the THT parts of the USB-C port are thicker than the PCB and stick out of the bottom of the PCB
  • probably something is wrong with the matching/filter circuit of the NFC antenna

Schematic_NFC-Card_2024-06-28.pdf

a very chaotic schematic

Adobe Portable Document Format - 184.90 kB - 06/28/2024 at 12:20

Preview

Gerber_PCB_NFC-Card.zip

The gerber file of the PCB

x-zip-compressed - 96.15 kB - 06/25/2024 at 21:17

Download

  • 1 × PN7160 NFC Chip
  • 1 × ESP32-S3FN8

  • Most of my planned features on a PCB

    Leon08/10/2024 at 11:24 0 comments

    I have successfully implemented most of the planned features, such as removing the USB-C port and adding a display. Unfortunately, I have not been able to test the display as it has not arrived yet.

    The new PCBs were kindly sponsored by PCBWay. The boards are a beautiful black, and ordering them was very straightforward. PCBWay offers a wide variety of customizations, I wasn't even sure what to choose. Contact with PCBWay customer service was always friendly and helpful.

    The unpopulated PCB


    The best part of these new PCBs is how stunning the traces look under the glossy black finish. I could admire them for hours. The only downside of the color is its tendency to attract fingerprints. I tried to take high-quality pictures, but due to my lack of experience in photography and not having a professional camera, the photos didn’t fully capture the beauty of the PCBs or how easily they pick up fingerprints.

    I populated the boards with most of the components, except the display and battery unit. For the battery unit, I had to design a protection circuit on my PCB, as the battery i chose (PGEB014461 from powerstream) comes without one. Two additional buttons were added. While the extremely thin buttons I used are great, they are also very delicate. I've already broken one and a half of them without putting much stress on them. If I continue using them, I probably have to model a hull around the board to protect them. (The half broken button is the one in the bottom left corner of the picture) 

    Programming the boards without the onboard USB-C port was a bit awkward, so I soldered an external USB port to the programming pads on the bottom of the board. Unfortunately, I haven't been able to finish a full ESP library for the PN7160 yet, so I haven't been able to fully test all the components. However, this will be my next focus to keep the project moving forward.

    The front of the populated PCB

    The back of the populated PCB

View project log

Enjoy this project?

Share

Discussions

SoLongSidekick wrote 06/29/2024 at 22:11 point

If you're interested I'm currently working on a workflow to mill PCBs, apply and either etch or CNC black solder mask, and the last step I'm working out is silk screen. My WIP name is "80% PCBs" because they're just barely not fab-house quality, and is a play on the 80% AR15 receivers one can finish drilling themselves at home legally. Let me know if you'd like me to either produce prototype PCBs for you or work on adding DIY CNC PCBs to the project.

  Are you sure? yes | no

rafununu wrote 06/29/2024 at 15:19 point

One to rule them all ?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates