Skip to content

A project made with an ESP32 and a dual channel relay to replace a 3 way projector screen switch and instead automatically put the screen down when the USB port from the projector provides 5v power. Manual control is also possible VIA http webpage or http API.

Notifications You must be signed in to change notification settings

etahn-git/3-wire-projector-screen-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3-Wire Projector Screen Controller

A project made with an ESP32 and a dual channel relay to replace a 3 way projector screen switch and instead automatically put the screen down when the USB port from the projector provides 5v power. Manual control is also possible VIA http webpage or http API.
View My Setup & Wiring

Wiring Diagram & Photos

WiringScreen Control

More Photos


WIFI & Web Server / API

The ESP32 connects to a WIFI network and hosts a http server with a webpage to control the projector screen, this webpage communicates with http requests which can also be used as an API.

API - http://0.0.0.0/

/up - sends projector screen up
/down - sends projector screen down
/lock - locks the projector screens position (ignoring 5v projector signal and manual controls)
/toggle - puts screen up / down
Example of API being used in Homeassistant.

Setting / Changing Wifi SSID & Password

First Time Setup || Old Wifi Network Not Available: In the event that you are connecting the ESP to WIFI for the first time or the old WIFI Network is no longer available the ESP32 will wait 25 seconds of attempting to connect to the saved credentials, if all 50 connection attempts fail the ESP32 will host a WIFI Network called "Screen Controller Wifi Setup". Connect to this WIFI Network and proceed to http://192.168.32.32/ in your browser, from there click the WIFI Setup button and then fill in the details and press Save & Reboot.

Changing WIFI Networks with OLD Wifi Network Available: In the event that you want to change the WIFI Network the ESP connects to when the old WIFI Network is still around, the ESP will connect to the old one. You have two choices either go to the webserver on the current WIFI Network and click the WIFI icon in the bottom right OR turn off the old network temporarily to allow the ESP to create its Hotspot.


Configuration

  • Variables triggerPin, relayUp, relayDown pins may need to be changed based off board manufacturer.
  • delay(10000); this is the delay for how long a relay remains active before turning off when the screen goes down, may need to change based off length of screen.

Mobile App

Create one using https://appsgeyser.com/ I use it and it works great

About

A project made with an ESP32 and a dual channel relay to replace a 3 way projector screen switch and instead automatically put the screen down when the USB port from the projector provides 5v power. Manual control is also possible VIA http webpage or http API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages