Git Product home page Git Product logo

pn532's Introduction

背景

之前TB买过PN532模块,回来连接TTL模块破解了校园卡,写到了手环里面,进出图书馆刷手环,美滋滋。每次用都要重新连接杜邦线,很麻烦,干脆将TTL模块和PN532模块粘到一起了。后来看到网上有人卖一体PN532,Typec,mirco双接口,很方便,为什么没买呢?第一,我觉得只是把两个模块布线一起了而已,不想交这个智商税。第二,我并不需要mirco接口。第三,上面有他的LOGO,这让我我的geek心很难受。综上,这个项目就诞生了。

虚心学习

刚开始以为这是个很简单的项目,但是后来了解到这个NFC的天线并不是可以随便画的。加上正好在公司见到了同事做的RC522模块,天线随便画的,然后感应距离。。。只能贴着才能读到。很尴尬。于是乎我开始了虚心学习这部分知识。射频电路,需要阻抗匹配,所谓阻抗不是电阻,阻抗是容抗感抗加电阻,在NXP官网下载了NFC计算工具,对照手册一个一个翻译,查参数的意义,搞了很久,最终明白了。

简单说就是在软件输入天线的各种物理参数,然后可以得出天线部分的匹配电路的电容电阻值。通过微调Q值使电容电阻的值更贴近整数。

具体的很多参数的意义没有深究,之后有时间深入学习下。

验证

打板回来根据软件计算的参数,焊接好,感应距离在2-3CM左右。应该还是匹配的不好。等后期有时间再调试。

pn532's People

Contributors

geekchun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.