Well, it's about time what I have been doing with the RSS. I will now describe how it works. So basically you have the NAVserver which sends multicast packets over the NAVbus (Ethernet).
- So the RSS after as it initializes, it comes upon a predetermined IP address.
- After connecting to the network it sends a take the packet and grabs the Longitude, Latitude, Altitude (of the aircraft) and store the information which is then processed.
- RSS Ethernets I/O is handled by a de-queue which is a double-ended FIFO ie. Ethernet goes into the (RX)buffer, while the output is parsed for the required fields.
- The Fields In question are:
- System Clock
- Aircraft Latitude
- Aircraft Longitude
- Aircraft Height
- Aircraft Heading
- The NAVServer has a connection to our FAAdb(s), Airports, and Navaids.
- The NAVServer checks for which radios are installed, by querying each radio that is in one of our tables.
- If the radio exists and is powered up it stores the radio's frequency in a table as well as their Latitude. Longitude, Antenna Height, Call Sign.
- If a radio is within about a 200-mile Slant Range Distance, it triggers the OFF/ON and FROM/TO flags on the VOR/DME equipment,
- The DME Display Miles-To-Go on the DME readout.
- The course deviation indicator will all show steering commands in VOR, HSI.
- The RSS talks to the NASA EADINLite Controller(s) via another deque. Where again it uses an Ethernet connection.
- All EADINLite Components both Controllers, and Slaves are Arduino Mega 256 R3.
- The EADINLite Controller is an Arduino with an Ethernet Shield.
- The EADINLite Controller talks to the Slaves via an RS-485 Multidrop via a small adapter.
- The Controllers have a built-in terminating resistor for RS-485.
- All the Slaves have a built-in terminating resistor with a switch on the box that denotes "Last on the Line" which is a DPDT slide switch to remove the resistor from the unit. I am thinking about automating it remember my Link-Lights? If you have a link you light the LED well you could also drive a relay (need time to think that through. LOL
- The Slaves also have a dip switch for addressing which are connected to the DIO ports as well this is me being lazy by doing this I can change the address of the Slaves without reprogramming.
The EDIN EADIN Controller(s) talk to their Slaves, and now the world is good. Below I have included a diagram of this subsystem.