Giter VIP home page Giter VIP logo

ets2tospiled's Introduction

Ets2ToSPILED - Displays Euro Truck Data on an SPI LED with the help of an esp32

How it works?

I used a node.js libary called "trucksim-telementry" to get the data from Euro Truck Simulator 2, then I host a local server and send the data to it. The esp32 (or microcontroller of choice) then sends a get request to that server and prints the data that it got.

How to use it

First you have to setup trucksim-telementry. To do so you have to simpy install the scs-sdk-plugin from here, and then drop the file into [euro truck installation folder]Euro Truck Simulator 2\bin\win_x64\plugins\bin\win_x64\plugins\

After that open the project in a command line, (or powershell or code editor) and run npm install. This will install all required packages. Then you will have to go and edit the main.ino file. Replace the wifi SSID and password, then change the server adress, to your local ip. You will also have to install the following packages: HTTPClient, MD_PAROLA, MD_MX72XX, SPI. Flash the main.ino with the Arduino app onto your esp32 or other microcontroller.

How to connect the display

Wiring image If you don't have a Vin pin your esp32 then you will have to use the 3V3 pin for VCC.

VCC - VIN/3V3 GND - GND DIN - GPIO 23 CS - GPIO 5 CLK - GPIO 18

If you have any questions contatct me on discord: AdyEndre#7784 or create and issue.

Notes

If you have or less display modules change the #DEFINE MAX_DEVICES: to your number of modules.

ets2tospiled's People

Contributors

adystudios avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.