This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
projects:a4sim:start [2020/02/03 21:14] dwheele [Restoration] |
projects:a4sim:start [2021/07/19 21:39] (current) admin ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| * To activate the Navy sim gauges, thinking I can connect servos to a Servo Controller attached to a Raspberry Pi, and it gets info from X-Plane via UDP. | * To activate the Navy sim gauges, thinking I can connect servos to a Servo Controller attached to a Raspberry Pi, and it gets info from X-Plane via UDP. | ||
| + | * [[altimeter|Altimeter]] | ||
| * [[.arduinonano: | * [[.arduinonano: | ||
| * [[.arduinomega: | * [[.arduinomega: | ||
| Line 18: | Line 19: | ||
| * [[enginestarting|Engine Starting Datarefs and Notes]] | * [[enginestarting|Engine Starting Datarefs and Notes]] | ||
| * [[filelocations|File Locations for Development]] | * [[filelocations|File Locations for Development]] | ||
| + | * [[font|Font for cockpit instruments]] | ||
| + | * [[.hardware: | ||
| * [[jsonfileformat|JSON File Format (a4simData.json)]] | * [[jsonfileformat|JSON File Format (a4simData.json)]] | ||
| * [[joystickoverridedatarefs|Joystick Override Datarefs]] | * [[joystickoverridedatarefs|Joystick Override Datarefs]] | ||
| Line 23: | Line 26: | ||
| * [[.xplane11: | * [[.xplane11: | ||
| * [[maincontrols|Main Controls]] | * [[maincontrols|Main Controls]] | ||
| + | * [[http:// | ||
| * [[stick|Stick]] | * [[stick|Stick]] | ||
| * [[.pythonudpserver: | * [[.pythonudpserver: | ||
| Line 30: | Line 34: | ||
| * [[photointerrupter|Photo Interrupter]] | * [[photointerrupter|Photo Interrupter]] | ||
| * [[levelconverter|Level Converter]] | * [[levelconverter|Level Converter]] | ||
| + | * [[seat|Seat, | ||
| + | * [[specs|Specs of A-4 Aircraft]] | ||
| + | * [[https:// | ||
| * [[troubleshooting|Troubleshooting]] | * [[troubleshooting|Troubleshooting]] | ||
| * [[udp|UDP Notes]] | * [[udp|UDP Notes]] | ||
| - | * [[vendors|Vendors of Hardware/ | + | * [[:vendors|Vendors of Hardware/ |
| * [[.raspberrypi: | * [[.raspberrypi: | ||
| * [[flightcontrols|Flight Controls Aileron/ | * [[flightcontrols|Flight Controls Aileron/ | ||
| Line 48: | Line 55: | ||
| - | |||
| - | ==== DAC (Digital to Analog Converter) ==== | ||
| - | |||
| - | Need to be able to output analog voltages to drive steam gauges. So will convert from a value like 3200 feet from the X-Plane simulator, to a voltage like 2.92 V, which will drive the gauge. | ||
| - | |||
| - | Additionally, | ||
| - | |||
| - | https:// | ||
| - | |||
| - | ==== Quad DAC (Digital to Anlog Convert) MCP4728 ==== | ||
| - | |||
| - | {{: | ||
| - | ==== Multiplexing ==== | ||
| - | |||
| - | The Raspberry Pi has two outputs which are I2C, sort of like USB. In order to drive the high quantity of analog outputs, a multiplexing scheme will need to be developed, both in hardware and in software. This is because each device must have a unique address. | ||
| - | |||
| - | See https:// | ||
| Line 73: | Line 63: | ||
| The Arduino can measure an analog signal without any additional components. 10 bits - 0 to 1023 value output. | The Arduino can measure an analog signal without any additional components. 10 bits - 0 to 1023 value output. | ||
| - | ==== HT16K33 LED Module ==== | ||
| - | |||
| - | Purchased 3-pack of 8x8 LED modules (all red) with embedded HT16K33 multiplexer. Problem is, the code for this is from an Arduino, and the Arduino must be a Master, which won't work when the Raspberry Pi is the Master. | ||
| - | |||
| - | * [[.ht16k33ledmodule: | ||
| - | * [[https:// | ||
| - | Changed code that runs on Raspberry Pi to drive the HT16K33. Arduino not required for this. It does work, but could use some improvement, | ||
| ==== Boolean analog to digital conversion ==== | ==== Boolean analog to digital conversion ==== | ||