User Tools

Site Tools


projects:a4sim:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
projects:a4sim:start [2020/02/08 22:33]
dwheele [Smart Controller]
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:|Arduino Nano V3 Microcontroller]]   * [[.arduinonano:|Arduino Nano V3 Microcontroller]]
   * [[.arduinomega:|Arduino Mega 2560 Microcontroller]]   * [[.arduinomega:|Arduino Mega 2560 Microcontroller]]
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:|Hardware - Related to A4-Sim project]]
   * [[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:|X-Plane 11 Info]]   * [[.xplane11:|X-Plane 11 Info]]
   * [[maincontrols|Main Controls]]   * [[maincontrols|Main Controls]]
 +  * [[http://military-fasteners.com|Military Fasteners.com]]
   * [[stick|Stick]]   * [[stick|Stick]]
   * [[.pythonudpserver:|Python UDP Server]]   * [[.pythonudpserver:|Python UDP Server]]
Line 31: Line 35:
   * [[levelconverter|Level Converter]]   * [[levelconverter|Level Converter]]
   * [[seat|Seat, Ejection Seat]]   * [[seat|Seat, Ejection Seat]]
 +  * [[specs|Specs of A-4 Aircraft]]
 +  * [[https://trello.com/b/VUxlpmEm/a-4-simulator|Trello Project Tracking]]
   * [[troubleshooting|Troubleshooting]]   * [[troubleshooting|Troubleshooting]]
   * [[udp|UDP Notes]]   * [[udp|UDP Notes]]
-  * [[vendors|Vendors of Hardware/Software]]+  * [[:vendors|Vendors of Hardware/Software]]
   * [[.raspberrypi:|Connor Raspberry Pi computer]]   * [[.raspberrypi:|Connor Raspberry Pi computer]]
   * [[flightcontrols|Flight Controls Aileron/Elevator/Rudder]]   * [[flightcontrols|Flight Controls Aileron/Elevator/Rudder]]
Line 49: 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, for higher-current, in addition to the DAC output, some connections will need a higher output. This will likely require higher current Op-Amps. 
- 
-https://www.adafruit.com/product/935 (DAC Chip breakout board) 
- 
-==== Quad DAC (Digital to Anlog Convert) MCP4728 ==== 
- 
-{{:projects:a4sim:22187e.pdf|MCP4728 Data Sheet (Quad DAC)}} 
-==== 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://learn.adafruit.com/adafruit-tca9548a-1-to-8-i2c-multiplexer-breakout which uses {{:projects:a4sim:pca9548a-1127514.pdf|PCA9548A}}. 
  
  
Line 74: 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:start|More HT16K33 LED Module]] 
-  * [[https://www.partsnotincluded.com/electronics/controlling-led-matrix-with-the-ht16k33/|HT16K33 Explanation and Example]] - Unclear, but the example works from Arduino 
- 
-Changed code that runs on Raspberry Pi to drive the HT16K33. Arduino not required for this. It does work, but could use some improvement, where it draws lines more than just a dot for the aileron/elevator intersection. 
 ==== Boolean analog to digital conversion ==== ==== Boolean analog to digital conversion ====
  
Line 91: Line 73:
  
 It is intended that there be a small computer (initially proposed as Raspberry Pi) which will server as a smart interface between the hardware controls and outputs. This computer will have its own display which can show local values and allows comprehensive calibration. It is intended that there be a small computer (initially proposed as Raspberry Pi) which will server as a smart interface between the hardware controls and outputs. This computer will have its own display which can show local values and allows comprehensive calibration.
- 
-===== ELEGOO 2.8 Inch TFT Touch Screen with SD Card Socket, for Uno R3 ===== 
- 
-Includes plastic touch pen. 
- 
-^Purchased|1/20/2020| 
-^Screen Size|2.8 inches| 
-^Weight|1.76 ounces| 
-^Model Number|EL-SM-004| 
-^Part Number|EL-SM-004| 
-^UNSPSC Code|32000000| 
-^UPC|746591610555| 
  
  
projects/a4sim/start.1581201218.txt.gz · Last modified: 2020/02/08 22:33 by dwheele