Using projector Panasonic PT-JW130 connected via HDMI to Raspberry Pi and using a cheap capacitive touch board based on chip TTP223 to turn Projector on and off and switch between some images projected
THE FINAL SCRIPT IS projector_app.py
Demonstrative video https://www.youtube.com/watch?v=BXwR5uL4AZE
Hardware:
- Raspberry Pi 3B
- Panasonic PT-JW130 Projector
- TTP223 Capacitive Touch Sensor Butt https://www.instructables.com/id/Tutorial-for-TTP223-Touch-Sensor-Module-Capacitive/
Connectivity:
- Raspberry Pi connected to the projector with HDMI cable
- Raspberry Pi connected to WLAN (Wifi)
- Projector connected via ethernet cable to the LAN
THE PROJECTOR MUST SUPPORT COMMANDS THROUGHT THE PJLINK PROTOCOL TO WORK AS THESE COMMANDS ARE USED TO SWITCH IT ON AND OFF THE PROJECTOR MUST HAVE LAN CONNECTIVITY
Settings:
- set Raspberry Pi IP as static
- set the IP of the projector in your network
- check the manual to find the password of your projector, for Panasonic PT-JW130FBU model the password is "panasonic"
Personalization:
- customize the images you want to project
- decide which is going to be the image folder for your images
- customize the time used to turn the projector ON/OFF
- customize the time between touches on the capacitive sensor
Script:
- final script is projector_app.py
- term_projector_app.py is a script with just different settings you can use the program Cron to have the python script always running on Raspberry Pi
Important libraries used in this project:
- cv2 library used for loading and having setting the images full screen
- pypjlink library used for managing the PJlink commands to turn projector on and off remotely
Feel free to watch the descriptive video Video music credits Aitua Elements - III Blue SkyElements