Skip to content

Critical Making 712 Project E-Ink Display of Student Schedules

Notifications You must be signed in to change notification settings

Vibrant-Media-Lab/Door-Schedule-Display

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DoorScheduleDisplay

Critical Making Project to send data to a Raspberry Pi Zero that gets displayed on a WaveShare 7" E-Ink display.

Getting Started

Notes From The Fall 2023 Project Group:

  • SSH
    • IP: for us it was 172.20.10.9, but you can use the command "ifconfig" to view the IP under "inet"
    • Username: pi
    • Password: einkpi
  • In the home directory of the Raspberry Pi, there are two main directories
  • Outcome of e-Paper directory:
    • we got to the part of the tutorial where you run the code (C or Python) to send an image to the e-ink display. The diplay ended up drawing two horizontal lines, and nothing else, and thats as far as we got.
  • New Code added:
    • we added the folder Fall2023DoorScheduleDisplay. In there, you'll find client and server code as well as a web scraper that scrapes the VML's website and gives you the hours hopefully, you'll be able to use this to proceed with the project. There is also starter code for a client and server if you choose to go down that path, but we decided not to as the pi can be connected to wifi by itself and scrape the information on its own without any client helping it.

Requirements (prior to Fall 2023):

  • Python 3
  • Install pybluez on client and server
    • You might also have to install lightblue on client and server
    • NOTE: both these libraries are not supported anymore and there are a lot of possible bugs suring the installation or the use of the libraries that might not let you run the scripts. Another library to consider if that happens is BlueDot, however that will force you to have to change the scripts and this library relies on others that aren't supported anymore which might cause problems.
  • You might have to install the https://pypi.org/project/google-api-python-client/ to get the scripts to work as well.
  • See DisplayInstall for instructions on setting up the E-Ink display with a Raspberry Pi Zero

Notes on installation and running:

  • You may have to run the scripts as sudo if a permission denied error occurs.
  • On Linux, you may have to run Bluetooth in compatibility mode. If that occurs, see here and reboot.

Running:

  • Connect raspberry pi to wifi (ideally the same one that the client from which we will access the document is connected to)

  • Go through the server and client scripts and make sure to change the UUID and MAC addresses that match your pi.

  • On the Raspberry Pi, run python3 door_schedule_server.py

  • NOTE: if you get 'bluetooth.btcommon.BluetoothError: no advertisable device' error you will have to open the ports on your pi. Here is a link on how to do it.

  • On your local computer, run the client door_schedule_client with the following options:

    • Default: Pulls and sends default schedule. Run python3 door_schedule_client.py
    • To Send Another Document: python3 door_schedule_client.py doc DOC_ID_FROM_URL
    • To Send a Picture: python3 door_schedule_client.py image PATH_TO_IMAGE
  • NOTE: Picture functionality not finished at the moment

  • NOTE: As of now, there are problems trying to connect the bluetooth server and client which have not been solved yet.

About

Critical Making 712 Project E-Ink Display of Student Schedules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published