What does your scope show on inputs? When using a digital storage scope, connect on channel to dat0 and another to dat1. Use single cycle (freezing picture after signal ends) mode. Show card to reader and count pulses form both channels. If count>26, code will not work definitely.
Lock code is attached. Reads 36-bit wiegand and saves card numbers into PIC's EEPROM. Key "Tühista kaart" means "delete card", other key is for registering card.
To register new card press and hold the "registreeri kaart" key and show card to reader. After beep data is saved.
To delete a card, procedure is the same except that you should use "Tühista kaart" key.
Pressing both keys simultaneously opens door lock (could be used for opening the door from inside).
Have fun!
Bookmarks