You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in the group: Users.
Free text:
= Wiring Notes = == Keypad connection == {| class="wikitable" |- ! purpose ! esp rfid ! reader ! extension |- | 12V | 12V | red | brown |- | GND | GND | black | brown/white |- | D0 | GPIO 13 | green | green |- | D1 | GPIO 12 | white | green/white |- | LED | GPIO 2 | blue | blue |- | beep | N/C | yellow | orange |- | GND | GND | grey | orange/wite |- | N/C | N/C | N/C | blue/white |} == non-keypad connections == * Button has a button * Door Stat: not connected * 12V * RSW: Not connected, no idea * RPDW: Connected to magnet coil = RFID Key Formats = There are three formats for the data in our flavour of RFID: # 1 26 bit decimal number, just a number, written on keyfobs # 2 16 bit decimal numbers, <code><5 digits>:<5 digits></code>, currently (2022-07-29) in the CRM and written on the cards. # the number but as hex It's what is in the [https://docs.google.com/spreadsheets/d/1MDKT8mEWlRE7w8xLvvEomp-zHsXRGF5U2E4l-wxVbnM/edit?usp=sharing spreadsheet] right now. === Converting formats === * To go from hex to decimal: <code>echo 0x05094D8 | perl -nle 'print hex'</code> ** <code>0x</code> is optional * To go from 2 16 bit to decimal: <code>echo 80:38104 | perl -laF/:/ -e 'print (($F[0] << 16) + $F[1])'</code> * To go from decimal to 2 16 bit:<code>echo 5280984 | perl -ne 'printf "%03d:%05d\n", $_ >> 16, $_ & 0xFFFF'</code> * Decimal to hex: <code>echo 5280984 | perl -nle 'printf "0x%X\n", $_'</code> There is also a[https://abzman2k.wordpress.com/2013/07/10/rfid-card-id-formatting/ blog post] and [https://docs.google.com/spreadsheets/d/1nXWvc0n79zF8VsAUfdsVBvRDxYZU4ZT5NOXnN-Q-534/edit?usp=sharing Google Sheet] about this.
Summary:
This is a minor edit Watch this page
Cancel