User Tools

Site Tools


Sidebar

Dan's Wiki

DokuWiki Instructions (local) DokuWiki Manual
Site Checker (Orphans Wanted)

Edit Sidebar

projects:a4sim:start

This is an old revision of the document!


A-4 Simulator

Restoration

Soldering

Soldering PCBs with surface-mount components. https://www.youtube.com/watch?time_continue=531&v=3NN7UGWYmBY

Creating Circuit Boards

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

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 PCA9548A.

ADC (Analog to Digital conversion)

Need to be able to measure analog inputs, such as rudder and pitch controls, and convert to values suitable for X-Plane simulator inputs. e.g., 2.3 V from a rudder potentiometer, to -12 degrees for the X-Plane simulator.

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 8×8 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.

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

Need to be able to detect switch position, such as “beacon lights on” and convert to a true/false value for the X-Plane simulator.

Similarly, need to be able to group switch positions, such as flap selector switch, and convert to a digital number value, such as flap 25% deployment.

Smart Controller

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.

projects/a4sim/start.1580764468.txt.gz · Last modified: 2020/02/03 21:14 by dwheele