frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: ESP32 Bowling System technical write-up

https://nicholas-a-hall.github.io/openlanelink/
1•section33•47m ago
Hi everyone! I'm the ESP32 Bowling guy from a few weeks ago, back with a technical write-up and a repo link.

Since my last post, I've received -tons- of support and encouragement for the project. I'm absolutely blown away. I didn't think there would be much interest!

This last week, I spent a ton of time working on the prototype. It can trigger my pinsetter machines and read ball state, there's a basic state machine for the game and a React UI for the bowlers. I've also built the prototype uart bridge which connects an ESP32 gateway node to a raspberry pi lane compute module, which acts as a bridge between the ESPNOW mesh and lane-external services.

The last major blocker is object detection on an ESP32-CAM module. I could go with a webcam wired to the Pi, but that feels like cheating. I really want the Pi running the state machine, websocket and REST API endpoints only. One of my key constraints for this project is that each node serves one purpose only, and it performs that purpose well. I know an ESP is resource-constrained though, so I'm not completely sure I can do pin detection onboard the ESP32-CAM. I've thought about ditching vision-based pin tracking entirely, and going with a mmwave radar module instead - then I'd get ball detection, speed & trajectory for free on top of the pin tracking I actually need to count score. That tech is still somewhat expensive though (especially multiplied by 8 lanes), so for now I'll stick with computer vision. Worst case scenario, I'll implement the CV piece on the pi with a webcam to unblock myself there... but again, I'd really like all sensors and actuators to be esp32 nodes.

The state machine is interesting - when I started, I didn't think about all the bowling game variants out there. There's traditional 10-pin, there's 9-pin, candlepin, duckpin... OpenLaneLink needed to support all of them. Right now it does basic 10-pin only, but I'm working on a game configuration piece that takes in JSON definitions for each game type.

The UI has been wired to the state machine, and I can drive a simulated game via REST calls to the pi. I also still need the pinsetter node to read machine state from a bank of optocouplers. Once the vision + optocoupler pieces are implemented, the MVP will be complete and I'll finally be able to bring my own center's Lane 2 back online.

In full disclosure: I did use AI assistance for the project, but was very careful not to just vibe-code everything. I needed a research assistant to go fetch relevant information and assist with "hey what's the C syntax for such-and-such again?" I review everything an AI suggests, which even led to an interesting "argument" with Claude about how a bowler's scoresheet class should be implemented in the game state machine. It insisted individual frame score should be attributes of the overall game, rather than the individual player. Like... what? One day I'll post a write-up on how AI helped the project and how it impeded my progress as well.

Repo here: https://github.com/nicholas-a-hall/openlanelink/tree/breadbo....

Feedback and questions welcome, especially on the ESP32-CAM if anyone's done onboard CV like this before! The project's a bit of a mess right now, and not ready to deploy elsewhere. I'm definitely looking forward to publishing an alpha release in the next few weeks (after fully battle-testing it in my own facility, of course).

Comments

na10•45m ago
Very cool! I wish you had some pictures of the components all wired up.

99.1% Totality

https://twitter.com/garrytan/status/2062760454649487491
1•gmays•51s ago•0 comments

As Reddit stock falls, CEO questions value of Google's AI Overviews

https://arstechnica.com/ai/2026/08/reddit-ceo-on-ai-overviews-were-still-looking-for-that-win-win/
1•mooreds•1m ago•0 comments

Official Dwarf Fortress Guide for Beginners (2026) [video]

https://www.youtube.com/watch?v=aRTwK8XR6kE
1•skibz•1m ago•0 comments

Bb Agent IDE

https://github.com/get-bb/bb
1•dfaiv•2m ago•1 comments

Mining Bitcoin with 2013 USB sticks, a JalapeñO and my phone (pure Python)

https://github.com/03012009BTC/miners-bitcoin-lottery
1•03012009BTC•2m ago•0 comments

Halcyon Video – a 3D video store for your media server

https://github.com/halcyon-video/halcyon-video
1•Gander5739•2m ago•0 comments

A Vision for Cargo

https://epage.github.io/blog/2026/08/cargo-vision/
1•birdculture•3m ago•0 comments

