15
Section 7: Stoplight
Section 7:
Stoplight
Momentary Green
Option 21 = 4
Option 22 = ####
Connect a switch between Ground and Pin 13. When pin 13 goes low the light will toggle from red to
green and remain green for a certain number of data streams set with Option 22, then will go back to red.
Momentary Red
Option 21 = 5
Option 22 = ###
Connect a switch between Ground and Pin 14. When pin 14 goes low the light will toggle from green to
red and remain red for a certain number of data streams set with Option 22, then will go back to green.
ASCII Control
Option 21 = Any ASCII character from 06(ACK) to 127(DEL) for the Red light.
Option 22 = Any ASCII character from 06(ACK) to 127(DEL) for the Green light.
*Both options 21 and 22 must be set to a value of 6 or higher. Setting only one
option will cause the remote to ignore ASCII control codes.
Result
When the character set in option 21 is in the data stream the Red light will be on.
If the character is not in the data stream then the Red light will be off.
When the character set in option 22 is in the data stream the Green light will be on.
If the character is not in the data stream then the Green light will be off.
*When option 2 is set to 2 the stoplight will be controlled by the appropriate status
byte.
Setting options 21 and 22 will over ride the Toledo option byte.
Serial Traffic Commands
Option 21 = 0
Option 22 = 4
The Serial Traffic commands can be used to set the traffic lights with one time commands. Unlike the
standard ASCII Control which controls the traffic lights via a character constantly within the stream, this
option will set the traffic light based on the command code sent once and then that state will hold until
a new command is sent. The command character must be within a set data stream format. If Option 11
is set then the command code must be after the addressable character and must be before the end
character set as option 15. The command may be sent as a part of a larger stream including weight or in
a simple two character stream of command character followed by the end character. The four command
characters are:
DC1 (Decimal 17) = Turn Red Light On
DC2 (Decimal 18) = Turn Green Light On
DC3 (Decimal 19) = Turn Both Lights Off
DC4 (Decimal 20) = Turn Both Light On