They only read the card's unique ID, but if needed let me know and I could extend them to read full RFID data.
One is SPI, and one is I2C (requiring less wires) - and on Puck.js any peripheral can be on any pin, so you literally just have to wire it up to any free IO pins and you're sorted.
For power - yes, you can power Puck.js from its 3V pin. You just need a voltage between around 2V and 3.6v. Sadly that's not quite high enough to allow you to run it from a LiPo battery (but then the RFID sensor wouldn't have liked that anyway), so you'll probably want to use some kind of 3.3v voltage regulator/power supply - they're easy enough to get hold of but ask if you need some advice there.
In fact, realistically while the voltage to an RFID reader is correct, I think you'll struggle getting enough power out of the CR2032 battery in the puck to power the reader, so you'll probably want an external power supply anyway.
However as another simple, no-setup multiplatform option you could actually make Puck.js act like a Keyboard (https://www.espruino.com/Puck.js+Keyboard) and 'type' the data it received.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Hi! There are two types of RFID sensor that have some example code to make them work with Espruino right now:
http://www.espruino.com/MFRC522
http://www.espruino.com/PN532
They only read the card's unique ID, but if needed let me know and I could extend them to read full RFID data.
One is SPI, and one is I2C (requiring less wires) - and on Puck.js any peripheral can be on any pin, so you literally just have to wire it up to any free IO pins and you're sorted.
For power - yes, you can power Puck.js from its 3V pin. You just need a voltage between around 2V and 3.6v. Sadly that's not quite high enough to allow you to run it from a LiPo battery (but then the RFID sensor wouldn't have liked that anyway), so you'll probably want to use some kind of 3.3v voltage regulator/power supply - they're easy enough to get hold of but ask if you need some advice there.
In fact, realistically while the voltage to an RFID reader is correct, I think you'll struggle getting enough power out of the CR2032 battery in the puck to power the reader, so you'll probably want an external power supply anyway.
For the Phone->webserver thing, the simplest method would be to do something using Web Bluetooth: https://www.espruino.com/Puck.js+Web+Bluetooth
However as another simple, no-setup multiplatform option you could actually make Puck.js act like a Keyboard (https://www.espruino.com/Puck.js+Keyboard) and 'type' the data it received.