Do Personal AI Conversations Reduce Loneliness? [pdf]

https://www.ifo.de/DocDL/cesifo1_wp12882.pdf
1•mooreds•4m ago•0 comments

AI and the Enshittification Era with Cory Doctorow [video]

https://www.youtube.com/watch?v=-dAIJRjb-Bw
2•mooreds•5m ago•0 comments

AMD Instinct Coder Puts 8 MI325X GPUs Behind Local AI Coding

https://www.storagereview.com/news/amd-instinct-coder-puts-8-mi325x-gpus-behind-local-ai-coding-c...
1•galaxyLogic•5m ago•0 comments

Forcing TypeScript to Be Exhaustive

https://www.carlos-menezes.com/posts/exhaustive-checking-typescript
1•carlos-menezes•5m ago•0 comments

AI and the University – Carson Gross [video]

https://www.youtube.com/watch?v=ZUk2TKZIo7s
1•isaacvando•6m ago•0 comments

Show HN: Chess. Start with a king. Earn coins. Build an army

https://chesspoly.com
1•skyfantom•7m ago•0 comments

Hack Club Greeble

https://greeble.hackclub.com/
1•breynard•9m ago•0 comments

Show HN: S-Bahn Seat Picker

https://welidev.github.io/sbahn-picker/
1•weli•9m ago•1 comments

Browsers have standards, the App Store has judgment

https://blog.terrygodier.com/2026/08/07/browsers-have-standards-the-app.html
1•OberstKrueger•9m ago•0 comments

Trump orders new 15% tariff on key material for solar panels and microchips

https://www.theguardian.com/us-news/2026/aug/07/trump-orders-tariff-solar-panels-microchips-manuf...
1•speckx•9m ago•0 comments

'I feel like I dug my own grave': The workers caught in the AI transition

https://www.bbc.co.uk/news/articles/cgr7nxve05go
1•edward•10m ago•0 comments

How to Make Hand-Drawn Animation [video]

https://www.youtube.com/watch?v=9ytf-Ujpr9g
1•vinhnx•11m ago•0 comments

How Amazon Built a Data Center in a California Town Without Anyone Noticing

https://www.wsj.com/us-news/how-amazon-built-a-data-center-in-a-california-town-without-anyone-no...
1•Brajeshwar•11m ago•0 comments

Music Generation by a Composer, for Musicians

https://monictheory.com
1•song_synth•12m ago•0 comments

Show HN: Real-time cursor detection in screen recordings in the browser

https://github.com/ldenoue/cursor-motion-detector
1•ldenoue•12m ago•0 comments

Show HN: Microfeed – RSS+10GB media files on your own domain with O hosting fees

https://docs.microfeed.org/
1•wenbin•13m ago•0 comments

US unexpectedly lost 23,000 jobs in July as slump in growth continues

https://www.theguardian.com/business/2026/aug/07/july-jobs-report-middle-east-conflict
1•hheikinh•13m ago•0 comments

Digital Peacebuilding? The Socio-Technicality of Transforming Armed Conflict

https://academic.oup.com/book/63025?login=true
1•rbanffy•14m ago•0 comments

US economy loses 23,000 jobs in July as labor market weakens

https://www.usatoday.com/story/money/economy/2026/08/07/us-jobs-report-release-july-2026/91194187...
1•hheikinh•15m ago•0 comments

RFK Jr., The Cyclospora Outbreak Is Not "Under Control"

https://www.marlerblog.com/case-news/no-rfk-jr-the-cyclospora-outbreak-is-not-under-control/
2•speckx•15m ago•0 comments

Terafab

https://www.terafab.ai/
9•kamaal•16m ago•1 comments

WD Bets 8x Bandwidth Beats More Terabytes as 40TB UltraSMR Starts Shipping

https://www.storagereview.com/news/wd-bets-8x-bandwidth-beats-more-terabytes-as-40tb-ultrasmr-sta...
1•rbanffy•17m ago•0 comments

Bookslop Is Winning the Numbers Game

https://www.a16z.news/p/charts-of-the-week-bookslop
1•twapi•18m ago•0 comments