Glen Akins uses a Python script and an updated version of a digital-to-synchro project to replay mountain bike climbs and descents at 60x real time speed on a vintage aircraft altitude indicator.
The updated D2S converter fits on a single board and uses three Microchip MCP4802 DACs and three TI OPA548 power operational amplifiers to produce high-power 400 Hz AC waveforms to power and control the servo loop in the altitude indicator.
The block diagram for this project is shown above. A watch records the time and latitude, longitude, and elevation on a ride. Afterwards, this data is exported in a GPX file to a Raspberry Pi 400. On the Pi 400, a Python script reads the GPX file and outputs the elevation data from the file at 60x real time over its first TTL serial port to a Raspberry Pi Pico development board. The Python script also displays the current location on the ride on a graph of the elevation profile of the ride as it is being played back.
No comments:
Post a Comment