sanskarghongade/-smart-surgical-counter — explained in plain English
Analysis updated 2026-05-18
Build a hardware counter that tracks surgical instruments taken from a tray during an operation.
Cross-check instrument counts against tray weight to catch mismatches automatically.
Monitor live status and event history from a Wi-Fi web dashboard instead of a paper log.
Use the REST API to tare the scale or reset the count from another system.
| sanskarghongade/-smart-surgical-counter | achanana/mavsdk | alange/llama.cpp | |
|---|---|---|---|
| Stars | 0 | — | 0 |
| Language | C++ | C++ | C++ |
| Last pushed | — | 2024-05-20 | — |
| Maintenance | — | Dormant | — |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 4/5 | 4/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires assembling physical electronics (ESP32, load cell, sensors, OLED) and flashing firmware with PlatformIO.
This project is a physical device, not just software. It uses a small computer chip called an ESP32 to keep track of surgical instruments during an operation, so a nurse or surgical team can be sure that every tool taken out of a tray is put back before the patient is closed up. Missing instruments after surgery are a real and serious problem, and this build tries to catch that mistake automatically instead of relying only on a manual headcount. The system uses two ways of checking at once. Four infrared sensors watch for instruments passing by and count them, while a load cell, which is a small scale, weighs the tray to confirm the count makes sense. If the count and the weight do not agree, the system flags a mismatch instead of assuming everything is fine. A small screen shows the live status, and lights and a buzzer give quick visual and audio signals. There is also a Wi-Fi dashboard in a web browser, with a simple set of web addresses (an API) to check status, view a log of past events, zero out the scale, or reset the count. Inside, the code is organized in layers: one part talks directly to the hardware, another part handles the sensors and buttons, a logic layer runs the counting and weighing rules through a six-step state machine, and a top layer runs the web server and dashboard. Building it requires assembling the actual electronics, roughly $32 in parts including the chip, sensors, screen, and scale hardware, then flashing the code using a tool called PlatformIO inside VS Code. The README includes a full parts list, wiring pin numbers, and a calibration process for the scale. It is released under the MIT license, which allows free use and modification.
An ESP32-powered device that counts and weighs surgical instruments to catch missing tools before a patient is closed up.
Mainly C++. The stack also includes C++, ESP32, PlatformIO.
Use freely for any purpose, including commercial use, as long as you keep the copyright notice.
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.