-
-
Save qwertos/3e399e2807fc081b84cc to your computer and use it in GitHub Desktop.
Connections for radio go box.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*********************************************************************************/ | |
/* The MIT License (MIT) */ | |
/* */ | |
/* Copyright (c) 2013, Aaron Herting */ | |
/* */ | |
/* Permission is hereby granted, free of charge, to any person obtaining a copy */ | |
/* of this software and associated documentation files (the "Software"), to deal */ | |
/* in the Software without restriction, including without limitation the rights */ | |
/* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell */ | |
/* copies of the Software, and to permit persons to whom the Software is */ | |
/* furnished to do so, subject to the following conditions: */ | |
/* */ | |
/* The above copyright notice and this permission notice shall be included in */ | |
/* all copies or substantial portions of the Software. */ | |
/* */ | |
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR */ | |
/* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, */ | |
/* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE */ | |
/* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER */ | |
/* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, */ | |
/* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN */ | |
/* THE SOFTWARE. */ | |
/*********************************************************************************/ | |
graph connections{ | |
ps[label="12v Input"]; | |
rr[label="Rig Runner"]; | |
reg[label="5v Regulator"]; | |
pi[label="Raspberry Pi"]; | |
tnc[label="TNC-X"]; | |
gps[label="GPS"]; | |
radio[label="FT-817ND"]; | |
ap[label="Open-Mesh AP"]; | |
nic[label="ALFA WLAN NIC\nAWUS036H"]; | |
serial1[label="Serial\nto\nUSB"]; | |
serial2[label="Serial\nto\nUSB"]; | |
serial3[label="Serial\nto\nUSB"]; | |
usb[label="USB Hub"]; | |
label=<<table> | |
<tr><td colspan="2">Connections for Radio Box</td></tr> | |
<tr><td colspan="2">Aaron Herting (KD2BEC)</td></tr> | |
<tr><td>Color</td><td>Connection Type</td></tr> | |
<tr><td>Red</td><td>12v Power</td></tr> | |
<tr><td>Megenta</td><td>5v Power</td></tr> | |
<tr><td>Green</td><td>Serial</td></tr> | |
<tr><td>Blue</td><td>USB</td></tr> | |
<tr><td>Cyan</td><td>Audio/PTT</td></tr> | |
<tr><td>Black</td><td>Ethernet</td></tr> | |
</table>>; | |
{ | |
//12v Power | |
edge[color=red]; | |
ps -- rr; | |
rr -- reg; | |
rr -- tnc; | |
rr -- radio; | |
rr -- ap; | |
} | |
{ | |
//5v Power | |
edge[color=magenta]; | |
reg -- pi; | |
reg -- usb; | |
} | |
{ | |
//Serial | |
edge[color=green]; | |
tnc -- serial1; | |
gps -- serial2; | |
radio -- serial3; | |
} | |
{ | |
//USB | |
edge[color=blue]; | |
serial1 -- usb; | |
serial2 -- usb; | |
serial3 -- usb; | |
nic -- usb; | |
usb -- pi; | |
} | |
{ | |
//Audio/PTT | |
edge[color=cyan]; | |
tnc -- radio; | |
} | |
{ | |
//Ethernet | |
edge[color=black]; | |
pi -- ap; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment