-
Notifications
You must be signed in to change notification settings - Fork 2
LACS Installation
Tushar Kataria edited this page Dec 7, 2015
·
2 revisions
-
Insert a 4GB+ SD Card on your Raspberry Pi If you want to save space on the SD Card, you can delete some of the images inside the os folder in the NOOBS zip file that you don't want to use.
-
Format the Disk
- Download and install the SD Association's Formatting tool From Here
- Open the Application you have just installed Set "FORMAT SIZE ADJUSTMENT" to ON in the Options menu
- Make sure you have selected the Drive your SD Card is inserted in
- Click Format
- Download and install the SD Association's Formatting tools from here
- Select "Overwrite format"
- Make sure you have selected your SD Card, and not something else
- Click Format
- Use gparted (or the command-line version parted if you prefer), if you don't have it, install it as you usually would.
- Format the entire disk as FAT32 (FAT16 will not work! Make sure you select the correct disk!)
- Extract the file you downloaded
- Copy the files you just extracted to your SD Card
- For more info visit here
- In the terminal or command line type this to configure
sudo raspi-config
The sudo is required because you will be changing files that you do not own as the pi user
- A GUI interface will be enabled
- Select
Advanced Settings-->SPI interface-->Enable
- [Official Documentation](OFFICIAL DOCUMENTATION-https://www.raspberrypi.org/documentation/configuration/raspi-config.md)
Type the Following commands in terminal
$ git clone https://github.com/lthiery/SPI-Py
$ cd SPI-Py
$ sudo python setup.py install
git clone https://github.com/mxgxw/MFRC522-python
cd MFRC522-python
cp MFRC522.py <relative or absolute path of your directory>
wget https://pypi.python.org/packages/source/R/RPi.GPIO-0.5.4.tar.gz
tar -zxf RPi.GPIO-0.5.4.tar.gz
cd RPi.GPIO-0.5.4
sudo python setup.py install
git clone https://github.com/Electroholics/CP.git
cd CP/LACS
sudo python main.py