Defconlock

Defconlock - Barix brands the Barionet with a preloaded access control application as a "Defconlock".

Currently, rudimentary/preliminary code is provided to those interested on a case by case basis, the product "Defconlock" is not yet finished. However, in this area on the wiki you can find code, pinouts, tips and tricks related to useing a wiegand reader with the Barionet

Wiegand sample code

The sample code posted here opens the wiegand interface, a tcp listen socket, and then starts collecting wiegand scans of up to 2 readers connected directly to the Barionet. 26bit and 40bit cards are understood, decoded, and the resulting binary data is written into a "queue". If a host connects (or is connected) via TCP to the listening socket, it will receive the ID data and reader (1 or 2) information over the TCP connection. Again - this is sample code, not a finished application. Use as you wish !

**** source code will be posted as soon as .zip/.bas uploads are possible ****


Pinout / connection diagram for wiegand reader

Up to two Wiegand readers can be connected to a Defconlock/Barionet. Here is the recommended pinout to be used with the Defconlock application:

  • Input 1 - Door contact
  • Input 2 - Request to Exit
  • Input 3 - Door Tamper contact
  • Input 4 - Door locked
  • Input 5 - D0 of first reader
  • Input 6 - D1 of first reader
  • Input 7 - (D0 of second reader, if used)
  • Input 8 - (D1 of second reader, if used)
  • Output 1 - Green LED control
  • Output 2 - Red LED control
  • Output 3 - Beeper control
  • Output 4 - (local alarm, if used)

For a typical reader such as the HID Proxpoint Plus, this results in the following wiring

  • J6 pin 1 .. pin 4 ... connected to door
  • J6 pin 5: green
  • J6 pin 6: white
  • J6 pin 9: shield ground
  • J6 pin 10: orange
  • J6 pin 11: brown
  • J6 pin 12: yellow
  • J6 pin 13: blue
  • J6 pin 14: black
  • J6 pin 15: red (assuming Barionet is powered with less than 16V and reader can use that voltage)


Back to Main Page#Products