Thanks to visit codestin.com
Credit goes to github.com

Skip to content

mstrperson/qt-timeclock

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignIn Pi

RFID Card or PIN enabled timeclock software written for the Dublin School FIRST Robotics Team to keep track of team attendance during the robotics season. Written by Jason Cox

Hardware

  • Adafruit NFC/RFID reader module
  • RaspberryPi 2
  • 7" Touch-screen
  • USB-FTDI module

Software

Built and compiled on the RaspberryPi so no cross compiling was needed. Copy the libnfc directory into your /home/pi directory because the code calls the modified nfc-poll example.

  • Adafruit NFC/RFID driver for Raspbian (wheezy) libnfc
  • Qt 4.8
  • MySql

Qt Build Configuration

Build Steps

  • qmake: qmake-qt4 Signin.pro -r -spec linux-g++
  • Make: make -j8 -w in /home/pi/autorun

Tool Chains

  • Compiler path: /usr/bin/g++
  • ABI: arm-linux-generic-elf-32bit
  • Debugger: /usr/bin/gdb

Raspbian Configuration

Auto run the Signin application on LXDE startup. This will automatically restart the program if it is somehow closed by an end-user.

# /etc/xdg/lxsession/LXDE-pi/autostart

@lxpanel --profile LXDE-pi
@pcmanfm --desktop --profile LXDE-pi
@xscreensaver -no-splash
@/home/pi/autorun/Signin

Configuration file for mysql authentication

write a file /home/pi/.mysql_auth containing the following lines:

<mysql server host name>
<database/user> (assumed to be the same)
<password>

Creative Commons License
QT Timeclock by Jason Cox is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Based on a work at https://github.com/mstrperson/qt-timeclock.

About

This is a RaspberryPi based time-clock kiosk application which has a touch-screen keypad as well as an RFID card scanner.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors