全部文章0

Hacker Newssection33··访问 1

Show HN: I replaced a $120k bowling center system with $1,600 in ESP32s

原网页

I might be the only SRE on Earth with his own bowling center. It's a more in-depth gig than you'd think.

My family and I bought an abandoned 8-lane bowling center in the rural mid-west. In our small town there weren't many recreation options for families. You've heard of a food desert? This is an R&R desert.

It had been abandoned for a good reason. The roof leaks, the electrical system was constantly surging, and my 70-year-old bowling equipment (still) doesn't work perfectly. The system that keeps your score is particularly interesting to me. It's the thing you watch during your game, but it fades into the background beyond that. Turns out these things are really cool, but absurdly expensive.

Ours was installed in 2008 and cost six figures. It's calculating ball speed and trajectory, camera-based pin detection (object detection and trig, on ICs!), runs the fouling, the animations, the pinsetting machine and ball return. Very cool stuff for its age.

From the business perspective, my facility only cost me $105k. To forklift-replace the score keeping system runs anywhere between $80-$120k, depending on features, vendor, and unit age. No upgrades or service contracts, mind you, and every feature and customization is a new line item. That's for a 1:1 replacement on a system installed in 2008. Incredible, given how fast the tech world moves.

Replacement parts cost a shocking $4000 per pair of lanes. But wait, the bowling machines themselves are 70 years old, so what's this "advanced" system actually doing back there? Actuating a single relay to trigger that big old machine. Everything else is strictly mechanical. Meanwhile I've got a six-figure invoice in my hand. I'm upset.

Given the state of open hardware, computer vision, real-time event streaming, and open source running megascale products worldwide, there had to be a way to do this myself.

So far I've built an equivalent prototype for about $200 per lane-pair, $400 if you're fancy. ESP32 and ESPNow with an RS485 fallback, reporting to a raspberry pi lane computer that's really just redis and a state machine bolted to an ESP32 gateway for the mesh.

Since it's all ESP32, I've got a fistful of spare controllers in a drawer, pre-flashed or waiting to be. All common off-the-shelf hardware: microcontrollers wired to relays, optocouplers, and IR-break-beam sensors, each running slightly different firmware. Writing the firmware and protocol is the actual hard part.

It's an ESPNow star-topology mesh: each node emits events from its sensors and accepts commands for its controls, reporting to a gateway node connected to the raspi over UART. From there it's event streaming: RX packets get translated and tossed into redis, commands relay back out to the mesh as needed. RS485 sits underneath as a wired fallback for noisy RF environments.

Once the data's in redis, it's familiar middleware/React/websocket/pub-sub stuff. Any React dev can build their own UI and bowling animations. Since it all runs on commodity hardware, I can do legit anything I want as the proprietor, and I own all my data. Repairs take five minutes; I can swap the rig on a lane pair in under 10. I'd bet a house like mine could go from zero to running in an hour or two.

We're calling it OpenLaneLink, and I plan to open source the hardware, firmware, and software stack when it's ready. Bowling is fun, and I want to help keep it affordable for alleys like mine. I hate vendor lock-in. I'm not a fan of closed systems, calling support for every hiccup, or paying to "white label" my own equipment. Want to go Tron-themed for a night? Good luck finding a neon neumorphic theme in something bought at the turn of the century.

All that bugged me. Sure, bowling equipment is niche, but the open hardware and software landscape is amazing.

Thanks for reading! Let me know if anyone's interested in more posts about this bowling nonsense.


Comments URL: https://news.ycombinator.com/item?id=48968606

Points: 2150

# Comments: 226

Hacker News 讨论

