Open nelsonic opened 4 years ago
This PN532 NFC HAT for Raspberry Pi could be an option when we deploy the system as it will reduce complexity. https://www.banggood.com/PN532-NFC-HAT-for-Raspberry-Pi-I2C-or-SPI-or-UART-Interfaces-p-1678642.html The only downside of "Banggood" is that delivery can take 14+ days. ⏳
Watch this overview video: https://youtu.be/kbt4LFZptPk
https://www.ebay.co.uk/itm/PN532-NFC-Precise-RFID-IC-Card-Reader-Module-Raspberry-PI/381374529898 Still comes from China so still need to keep looking for dev.
Amazon has a similar board in stock here: https://www.amazon.co.uk/Youmile-13-56MHz-Development-Compatible-Raspberry/dp/B07XLKTVN7/
@th0mas yeah, that looks like a good dev board based on PN532
✅
Seems like reviewer "D" was expecting something plug-and-play: That isn't suggested/implied by the product listing. 🙄
If you are happy to do a bit of digging into the documentation for the board (and write up your findings on GitHub), 📝 then we're happy to move forward with ordering it. 👍 Please see the welcome email I sent you. Once we have your address we will add you to our company Amazon account and get this board sent to you today.
The board seems to be a rebranded ITEAD PN532 NFC MODULE
. They've written up some documentation on using it with a Raspberry Pi:
Once setup, the reviews on the company website seem to suggest once wired up correctly it works perfectly with the standard libnfc
In terms of extra connectors, some jumper wires and a breadboard would be needed to connect to the pi as well, and make development easier.
Making life easier, there's already an Elixir/Nerves library for interacting with the PN532: https://github.com/jmerriweather/nerves_io_pn532
This seems to be pure Elixir, and very macro heavy but could work well for our use case.
Theres another library: https://github.com/arjan/nerves_io_nfc
This seems to be more limited, but delegates communication with the NFC module to libnfc
, so it could be worth looking at expanding this
Do you think it's worth ordering that ribbon cable: from the itead.cc link you shared?
Or are you happy to wire it up using a breadboard?
Annoyingly, the cheaper price is for dispatch from China. So the item will only arrive towards the end of July. ⏳
Happy to spend an extra £4~ to get it fulfilled by AMZN and delivered this week. 👍
Very happy to wire it up over a breadboard. It seems simple enough and will allow for more expandability in future
Cool. breadboard and wires included in your Amazon order along with Raspberry Pi 4 Starter kit and NFC reader. 📦
Why?
We are building our own smart home security system - starting with the door entry/access control system - because we want full transparency of the system. We don't want to use a closed-source (security by obscurity) system where we are beholden to a fly-by-night developer using insecure protocols or worse a mega company tracking our whereabouts.
What?
The first piece of the puzzle in our smart home security system is the door-entry (access control).
The secure entry system is based on commodity hardware:
We will have two levels of secure access.
1. "Low Stakes" Access
For low-stakes access to internal doors we assume the person has already verified their device at the external door so we do not need to send them a push notification.
2. High Stakes Access
For external entry into the building, we will send the person a push notification to confirm that they have the device in their possession. This is because it's possible to clone an NFC tag so we cannot rely on the tag being "real" for high-security access. see: https://medium.com/insidersec0x42/how-i-finally-managed-to-clone-a-nfc-tag-4a9f64ef49c5
View/Edit this diagram: https://docs.google.com/presentation/d/1Q8CekKPniStTpwOm2O1za3yCB7hGMAujfxQZRJvhGYQ
How?
We need to purchase and setup an NFC reader in order to get this work started.
Todo