Commit da2cfe95 authored by Neil Alvin Hernandez's avatar Neil Alvin Hernandez

Add README.md

parent 11568606
I. How to setup Raspberry Pi for Kiosk
1. Download Raspberry Pi Image File from (https://www.raspberrypi.org/downloads/raspbian/)
- you can choose either Lite version of Desktop OS image file.
2. Download Etcher @ https://www.balena.io/etcher/ and install.
3. Insert SD Card to your specified drive for burning.
4. Burn the Raspberry Pi Desktop Image to your Allocated Memory Card (at least 8gb preferred: 16gb).
- Open the application balenaEtcher.exe.
- From the app press Select image.
- Select appropriate drive where card was inserted then press flash.
II. How to setup turnstile
1. Prepare 5V, 2A Power supply for powering up device.
- HDMI cable and monitor.
- Mouse and Keyboard.
2. Red LED will turn up with a light flashing of green LED beside it once device is powered up.
3. Create directory by opening terminal "mkdir {designated dir name}".
4. Go inside the directory from terminal "cd /home/pi/{designated dir name}".
5. Load the ff files inside the directory.
- dbupdate.py
- clcl2627 (For Paid Access Turnstiles)
- freeturn.py
6. From config.ini change the following values accordingly.
- ip_address = {Anyvision Server IP Address}
- rev_trig_logic = {1/0}
1 for Reverse Logic kind of Relay. (http://www.faranux.com/product/5v-single-channel-relay-module-board/)
0 for Forward Logic kind of Relay.
7. from terminal directory {designated dir name}.
- nano autostart.sh
- python3 /home/pi/{designated dir name}/dbupdate.py &
- python3 python3 /home/pi/<designated dir name>/cl2627.py & (For Paid Access)
- python3 /home/pi/<designated dir name>/freeturn.py &
8. from terminal "nano /etc/xdg/lxsession/LXDE/autostart", insert the lines below
- @xset s off
- @xset s noblank
- @xset -dpms
- @sh /home/pi/OFC/autostart.sh
- @unclutter – idle 0 root
- @setxkbmap -option terminate:ctrl_alt_bksp
press Ctrl + X then Y, hit Enter.
9. Reboot Raspberry Pi should be working.
================================================================================
- Raspberry Pi Default Username: pi
- Raspberry Pi Default Password: raspberry (Changeable)
FOR FURTHER GUIDES refer to the documents listed below.
- Installation Guide for Raspberry Pi Kiosk.pdf
- Turnstile setup guide.pdf
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment