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/22 16:54] admin [DAC (Digital to Analog Converter)] |
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: | * [[.hardware: | ||
| * [[jsonfileformat|JSON File Format (a4simData.json)]] | * [[jsonfileformat|JSON File Format (a4simData.json)]] | ||
| Line 24: | Line 26: | ||
| * [[.xplane11: | * [[.xplane11: | ||
| * [[maincontrols|Main Controls]] | * [[maincontrols|Main Controls]] | ||
| + | * [[http:// | ||
| * [[stick|Stick]] | * [[stick|Stick]] | ||
| * [[.pythonudpserver: | * [[.pythonudpserver: | ||
| Line 32: | Line 35: | ||
| * [[levelconverter|Level Converter]] | * [[levelconverter|Level Converter]] | ||
| * [[seat|Seat, | * [[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 50: | Line 55: | ||
| - | |||
| - | |||
| - | ==== 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 68: | 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 ==== | ||
| Line 86: | Line 74: | ||
| 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/ | ||
| - | ^Screen Size|2.8 inches| | ||
| - | ^Weight|1.76 ounces| | ||
| - | ^Model Number|EL-SM-004| | ||
| - | ^Part Number|EL-SM-004| | ||
| - | ^UNSPSC Code|32000000| | ||
| - | ^UPC|746591610555| | ||
| - | ^Resolution|240x320| | ||
| - | ^Based on|ILI9341_V3.2| | ||
| - | |||
| - | Because this display uses pin A4, and so does I2C, I'm concerned that this won't work with my I2C bus system. Ordering Arduino Mega 2560 clone, which uses different pins for I2C. [2/8/2020] | ||
| - | |||
| - | * {{ : | ||