2150 points · 226 comments · 查看原帖

  1. HeyLaughingBoy

    Thank you for posting this, it reaffirms what I've been thinking for so long. There are many opportunities to retrofit old systems of all types with modern low-cost embedded technologies. Around 2019 or so I was approached by an engineer who had a small business retrofitting very old machine tools with modern motion controls. Think very large lathes and planers. The problem they had was that in order to get these systems working with newer controls, they had to make time-consuming modifications to the old machines, in some cases modifying the axis motors and that cost added up quickly. The engineer realized that it was theoretically possible to take the old analog position signals and convert them into something a modern motion controller could read. That converter box would make the retrofit pretty much plug & play, but he didn't have the programming expertise to make it happen. We prob

  2. vikbez

    Lol, nice! It depends on what you mean by "owning a bowling center," but it looks like there are at least two of us into this :D I bought a really old fully mechanical (and automated!) mini bowling lane. It works without a CPU, except for the score display, which originally used a 1970 Intel D8749H (MCS-48)! Just like yours, the only thing that turns this machine on is a single relay :D On my model, I also get feedback on the pin status and a "ball received" signal, so I can trigger the scoring. I dumped the firmware and replaced the display PCB with a more recent DIY PCB with an Arduino that speaks a modern, documented protocol. It's now compatible with ScoreMore software, and I can do a lot more with it. Here are some pictures and more info on the Bowltech forum (you should post your stuff here too!): * https://www.bowltech.com/forum/small-scale-bowling/small-sca... @vik8 on discord if

  3. msisk6

    I grew up behind the bowling machines. My dad was a bowling machine mechanic and worked on machines all around the midwest. He often moon-lite as the on-duty mechanic during league nights and I'd go with him. Mostly he worked at the local 16-lane alley with ancient AMF machines. The logic was all relays in a "chassis" on each machine. Relays would fail, pins and balls would end up where they're not supposed to be, folks would roll the ball into the sweep. All kinds of stuff. As a kid was was fantastic to see. A pinsetter machine is a real Rube Goldberg type contraption. Probably lead me to being an engineer. We had the several opportunities to buy a small-town bowling center, but looking at the economics -- even back in the 1980's -- wasn't good. Most of the operating profit back then came from alcohol sales and that's a totally different business. Good luck! Recently Facebook has been s

  4. section33

    Right now I'm working on adding LED + DMX DJ light control - I kinda want to be able to order LED strips to "chase" a ball as it goes down the lane or back up the return. I plan on triggering laser-light shows and such with the DMX controller. Eventually, I want to allow a customer walk up to the lane, tap to pay and start bowling immediately, too. Kiosk-ize bowling alleys, yknow? I'm pumped. So much room for activities!

  5. monster_truck

    Is there a URL I can send people? I would like to show this to an OG in the pro circuit who has been looking to buy an alley and modernize it but is being dissuaded by the exact situation you are describing. We so desperately need more 'third spaces' and Bowling Alleys are great for this

  6. alentred

    Professional techie and amateur bowler here. I am bowling on old-ish lanes, and the stats we have beyond the score is... well, ball speed only and it barely works on half of the lanes only. I doubt that our alley would ever agree to install anything ad-hoc, but I am super interested in finding out more about your build. If you have a blog, or can post photos and some information about your build I would be glad to read more. Good luck with your new business!!! It sounds super exciting, hope everything works out, the roof, the patrons, and all.

  7. doodlebugging

    Your project reminded me of this recent Texas Monthly article about nine-pin bowling alleys [0]. Your upgrades could help them draw in new customers. [0] https://www.texasmonthly.com/being-texan/ninepin-bowling-end... I grew up in central Texas and bowling was a big family event. Dad was a frequent bowler, bowling in local leagues and travelling the pro-am circuit later. He debated going pro and ultimately, due to a job relocation, stopped bowling. Us kids were active in leagues for younger bowlers. We used to spend quite a bit of time at the bowling alley playing pinball or shooting pool (no video games back then). In those days, a bowling alley offered food and drinks so that you could take the whole family and spend day there without having to go anywhere else for anything. That may be the norm today too. I haven't bowled in about 6 years though. Best of luck to you! I love bowling. I

  8. simondotau

    One thing I've always wanted at a bowling alley is an instant slow-motion video replay of the pins being knocked down. Seems easy to do in theory, a Raspberry Pi + compatible camera could do this very easily, so long as you could mount it in a good locaiton. The only alley integration needed would be to tie into whatever sensor detects when the ball reaches the end of the lane. * Mount a 60 fps camera pointed at the pins. * Continuously record a short looping buffer in memory (5 seconds would be more than enough). * When the ball-trigger fires, wait an extra second, then freeze the buffer and play the buffer once at normal speed, then again at 1/4 speed. * Finally, restart the recording loop. If it's a dark alley, you could use a low-light camera such as an Arducam with the STARVIS IMX462 (no IR-cut) and if ambient light is still too low, add a few infrared floodlights. Having instant sl