Spacecontrol/Baikonur
From Whitespace (Hackerspace Gent)
< Spacecontrol(Difference between revisions)
(→Relay layout) |
(→Relay layout) |
||
| Line 23: | Line 23: | ||
=== Relay layout === | === Relay layout === | ||
| − | + | This layout is identical to the actual layout in the cabinet. | |
Drawing coming soon. | Drawing coming soon. | ||
| − | {| class="wikitable" | + | {| class="wikitable" align="center" |
|+ Top row | |+ Top row | ||
! scope="col" | Relay # | ! scope="col" | Relay # | ||
| Line 38: | Line 38: | ||
! scope="col" | Relay 31 | ! scope="col" | Relay 31 | ||
|- | |- | ||
| − | ! scope="row" | | + | ! scope="row" | Controlled by |
| Switch || Arduino || Switch || Arduino || Switch || Arduino || Switch || Arduino | | Switch || Arduino || Switch || Arduino || Switch || Arduino || Switch || Arduino | ||
| + | |- | ||
| + | ! scope="row" | Controles | ||
| + | | colspan="2"| Light ||colspan="2"| Light ||colspan="2"| ||colspan="2"| Roof | ||
|- | |- | ||
! scope="row" | Notes | ! scope="row" | Notes | ||
| − | | || || || || || || | + | | || || || || || ||colspan="2"| Specially wired |
|} | |} | ||
| − | {| class="wikitable" | + | {| class="wikitable" align="center" |
|+ Middle row | |+ Middle row | ||
! scope="col" | Relay # | ! scope="col" | Relay # | ||
| Line 57: | Line 60: | ||
! scope="col" | Relay 71 | ! scope="col" | Relay 71 | ||
|- | |- | ||
| − | ! scope="row" | | + | ! scope="row" | Controlled by |
| Switch || Arduino || Switch || Arduino || Switch || Arduino || Switch || Arduino | | Switch || Arduino || Switch || Arduino || Switch || Arduino || Switch || Arduino | ||
| + | |- | ||
| + | ! scope="row" | Controles | ||
| + | | colspan="2"| ||colspan="2"| ||colspan="2"| ||colspan="2"| | ||
|- | |- | ||
! scope="row" | Notes | ! scope="row" | Notes | ||
Revision as of 22:28, 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.
Relay layout
This layout is identical to the actual layout in the cabinet. Drawing coming soon.
| Relay # | Relay 00 | Relay 01 | Relay 10 | Relay 11 | Relay 20 | Relay 21 | Relay 30 | Relay 31 |
|---|---|---|---|---|---|---|---|---|
| Controlled by | Switch | Arduino | Switch | Arduino | Switch | Arduino | Switch | Arduino |
| Controles | Light | Light | Roof | |||||
| Notes | Specially wired | |||||||
| Relay # | Relay 40 | Relay 41 | Relay 50 | Relay 51 | Relay 60 | Relay 61 | Relay 70 | Relay 71 |
|---|---|---|---|---|---|---|---|---|
| Controlled by | Switch | Arduino | Switch | Arduino | Switch | Arduino | Switch | Arduino |
| Controles | ||||||||
| Notes | ||||||||
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 | Relay 01 input | |
| 2 | Green / White | Relay 11 input | |
| 3 | Orange | Relay 21 input | |
| 4 | Orange / White | Relay 31 input | |
| 5 | Blue | Relay 41 input | |
| 6 | Blue / White | Relay 51 input | |
| 7 | Brown | Relay 61 input | |
| 8 | Brown / White | Relay 71 input |
arduino OUTPUT UTP cable
It's the one with the RED tape!
| Pin # | Color | Function | Notes |
|---|---|---|---|
| 1 | Green | Relay 00 output | |
| 2 | Green / White | Relay 10 output | |
| 3 | Orange | Relay 20 output | |
| 4 | Orange / White | none | Will be connected to R30 input with resistor |
| 5 | Blue | Relay 40 output | |
| 6 | Blue / White | Relay 50 output | |
| 7 | Brown | Relay 60 output | |
| 8 | Brown / White | Relay 70 output |
Software
The software is identical to the one in the small Spacecontrol.
Status
Todo
- Installation
- Documentation