Transmission Light: Difference between revisions
From YSTV Documentation Wiki
liam.burnand (talk | contribs) (→Design) |
liam.burnand (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
This is the | This is the indicator light that says whether you are rehearsing, transmitting or both. | ||
== Design == | == Design == | ||
This light is controlled by an Arduino using | This light is controlled by an Arduino using GET requests over ip, this then triggers the corresponding relays. | ||
The code can be viewed [https://github.com/ystv/transmission-light here]. | |||
== Relay control get requests == | == Relay control get requests == | ||
* Turn on rehearsal light - <IP address>/? | * Turn on rehearsal light - <IP address>/?rehearsal_on | ||
* Turn on transmission light - <IP address>/?transmission_on | * Turn on transmission light - <IP address>/?transmission_on | ||
* Turn off | * Turn on both rehearsal and transmission light - <IP address>/?rehearsal_transmission_on | ||
* Turn off both rehearsal lights - <IP address>/?rehearsal_transmission_off | |||
[[Category:Technical]] | [[Category:Technical]] |
Revision as of 00:34, 10 October 2021
This is the indicator light that says whether you are rehearsing, transmitting or both.
Design
This light is controlled by an Arduino using GET requests over ip, this then triggers the corresponding relays.
The code can be viewed here.
Relay control get requests
- Turn on rehearsal light - <IP address>/?rehearsal_on
- Turn on transmission light - <IP address>/?transmission_on
- Turn on both rehearsal and transmission light - <IP address>/?rehearsal_transmission_on
- Turn off both rehearsal lights - <IP address>/?rehearsal_transmission_off