Trigger OSC commands using a 6-channel relay to an ESP32.
IMG_23877.mov
Equipment:
- ESP32
- 6CH Relay Remote
Recommended Equipment:
- Mini Breadboard
- Jumper Wires
- Wago Connectors
- Micro USB Cable
- Clone this repository to VSCode
- Make sure Platformio extension is installed
- Install dependencies
- Modify
main.cpp
const char* ssid = "SSID"
;
const char* pwd = "PASSWORD"
;
const IPAddress ip(10, 101, 100, 105
);
const IPAddress gateway(10, 101, 100, 1
);
const IPAddress subnet(255, 255, 255, 0
);
const char* host = "10.101.100.24"
; //This is the Computer receiving the OSC Messages
const char *oscaddress = "/go/RM5B1"
; // Button 1
const char *oscaddress2 = "/go/RM5B2"
; // Button 2
const char *oscaddress3 = "/go/RM5B3"
; // Button 3
const char *oscaddress4 = "/go/RM5B4"
; // Button 4
const char *oscaddress5 = "/go/RM5B5"
; // Button 5
const char *oscaddress6 = "/go/RM5B6"
; // Button 6
- Save changes
- Flash ESP32 with code
![](https://private-user-images.githubusercontent.com/70780576/291771891-8f5237dd-62fb-4a9b-8e35-d615854dfd39.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMTUwNzgsIm5iZiI6MTcyNDMxNDc3OCwicGF0aCI6Ii83MDc4MDU3Ni8yOTE3NzE4OTEtOGY1MjM3ZGQtNjJmYi00YTliLThlMzUtZDYxNTg1NGRmZDM5LmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDA4MTkzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI0N2FiMTM2OGQ4ZDE0M2EzOWI2Y2VhOTE1MmRmMDUzYzRkODNjMDMyNWNhNDJmYjE1MGI2NDk5MzQ1YjQxMjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.syg6qRkCz6YsSiySh1QMMHDLM5ulS08A-3K50n3CfTs)
![](https://private-user-images.githubusercontent.com/70780576/291771901-b650f7ce-3f78-41d3-a7cf-540f8f8a089b.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMTUwNzgsIm5iZiI6MTcyNDMxNDc3OCwicGF0aCI6Ii83MDc4MDU3Ni8yOTE3NzE5MDEtYjY1MGY3Y2UtM2Y3OC00MWQzLWE3Y2YtNTQwZjhmOGEwODliLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDA4MTkzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTljZDYxMzAwZmJmODUxZmIxNDg5NDQ1MmFmOTAzYzU4YjQ5NjNmZWZjMjgyMjViNDUzNGVlYjAwMjU0Y2Q2MmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.G8rS-2tYz9ynf9d2-L7dChXgk1KW_oZRLtyPx6etQ20)
![](https://private-user-images.githubusercontent.com/70780576/291772109-a8518ef5-ecdd-479d-a4b4-29dc72a8030c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQzMTUwNzgsIm5iZiI6MTcyNDMxNDc3OCwicGF0aCI6Ii83MDc4MDU3Ni8yOTE3NzIxMDktYTg1MThlZjUtZWNkZC00NzlkLWE0YjQtMjlkYzcyYTgwMzBjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIyVDA4MTkzOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTYwNDg1ZWE3MjUyMTI3ZDhiMTkwMjBjMzE4ZGExMGI0MzE2MmVmOWJjNzY4MGNkNmVhNWJiMDBiMWJkZGYyYWMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.LMwbMSxeChCnshQFslFNbpaTXGeWg2IPQ2ALTHeZy7A)
This project was designed for USC School of Dramatic Arts production, Ghosts of USC: A Historical Immersive Haunt. There were 5 of these units for each room to trigger 6 cues each. Stage Management discretly used the remotes to trigger QLab. This system triggered sound and lighting cues.