HTTPS clone URL
Subversion checkout URL
Fetching latest commit…
Cannot retrieve the latest commit at this time
io - The I/O interface for the front door This is the driver and the brain behind the front door controller, with some example scripts Made for the Raspberry Pi Files ----- Shell scripts: 74ls673.sh - Use a shift register on a Raspberry Pi connected to the GPIO lines, Uses 3 lines, provides 16 outputs 74150.sh - Read an input multiplexer. Read 16 inputs, uses 5 GPIO lines 74150+74673.sh - Combination of the two: read 16 inputs, provides 12 outputs, uses 4 GPIO lines blackknight - Init script to auto-start the black knight, based on debian skeletton Pascal sources: pigpio.pas - Library to access the Raspberry Pi GPIO using memory mapped I/O: Used with kind permission from the original author, Gábor Szöllösi Original URL: http://elinux.org/RPi_Low-level_peripherals blackknightio.pas - Main program: reimplementation of 74150+74673.sh as compiled code - WiP pidfile.pas - PID file library Installation ------------ No makefile yet. Install the Free Pascal compiler and it's runtime libraries, # apt-get install fpc fp-units-misc fp-utils then compile the program # fpc blackknightio.pas Copy it to final destination, set SUID bit mand make it owned by root # cp blackknightio /usr/local/bin # chmod +s /usr/local/bin/blackknightio # chown root:root /usr/local/bin/blackknightio Copy the init script to the system init directory # cp blackknight /etc/init.d Data layout ----------- There is a database schema to be used with MySQL, this schema still need some work and integration to the member management system. The handler script can make a simplified text dump with all the needed data for on-door management.