Skip to content

sugiuraii/ECUSimGUI

Repository files navigation

ECUSimGUI

GUI frontend of ECUSim, Arduino CAN ECU simulator

Diagram

Hardwares needed

  • Arduino Uno or its compatilble boards.
  • MCP2515 CAN controller board.

Dependencies

How to use

Write sketch to Arduino uno.

  • Download (clone) Arduino sketch from ECUSim and write to Arduino Uno board.
  • Wire Arduino Uno board, MCP2515 CAN board following the instruction of ECUSim page.

Download pre-built binary.

  • Download binary archive from Release page.
  • After extracting the archive, run ./ecusimgui (or ecusimgui.exe).

How to build

Install build tools.

Build backend

  • Build(publish) dotnet (asp.net) background.
    dotnet publish  
    

Build and bundle with electron

  • Before building electron executabls, please copy backend binary files to server-bin.
    cd electron
    mkdir server-bin
    cd server-bin
    cp -r ../../bin/Debug/net6.0/publish/* ./
    
  • After that, return to electron directory, setup npm and build.
    cd ECUSimGUI/electron
    npm i
    npm run package
    
  • It might be better to run the program via CLI, since the logs and errors are output on console.

License

  • MIT license.