Skip to content

Commit

Permalink
doc update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Rein Appeldoorn committed Mar 22, 2018
1 parent 77a874b commit 1ea5bbb
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Python code and assets Selfiebooth Baas van Horst aan de Maas.

Connect raspberry PI camera module to board

![Camera connection](doc/camera_connection.png)
![Camera connection](doc/camera_connection.jpg)

### 2. GPIO setup for button

Expand All @@ -19,13 +19,12 @@ we have a pull-up resistor, the digital value will be 1 when the swich (push but
is pressed, we would like the value to go from 1 to 0 and raise a falling event. Therefore, the other wire needs to be
attached to the ground (index 9). We use a pull-up vs a pull-down since it is less sensitive for interference.

Index 3 (BCM pin 3) and index 9 (ground) are illustrated in this figure:
Index 3 (BCM pin 3) and index 9 (ground) connection illustration:

![GPIO set-up](doc/gpio_setup.png)
Pin layout | Connection
:----------------------------------:|:-------------------------:
![GPIO set-up](doc/gpio_setup.jpg) | ![GPIO connection](doc/gpio_connection.jpg)

Here you see a photo of the connection:

![GPIO connection](doc/gpio_connection.png)

## Software setup

Expand All @@ -47,16 +46,16 @@ The app searches for a USB stick that is inserted to the pi. If a config folder
directory existed; a backup will be created.

### Config file parameters
- bottom_image: image path
- top_image: image path
- flash_image: image path
- countdown_images: list of image paths, every image takes 1 second
- screensaver_images: list of image paths
- flash_time: time in secs
- freeze_time: time in secs
- screensaver_time: time in secs
- screensaver_slide_time: time in secs
- screen_width: pixel size
- screen_height: pixel size
- `bottom_image`: image path
- `top_image`: image path
- `flash_image`: image path
- `countdown_images`: list of image paths, every image takes 1 second
- `screensaver_images`: list of image paths
- `flash_time`: time in secs
- `freeze_time`: time in secs
- `screensaver_time`: time in secs
- `screensaver_slide_time`: time in secs
- `screen_width`: pixel size
- `screen_height`: pixel size

All specified paths are relative to the config file
Binary file added doc/camera_connection.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gpio_connection.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/gpio_setup.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ea5bbb

Please sign in to comment.