HACCSY – Hackerspace Access Control and Check in System

HACCSY – Hackerspace Access Control and Check in System

HACCSY abbreviation stands for Hackerspace Access Control and Check in System and that’s pretty much what it does.

HACCSY app is meant to run on a RaspberryPi that’s connected to internet and the front door electric strike lock. It does the job of a simple Check in System and Door Access Control System (2 in 1), it queries a REST service by handing it the scanned in RFID card reader and it will return ‘true’ if the key owner owes less than 2 months worth of their monthly payment. It will return ‘false’ otherwise. It does the same for checking in and out. The computer would then send the signal to the door lock actuator to open it if returned true or do nothing if false. It has a check IN/OUT button to indicate Check IN or Check OUT. It also has an LCD backlight display that displays messages for the user, and an RGB LED that turns RED for Access Denied, GREEN for Access Granted and WHITE to indicate offline mode. Through the REST API, you can also make it available for others to see if the hackerspace is open or not. See working example on the website header at http://www.prishtinahackerspace.org

Code available on Github

HACCSY is built with the following hardware and electronic components: Continue reading “HACCSY – Hackerspace Access Control and Check in System”

Advertisements

Character Converter python

This is a sample of character converter, so lets take that the keyboard is showing my name altin as .ktiv or anything you type in other characters, you just write there .ktiv it tells you that its altin…

#!/usr/bin/python

print '====================================='
print ' Character Converter'

print ' \nThis Script converts characters:\n'

print ' From these: \'1234567890-=qwertyuiop[]`.asdfghjkl;*\\zxcvbnm,\'!@#$%^&()_+NM<L:{]~'
print ' To these: `1234567890-=qwertyuiop[]\\asdfghjkl;\'zxcvbnm,./~!@#$%^&()_+?:"{}|\n'
print ' And also the upper case letters'
print '====================================='
raw_input('Press  to continue\n')

import string

characters = string.maketrans('\'1234567890-=qwertyuiop[]`.asdfghjkl;*\\zxcvbnm,\'!@#$%^&()_+NM<L:{]~QWERTYUIOPASDFGHJK|ZXCVB', '`1234567890-=qwertyuiop[]\\asdfghjkl;\'zxcvbnm,./~!@#$%^&()_+?:"{}|QWERTYUIOPSDFGHJKLXCVBNM')

text = raw_input(' Write text: ').translate(characters)

Continue reading “Character Converter python”

Some simple python programming

Hi there,
Well programming in python is easy and also funn.
Im posting this code, because I am not using anymore my old blog that I used just for python.
So I thought it would be better to transfer all those things here.
Below is My firs code ever in python.
Its very simple, (just a conversation with the computer)

#!/usr/bin/python

print 'Enter your name and surname:'

# `.title()` makes first letter capital and rest lowercase
name = raw_input('Name: ').title()
surname = raw_input('Surname: ').title()

# use `.format(...)` to create fancy strings
print '{name} {surname}, the Great!'.format(name=name, surname=surname)

Continue reading “Some simple python programming”

Best Python Blogs

Best python blogs:

I just wanted to share, these are the best python blogs I have found till now,
And they also have good material… tutorials and stuff.. :

http://planet.python.org/
http://blog.doughellmann.com/search/label/PyMOTW
http://www.voidspace.org.uk/python/weblog/index.shtml
http://blog.ianbicking.org/category/python/
http://python-history.blogspot.com/

Create your own Python Blog : http://www.pythonblogs.com/

Python Tutorials : Click Here !

Python Programming Tutorials

Here are some sites ( sources where you can start learning python for free ! )

Video tutorials :

The New Boston Tutorials

Text Based :

http://docs.python.org/tutorial/index.html

http://www.awaretek.com/tutorials.html

http://www.greenteapress.com/thinkpython/html/index.html

http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python_2.6

http://www.swaroopch.com/notes/Python

Try python here :

http://try-python.mired.org/