Skip to content
This repository was archived by the owner on Aug 27, 2022. It is now read-only.

Remote buzzer: Add rotary switch support and button for print#202

Merged
andi34 merged 10 commits intodevfrom
v3/hardwarebutton-rotary
Mar 22, 2021
Merged

Remote buzzer: Add rotary switch support and button for print#202
andi34 merged 10 commits intodevfrom
v3/hardwarebutton-rotary

Conversation

@jacques42
Copy link
Copy Markdown
Collaborator

@jacques42 jacques42 commented Mar 3, 2021

Prerequisites checklist

What is the purpose of this pull request? (put an "x" next to an item)

  • Documentation update
  • New feature

Fix #182

What changes did you make? (Give an overview)

Hardware Button (Remote Buzzer):

1) Added Rotary Switch support and mode for navigating the Photobooth screen.

In rotary mode a rotary encoder (i.e. KY-040) is connected to the GPIOs. Turning the rotary left / right will navigate through the currently visible set of buttons on the screen. Button press on the rotary will activate the currently highlighted button in Photobooth

The wiring layout is

Button                          Rotary Encoder
Mode           Raspberry        Mode

Picture  ---   GPIO 21    ---   DT
Collage  ---   GPIO 20    ---   CLK
Shutdown ---   GPIO 16    ---   SW
                3V3       ---   +
                GND       ---   GND

Known limitations:
The following elements are currently not supported and not accessible through the rotary navigation

  • Delete Picture
  • Full Screen Mode button
  • Download button

2) Added hardware button support for PRINT

If operating in Button Mode, now GPIO26 will support to trigger print-out via a hardware button. Printing can be triggered from the results screen or from the Gallery - Photoswipe screen.

Note that for the button to work, printing from results screen and from gallery needs to be enabled in the ' Admin Panel -> Print' section

Is there anything you'd like reviewers to focus on?

Please test the functionality also with a screen locally connected to the Raspberry Pi

@andi34 andi34 changed the title V3/hardwarebutton rotary Remote buzzer: Added rotary switch support and mode for navigating the Photobooth screen Mar 3, 2021
@andi34 andi34 changed the title Remote buzzer: Added rotary switch support and mode for navigating the Photobooth screen Remote buzzer: Add rotary switch support and mode for navigating the Photobooth screen Mar 3, 2021
@andi34 andi34 force-pushed the v3/hardwarebutton-rotary branch from 0ffc4ff to 177bf3e Compare March 3, 2021 16:14
@jacques42 jacques42 changed the title Remote buzzer: Add rotary switch support and mode for navigating the Photobooth screen Remote buzzer: Add rotary switch support and button for print Mar 8, 2021
@jacques42 jacques42 self-assigned this Mar 9, 2021
@andi34 andi34 force-pushed the v3/hardwarebutton-rotary branch 2 times, most recently from 7678913 to 295524d Compare March 14, 2021 10:26
…oved button.py as obsolete

Change-Id: I762be5a96599b641978af0a2135540847ce88988
…IO configuration

Change-Id: If54008e0fcafeb23cea9f7137f79ca82ee79764d
@andi34 andi34 force-pushed the v3/hardwarebutton-rotary branch from 2e7f76d to 4b5a307 Compare March 20, 2021 19:48
Comment thread faq/faq.md Outdated
Change-Id: I2003c24030e7dfdb6445fdd6a42e7bcd35b29c95
Change-Id: If5cddbd26598202120f02805de68e1501edfd0da
Change-Id: I616149b5314b63c729863ace184f76acd54100df
Change-Id: I6fe9f68b61e8fd2359d70bee288edd9c227c355f
Change-Id: I6980af1293fbdd9e0d076eeb00ac6085a97c3999
@andi34 andi34 force-pushed the v3/hardwarebutton-rotary branch from 4b5a307 to 22e272a Compare March 21, 2021 10:28
@andi34
Copy link
Copy Markdown
Owner

andi34 commented Mar 21, 2021

Edit: obsolet

@andi34 andi34 added this to the 3.0.0 milestone Mar 21, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Rotary Encoder for Website Control

2 participants