Skip to content

Here is how to install it. #3

@DanielUHIT

Description

@DanielUHIT
  1. Download Visual Studio Code.
  2. Open Visual Studio Code navigate on the left tab "Extensions" (Ctrl+Shift+X).
  3. Install PlatformIO IDE.
  4. Download the github code from DragonRailway and extract the files.
  5. On Visual Studio Code left tab click on the new icon that looks like an Alien for PlatformIO IDE, click on open project and select the folder from step 4 you should see something like this on the left tab.

Image

  1. Click on Platformio.ini file and change the default-envs for the correct envs. If you have a generic ESP32 board use esp32-DIY-Board if you have the TRACKLINK board use TRACKLINK-V2

Image

  1. On the left tab select TrainControl_BLE.ino and modify lines 10 and 11 for name and password for your BLE interface.

Image

  1. On the top right corner of VSC click on the down arrow and select Build (Ctrl+Alt+B). You should see the next message.

Image

  1. Connect your board to your PC and select the correct COM port which you can find under Device Manager.

Image

  1. On the bottom left corner of VSC hit on "Auto" and select the correct COM for your ESP32 board.

Image

  1. Put your ESP32 board in download mode by holding the Boot button and click on the RST button once and then release the Boot button.
  2. Finally, on the top right corner of VSC click on the down arrow and hit upload (Ctrl+Alt+U)

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions