Difference between revisions of "Control Panel"
From SlugWiki
m (13 revisions imported) |
|||
(8 intermediate revisions by 3 users not shown) | |||
Line 14: | Line 14: | ||
|a | |a | ||
|1 | |1 | ||
− | | | + | |Push it to the limit |
− | | | + | |red |
− | | | + | |pushes it to the limit |
|- | |- | ||
|B | |B | ||
+ | |- | ||
+ | |C | ||
|B | |B | ||
|b | |b | ||
|2 | |2 | ||
− | | | + | |Start |
− | | | + | |Green |
− | | | + | |Play |
|- | |- | ||
− | | | + | |D |
|C | |C | ||
|c | |c | ||
|3 | |3 | ||
− | | | + | |All stop |
− | | | + | |Red |
− | + | |Stop | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | | | + | |
|- | |- | ||
|E | |E | ||
Line 46: | Line 40: | ||
| | | | ||
| | | | ||
− | | | + | | |
− | | | + | |white |
− | | | + | |playlist 1 |
|- | |- | ||
|F | |F | ||
Line 55: | Line 49: | ||
| | | | ||
| | | | ||
− | | | + | |white |
− | | | + | |playlist 2 |
|} | |} | ||
Line 85: | Line 79: | ||
<pre> | <pre> | ||
'\' 'H' 'C' 01 'B' 'A' '\' 'E' | '\' 'H' 'C' 01 'B' 'A' '\' 'E' | ||
− | '\' 'H' 01 'C' 31 " | + | '\' 'H' 01 'C' 31 "rcvd" '\' 'E' |
'\' 'H' 'C' 01 'Z' '\' 'E' | '\' 'H' 'C' 01 'Z' '\' 'E' | ||
'\' 'H' 01 'C' 31 "Invalid port 'Z'" '\' 'E' | '\' 'H' 01 'C' 31 "Invalid port 'Z'" '\' 'E' | ||
</pre> | </pre> | ||
+ | |||
+ | ==See Also== | ||
+ | *[[4E Network]] | ||
+ | *[[Bemix]] | ||
+ | *[[Control Panel Notes]] | ||
+ | |||
+ | ===Source=== | ||
+ | *[http://bemix.mit.edu/svn/fourtheast/browse/bemix-pic/pushit/ svn://bemix.mit.edu/var/svn/repos/bemix-pic/pushit] - the buttons and 4E network part of the control panel (described above) | ||
+ | *[http://bemix.mit.edu/svn/fourtheast/browse/bemix-pic/7segment/ svn://bemix.mit.edu/var/svn/repos/bemix-pic/7segment] - the "Push it to the Limit" timer and combination lock | ||
+ | |||
+ | |||
+ | [[Category:Projects]] |
Latest revision as of 23:30, 25 August 2015
The control panel will have the following controls.
Switch Name | On Command | Off Command | Blink Command | Text | Color | Possible Function |
A | A | a | 1 | Push it to the limit | red | pushes it to the limit |
B | ||||||
C | B | b | 2 | Start | Green | Play |
D | C | c | 3 | All stop | Red | Stop |
E | white | playlist 1 | ||||
F | white | playlist 2 |
When a button is pushed a packet of the following format is transmitted over the 4E Network:
'\' 'H' 01 'C' 'A' (Switch Name) '\' 'E'
For example,
'\' 'H' 01 'C' 'A' 'A' '\' 'E' '\' 'H' 01 'C' 'A' 'D' '\' 'E'
button A then D were pushed.
Buttons A through D have built in lights that may be controlled over the 4E Network:
'\' 'H' 'C' 01 'B' (Lighting Command) '\' 'E'
For example, the following turns on light A, blinks light B, and turns off light c:
'\' 'H' 'C' 01 'B' 'A' '\' 'E' '\' 'H' 'C' 01 'B' '2' '\' 'E' '\' 'H' 'C' 01 'B' 'c' '\' 'E'
The control panel reports errors and acknowledges packets over port 31. These may be ignored. For example:
'\' 'H' 'C' 01 'B' 'A' '\' 'E' '\' 'H' 01 'C' 31 "rcvd" '\' 'E' '\' 'H' 'C' 01 'Z' '\' 'E' '\' 'H' 01 'C' 31 "Invalid port 'Z'" '\' 'E'
See Also
Source
- svn://bemix.mit.edu/var/svn/repos/bemix-pic/pushit - the buttons and 4E network part of the control panel (described above)
- svn://bemix.mit.edu/var/svn/repos/bemix-pic/7segment - the "Push it to the Limit" timer and combination lock