You are reading a single comment by @allObjects and its replies. Click here to read the full conversation.
  • ...a pretty weird protocol... Wiegand Interface Definition and Micro RWD EM4001 “Mag swipe” Decimal Output Version.

    Is that what you are talking about?

    Seems to be a 500bps protocol... a state-machine in Espruino could implement it with setWatch()'s on two RX connected to the sensor's/reader's TX (and of course two more connections for the communication in the other direction).

    I'm though not sure that ESP8266 has the capacity and the option to serve that state machine, because of the Wifi demands (interrupt requests) which come first (are of higher priority and are served first). - I read somewhere that you have about 15ms for a piece of event driven JavaScript to execute... if it takes longer, something gives way and the whole falls apart.

About

Avatar for allObjects @allObjects started