Can you use NFC on a Raspberry Pi?
No, NFC is not limited to Android devices. You can implement NFC communication with pretty much any device that has an NFC front-end. The Raspberry Pi does not have one by default. However, there exist various add-on tools that you could use to add NFC to an RPi, e.g.
Can a Raspberry Pi work with an Android phone?
No, NFC is not limited to Android devices. You can implement NFC communication with pretty much any device that has an NFC front-end. The Raspberry Pi does not have one by default.
Is there a way to read a NFC card?
I installed PyUSB and I’m able to detect the device using some of the sample code, but nothing like reading the NFC card when it comes into proximity (although there is a beeping sound, which makes me believe the USB device itself is working fine).
What kind of API does Raspberry Pi use?
Instead, you should be using a smartcard API, like PC/SC, which takes care of the intricacies of USB for you, such as PCSC lite through C/C++, pyscard in Python, or other APIs/bindings in other languages. Edited: based on the link provided by John Tyree’s comment, I now include a direct translation of the C++ code into Python.
How to enable SPI communication on Raspberry Pi?
1. Enable SPI device by editing file /etc/modprobe.d/raspi-blacklist.conf and comment the line blacklist spi-bcm2708 so it will read as follows: 2. Then download SPI-Py package to enable SPI communication for Python If you are missing python-dev and the setup script exits with error, install the package first
How to avoid power failures on Raspberry Pi?
To avoid power failures you can use UPS, but your raspberry might still get rebooted from time to time. Also you want to use the integrated keyboard instead of the keyboard from console where you run program from. In next step enable autologin on TTY1. This will automatically login your first console after reboot as root.