E-Paper-Calendar/README.md

50 lines
2.1 KiB
Markdown
Raw Normal View History

2018-08-26 23:56:49 +02:00
# Raspberry-Pi-Google-Calendar-with-E-Paper-display
2018-08-27 00:46:07 +02:00
A python script for the rpi zero w to sync events from any online calendar to a beautiful E-Paper Display, get live weather data and much more.
2018-08-27 00:15:18 +02:00
2018-08-28 01:17:38 +02:00
### Attention: This project is complete and is currently being tested to verify if it works. Please do not yet use it.
2018-08-27 00:15:18 +02:00
#Place image of the calendar here
## Main features
2018-08-27 00:43:22 +02:00
* Display the date and a full monthly calendar
* Syncronise events from any online calendar (like google, yahoo etc.)
* Get live weather data (including temperature, humidity, etc.) using openweathermap api
2018-08-27 00:15:18 +02:00
## Hardware required
2018-08-27 00:41:35 +02:00
* 7.5" E-Paper Display (Black, White, Red) with driver hat from waveshare (https://www.waveshare.com/product/7.5inch-e-paper-hat-b.htm)
* Raspberry Pi Zero W (without headers)
* 90° angled 2x20 Pin GPIO headers
* MicroSD card (min. 4GB)
* MicroUSB cable
2018-08-27 00:43:22 +02:00
* 3d-printer (you can also appoint any 3d-printing service)
* Soldering iron
2018-08-27 00:15:18 +02:00
2018-08-27 00:36:07 +02:00
## Setup
2018-08-27 16:03:47 +02:00
### Getting the Raspberry Pi Zero W ready
2018-08-27 16:47:33 +02:00
1. Set up Wifi on the Raspberry Pi Zero W by copying the file **wpa_supplicant.conf** to the /boot directory and adding your Wifi details in that file.
2. Create a simple text document named **ssh** in the boot directory to enable ssh.
3. Expand the filesystem in the Terminal with **`sudo raspi-config --expand-rootfs`**
4. Enable SPI by entering **`sudo sed -i s/#dtparam=spi=on/dtparam=spi=on/ /boot/config.txt`** in the Terminal
5. Set the correct timezone with **`sudo dpkg-reconfigure tzdata`**, selecting the correct continent and then the capital of your country.
6. Reboot to apply changes
2018-08-27 16:03:47 +02:00
2018-08-27 00:36:07 +02:00
### Installing required packages for python 3.5
2018-08-27 00:27:08 +02:00
Execute the following command in the Terminal to install all required packages:
2018-08-27 00:46:57 +02:00
2018-08-27 16:34:19 +02:00
**`sudo curl -sSL https://raw.githubusercontent.com/aceisace/Raspberry-Pi-Google-Calendar-with-E-Paper-display/master/Packages-installer | bash`**
2018-08-27 00:36:07 +02:00
### Customising the main script
2018-08-27 16:34:19 +02:00
Once the packages are installed, you can copy the 'Calendar' folder from this directory to the 'Home' folder of the 'Pi' user on the raspberry pi. From there, navigate to the file 'stable.py' and edit the file according to your own needs.
2018-08-27 00:54:59 +02:00
#### Contact
Website: ace-laboratory.com