Skip to content

ESP32 Game Day Base Ball Scores - supports many microcontrollers and displays

License

Notifications You must be signed in to change notification settings

jouellnyc/BB-ESP32-KIOSK

Repository files navigation

BB-ESP32-KIOSK

ESP32 Game Day BaseBall Kiosk

LilyGo 2.4 Inch ili9341 ESP32 LilyGO T-WATCH-2020 V3 ESP32-S3-BOX Lite ESP32-S3-BOX
ThingVerse #1 ThingVerse #2 ESP32 on bread board with 2.8" Screen
  • Build your own kiosk for your favorite baseball team:

    LilyGo Watch, LilyGo 2.4 ESP32, ESP32-S3-BOX/BoxLite, or ThingVerse Model using an ESP32 DevKit.

  • If it's gametime for your team, the kiosk will show the score every, including base runners:

    • then show any 'event' (hit/walk/timeout/homerun/etc):
    • then show runners on base if they have changed:
  • If the game is over, it show you the final score:

  • If no game 'today', it will show you and and retry later:.

  • Afterwards, stories from mlb.com will display for 7 seconds and rotate:

  • If it's the offseason, it will tell you when open day is.

Requirements (if you are building your own)

Steps

  • Install MicroPython with SPIRAM to the ESP32:

  • (For the LilyGo Watch use this firmware.)

  • Get a REPL on the ESP32:

https://microcontrollerslab.com/getting-started-thonny-micropython-ide-esp32-esp8266/

  • Install libraries
git clone https://github.com/jouellnyc/BB-ESP32-KIOSK
 upload appsetup, bbbapp, hardware, fonts, and lib to / using Thonny/your IDE
 upload acknowledgements.py, main.py, boot.py and myugit.py to / using Thonny/IDE.

To connect the esp32 to an ili9341, you can follow https://www.youtube.com/watch?v=rq5yPJbX_uk

  • edit the 'screen' variable in hardware/config.py to match your selected device/hardware:

Setup

Plug in BB-ESP32-KIOSK with a USB-C cable.

BB-ESP32-KIOSK will go through 3 stages:

  • Booting up:

  • Running Setup:

  • Setup Page:

If you see the "Setup Page at" Screen, that means BB-ESP32-KIOSK launched a temporary wifi SSID named 'bbkiosk32'.

The password is '123456789'.

Connect your mobile phone/PC to that SSID using the password.

There will be no Internet Access via this ssid:

Navigate your mobile phone/PC to http://192.168.4.1

Enter the name of your Wifi SSID and password.

On the same page, select your team from the drop down:

Click Submit (on the same page)

Click Reboot if Successful

The page will NOT Refresh (This is OK and expected):

(Connect back to Your Normal Wifi SSID to get your mobile/PC back online.)

The kiosk should boot and show startup mesages:

Once done, BBKiosk will display the status of Your Team's Game if in progress.

For more details of the flow of information see the slideshow.

Video

Video -- BBKiosk in Action

BreadBoard Version with OLEDs

Looking for the BreadBoard Version with OLEDs for the old school effect?

Code - https://github.com/jouellnyc/MLB-ESP32/tree/9bc62e9f47f77b68f4ae8cf7bbc0e8fba193373a

About

ESP32 Game Day Base Ball Scores - supports many microcontrollers and displays

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published