this post was submitted on 22 Jul 2025
6 points (80.0% liked)

DIY Electronics and Hardware

132 readers
8 users here now

founded 3 months ago
MODERATORS
 

Here is the code:

https://github.com/yucandu/Reginald

It consists of an ESP32-S3 "Supermini" dev board, a 2.0" IPS TFT, and some switches and buttons. $15 CAD total. I already had an old LaCrosse lying around. Lots of help from ChatGPT and Claude parsing the MLB JSON API.

Completely removed all its internals, some cutting of plastic involved.

It needs to be the S3 and not the cheaper C3 because the MLB live game API, which has all the latest pitch details, is so fucking huge. >1MB of text data, need RAM. A Raspberry Pi would be better suited but would be more expensive.

If the strikezone looks tiny, it's because it's to scale - maximum height of 4'7 (thanks Aaron Judge), the rectangle automatically adjusts for each pitch based on the reported strike zone size.

I wanted something that shows all the pitches and their speeds with different icons for the pitch types, like they use in Japanese baseball.

I plan on adding more features later. I managed to incorporate the two switches from the LaCrosse unit as well as adding a 5-way switch of my own. Not sure what to do with them yet.

top 2 comments
sorted by: hot top controversial new old
[โ€“] BootLoop@sh.itjust.works 2 points 1 week ago (1 children)

Super neat. What about running a server locally, from a desktop server or a phone, that fetches the API from MLB and returns a stripped down JSON with just the essentials for the display? Would that help performance and bring the hardware requirements down?

[โ€“] yucandu@lemmy.world 2 points 1 week ago

Yup it absolutely would, and I thought about that, I already have a Raspberry Pi server running doing other things. I've done that 1-2 punch thing before, having the RPi fetch and build a weather radar map, then serving it to an ESP32C3 to display.

But the GET request feature I built into it would randomly crash the whole RPi server sometimes, and I have a lot of other servers running on that thing, so I'd rather not try that again if I could avoid it.