Spacecontrol/Baikonur
From Whitespace (Hackerspace Gent)
< Spacecontrol(Difference between revisions)
(→Color Codes) |
(→Color Codes) |
||
| Line 42: | Line 42: | ||
|- | |- | ||
| UTP cable || I/O for Arduino || | | UTP cable || I/O for Arduino || | ||
| + | |} | ||
| + | |||
| + | ==== arduino INPUT UTP cable ==== | ||
| + | It's the one with the 'YELLOW' tape! | ||
| + | {| class="wikitable" | ||
| + | ! Pin # | ||
| + | ! Color | ||
| + | ! Function | ||
| + | ! Notes | ||
| + | |- | ||
| + | | 1 || Green || || | ||
| + | |- | ||
| + | | 2 || Green / White || || | ||
| + | |- | ||
| + | | 3 || Orange || || | ||
| + | |- | ||
| + | | 4 || Orange / White || || | ||
| + | |- | ||
| + | | 5 || Blue || || | ||
| + | |- | ||
| + | | 6 || Blue / White || || | ||
| + | |- | ||
| + | | 7 || Brown || || | ||
| + | |- | ||
| + | | 8 || Brown / White || || | ||
| + | |} | ||
| + | |||
| + | ==== arduino OUTPUT UTP cable ==== | ||
| + | It's the one with the 'RED' tape! | ||
| + | {| class="wikitable" | ||
| + | ! Pin # | ||
| + | ! Color | ||
| + | ! Function | ||
| + | ! Notes | ||
| + | |- | ||
| + | | 1 || Green || || | ||
| + | |- | ||
| + | | 2 || Green / White || || | ||
| + | |- | ||
| + | | 3 || Orange || || | ||
| + | |- | ||
| + | | 4 || Orange / White || || | ||
| + | |- | ||
| + | | 5 || Blue || || | ||
| + | |- | ||
| + | | 6 || Blue / White || || | ||
| + | |- | ||
| + | | 7 || Brown || || | ||
| + | |- | ||
| + | | 8 || Brown / White || || | ||
|} | |} | ||
Revision as of 18:47, 4 January 2012
The big space control
Contents |
Goals
- Lights can be switched using a web interface and regular light switches.
- Roofs can be opened and closed.
- Redundant: if the Arduino fails, the light switches remain working.
Hardware
What we have available
- A little under 100 industrial relays (Piet)
- Industrial electricity cabinet (Piet)
- Diodes and NPN heavy-duty switching transistors. (Koen)
Thanks to all who have contributed hardware!
What we need
- More electrical cable
Schematic
The schematic to control just one lamp.
Color Codes
Lesson learned: adding new colors on the fly will result in chaos:
| Color | Function | Notes |
|---|---|---|
| Brow | 220VAC L1 | |
| Grey | 220VAC L1 | switched for outputs |
| White | 220VAC N | |
| Blue | +24VDC | except immediately at main 220VAC input |
| Red | +5VDC | for Arduino inputs |
| Black | Ground | light switches switch ground |
| UTP cable | I/O for Arduino |
arduino INPUT UTP cable
It's the one with the 'YELLOW' tape!
| Pin # | Color | Function | Notes |
|---|---|---|---|
| 1 | Green | ||
| 2 | Green / White | ||
| 3 | Orange | ||
| 4 | Orange / White | ||
| 5 | Blue | ||
| 6 | Blue / White | ||
| 7 | Brown | ||
| 8 | Brown / White |
arduino OUTPUT UTP cable
It's the one with the 'RED' tape!
| Pin # | Color | Function | Notes |
|---|---|---|---|
| 1 | Green | ||
| 2 | Green / White | ||
| 3 | Orange | ||
| 4 | Orange / White | ||
| 5 | Blue | ||
| 6 | Blue / White | ||
| 7 | Brown | ||
| 8 | Brown / White |
Software
The software is identical to the one in the small Spacecontrol.
Status
Todo
- Installation
- Documentation