GithubHelp home page GithubHelp logo

coppermilk / wiener_linien_esp32_monitor Goto Github PK

View Code? Open in Web Editor NEW
41.0 3.0 3.0 16.24 MB

A script for using a T-Display S3 ESP32S3 as a departure board.

C++ 100.00%
esp32 wien wiener-linien departures esp32-s3 public-transport arduino vienna austria

wiener_linien_esp32_monitor's Introduction

Build Arduino Sketch

Wiener Linien ESP32-S3 Public Transport Departure Monitor

Brief description: The ESP32-S3 Public Transport Departure Monitor project is a small device based on the ESP32-S3 platform. It allows you to track public transport departures in real time and receive a countdown to the next departures. The project is based on the use of open data from the City of Vienna provided by Wiener Linien. (Data source: City of Vienna - https://data.wien.gv.at)

monitor.mp4

Line notification

Project components:

Key Features

  • Real-time Countdown: Stay informed about the next public transport departure times.
  • Timely Updates: Data is automatically refreshed every 30 seconds to ensure accuracy.
  • Easy Startup: The device starts up automatically when the ESP32-S3 is booted.
  • User-Friendly Interface: A thoughtfully designed, intuitive interface for ease of use.
  • Data Source: Utilizes open data from the City of Vienna provided by Wiener Linien.

Installation

To set up the ESP32-S3 Public Transport Departure Monitor, follow these steps:

  1. Hardware Installation:

    • Begin by installing T-Display S3 in your Arduino. For a step-by-step guide, refer to this YouTube tutorial.
  2. Repository Download:

    • Clone or download this repository to your local machine.
  3. Board configuration:

    • In Arduino IDE, open the Tools menu, choose Board, and open the Boards manager
    • Install esp32 which includes files for the ESP32-S3 too. (Note: this downloads a few 100 MB, and installs about 2.3 GB)
    • Open the Tools menu once more, choose Board, pick ESP32 Arduino and choose LilyGo T-Display S3
  4. Library Installation:

    • Open the Arduino IDE and install the required libraries (TFT_eSPI, ArduinoJson, HttpClient, WiFiManager).
  5. Device Connection:

    • Connect your ESP32 device to your computer.
  6. Flash the Code:

    • Flash the code to your ESP32.

Configuration

Once the installation is complete, follow these steps to configure your device: Everything Is AWESOME

  • Connection:

    • Connect to the device's Wi-Fi network.
  • Settings:

    • Press the button "Configure WIFI".
    • Enter your Wi-Fi SSID and password.
    • Specify your RBL, which you can find here.
    • Optionally, select the number of lines to display.
    • Optionally, define your filter criteria.
    • Press the save button to save your settings.

Resetting

Reset Button In case you need to reset your device, we offer two options:

  • Factory Reset:

    • Perform a factory reset by keeping the reset button pressed for more than 30 seconds. This will erase all data on your device, including Wi-Fi settings, StopID/RBL, stop filters, and the count of lines displayed on the screen.
  • Soft Reset:

    • A soft reset involves keeping the reset button pressed for 5 to 10 seconds and then releasing it. This will only erase your Wi-Fi settings.

When to Use Each Reset?

Use a Factory Reset if:

  • You plan to give away your device.
  • Your device is malfunctioning, and other troubleshooting steps have failed.

Use a Soft Reset if:

  • You encounter Wi-Fi connectivity issues.
  • You want to restore your Wi-Fi settings to their default values.

With the ESP32-S3 Public Transport Departure Monitor, we aim to make your daily commute more predictable and efficient, reducing the time spent waiting for public transport. Stay up-to-date with real-time departure information and plan your journeys with confidence.

Vienna Liner Monitor

wiener_linien_esp32_monitor's People

Contributors

aaaaalbert avatar coppermilk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

wiener_linien_esp32_monitor's Issues

display orientation

Hi Artem,
thank you for that awesome code! I was just wondering where I could change the display orientation by 180°?
Kind regards,
Martin
968E3A4C-5D99-4F52-A21F-FB388F052D23

Can't compile the sketch - Issue with TFT_eSPI 2.5.0 ?

Hi! I wanted to give this little project a try but ended up with some issues. I installed all the libraries (the exact versions that are stated in the sketch-comments) for the board and tried to compile the sketch. It seems like there are some defines missing in the TFT_eSPI library. I will copy the error messages below - can you help me with those? Can I change something myself? I am not really into C-coding, so without help, I won't be able to solve the issue.
I'll attach the message to this post - I'm new to GitHub - sorry for any wrong requests or posts.
Greetings,
Benji

TFT_eSPI_error.txt

SPIFFS mounting error

Hi,

I encounter the following error message after flashing the sketch file:

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xa (SPI_FAST_FLASH_BOOT)
Saved PC:0x4037b27a
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x508
load:0x403c9700,len:0x4
load:0x403c9704,len:0xad0
load:0x403cc700,len:0x29d8
entry 0x403c9880
APP START
E (363) SPIFFS: spiffs partition could not be found
An error occurred while mounting SPIFFS

And the screen is not showing anything.
Can someone help me?

Greetings,
Erbi

order issue, for example with rbl 1468

if you select rbl 1468 (line 49 Seckendorfstraße in Direction Ring, Volkstheater U) and there is a tram thats not going to ring (it has sometimes also goes to "Joachimsthalerplatz" sometimes, esp at night) it really confuses the output

as soon as one for joachimsthalerplatz is within an hour of departure it just takes list spot number 2 and stays there til its departed, whilst list spot number 1 switches around between the next two that will go to ring

should be easy enough to recreate but can provide pics/vids if needed

would be best to just always sort chronologically no matter the final destination

thanks a bunch!

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.