mimo
README.md

mimo

Parcel Robot

For raspberry pi: Username: tumparcelbot Password: parcelbot

Instructions on setting up and starting the pi.

  1. Ensure you have Rasperian img downloaded and running, and to connect the LCD to the raspberry pi, open up the main.txt file, and insert the following at the bottom on separate lines: max_usb_current=1, hdmi_group=2, hdmi_mode=87, hdmi_cvt=1024 600 60 6 0 0 0, hdmi_ignore_edid=0xa5000080,config_hdmi_boost=2. Also create and save an empty file with no file type, called ssh.
  2. Transfer the main2.py file and the image files to raspberry pi via microSD card and when loaded up, transfer from the boot drive into the /home/tumparcelbot directory (ensure your code is in the same directory as the images)
  3. Ensure you have the necessary libraries downloaded. Once connected to the internet, you can download through the console directly using the terminal: sudo raspi-config - navigate to "interfacing options" and select "SPI", click "Yes" when prompted to enable SPI. Exit and reboot. Using the terminal, start installing the libraries: sudo pip3 install spidev mfrc522, sudo pip3 install pygame, sudo pip3 install mfrc522, and sudo pip3 install PIL.
  4. You can run the code from Geany if you load up the file, and make changes there if necessary. Otherwise, run from the terminal using python3 main2.py.

The Pygame window should open and display the initial image ("Authentication drop off.png"). You can progress the images by clicking on the LCD touchscreen, and place an RFID card on the reader to progress to the 3rd image, click again to progress to the confirmation screen image.