Transmission Light: Difference between revisions

From YSTV Documentation Wiki
No edit summary
Line 1: Line 1:
This is the thing that says whether you are transmitting, rehearsing, or both.
This is the indicator light that says whether you are rehearsing, transmitting or both.


== Design ==
== Design ==
This light is controlled by an Arduino using get requests over ip, this then triggers the corresponding relay
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>/?rehersal_on
* 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 all lights - <IP address>/?all_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