A handheld digital inclinometer with an integrated laser alignment reference.
Click the thumbnail above to watch on YouTube.
The Humanix LA100 is a handheld digital laser angle meter: a laser alignment tool combined with a real-time digital inclinometer. It measures tilt using an MPU6050 accelerometer, projects a cross-shaped laser line for physical alignment, and displays the angle, a moving pointer graphic, battery percentage, and internal temperature on a 1.3" I2C OLED.
It's built entirely from off-the-shelf modules (Arduino Nano, MPU6050, OLED, laser module, 18650 LiPo cell), but is deliberately engineered and finished — via a hand-applied vinyl skin over a hand-cut PVC enclosure — to look and behave like a manufactured instrument rather than a breadboard project.
Who it's for: DIY makers, students, and hobbyist engineers — and, by application, civil engineers, mechanical engineers, and industrial maintenance technicians who need a fast, visual way to check or transfer an angle.
What problem it solves: checking or transferring an angle normally means choosing between an analog bubble level (fast, cheap, but imprecise, no beam reference) and a laser level or digital inclinometer (precise, but rarely combining a laser reference and a digital angle readout in one affordable handheld unit). The LA100 puts both in a single low-cost tool.
- 📐 Real-time digital angle readout (MPU6050 accelerometer)
- ✚ Cross-shaped laser alignment reference
- 🔒 One-button, three-behavior UI — single press to hold/lock, double press to toggle whole-degree/decimal precision, long press to recalibrate
- 🧮 13-point guided factory calibration wizard (Welford's running mean/variance, per-point stability retry)
- 💾 EEPROM-persisted calibration — survives power cycles, no re-zeroing on every boot
- 🔋 Battery percentage via a two-resistor voltage divider
- 🌡️ Internal temperature readout (MPU6050's onboard sensor)
- 🖥️ Custom-drawn OLED icons (lock, level-check, thermometer, direction chevrons) and a boot sequence styled like a product power-on
- 🛡️ Graceful "NO SENSOR" degradation instead of freezing if the MPU6050 fails to respond
- 🎨 Hand-applied vinyl eco-print skin over a PVC enclosure — a "manufactured instrument" look without 3D printing
Most DIY MPU6050-based angle-meter projects are functionally complete but visually and procedurally unfinished — bare PCBs, exposed wiring, single-sample "calibration," and no enclosure. The LA100 tests how close a maker without access to a 3D printer or professional fabrication tools can get to a "real product" experience, using only low-cost, widely available materials and disciplined process.
The underlying argument: process and finish are engineering, not decoration. Splitting calibration from firmware, persisting calibration properly, restraining the UI to one button, and treating enclosure finish as a design problem are what closes the gap between "DIY project" and "product" — not more expensive components.
![]() |
![]() |
![]() |
![]() |
| Component | Purpose | Reason Selected |
|---|---|---|
| Arduino Nano | Main controller | Small footprint, widely available, enough flash/RAM once firmware was trimmed |
| MPU6050 | Angle sensing + internal temperature | Cheap, well documented; accelerometer alone is sufficient for a static/quasi-static reading; removes need for a separate thermometer |
| 1.3" I2C OLED | Display | Low cost, low power, enough resolution for a large angle readout plus icons; shares the I2C bus with the MPU6050 |
| Grid-type (cross) laser module | Physical alignment reference | The project's core differentiator vs. a plain digital inclinometer |
| TP4056 (Type-C) | LiPo charging | Off-the-shelf, standard safe charging, modern connector |
| 18650 2500mAh LiPo cell | Power source | Reusable, high capacity-per-cost for extended handheld sessions |
| XL6009E1 boost converter | Steps ~3.7V battery up to ~5.5V | 5V-rail parts need more than raw LiPo voltage; 5.5V gives deliberate headroom as the battery sags under load |
| 2× 100kΩ resistors | Battery voltage divider → A7 | Battery percentage without a dedicated fuel-gauge IC |
| Pushbutton (mode) | Single multi-behavior control | One button, three behaviors — avoids a multi-button/menu UI |
| On/off switch | Power control | Simple, reliable, no reliance on firmware sleep states |
Full BOM with approximate pricing: Hardware/README.md. Full alternatives/limitations/future-improvement detail: Documentation/Humanix_LA100_Master_Documentation.md, Section 8.
- Language: C++ (Arduino)
- IDE: Arduino IDE
- Libraries used by the sketches:
Wire.h,U8g2lib.h,math.h(MPU6050 communication is done via rawWireregister access rather than the MPU6050/I2Cdev libraries — see below) - Firmware: two synced sketches — see
Firmware/
- The MPU6050's accelerometer measures gravity direction relative to the device.
- That reading is compared against a stored calibration reference to compute a tilt angle.
- The angle passes through an adaptive three-tier smoothing filter (fast filtering for large jumps, medium for mid-range jumps, slow/steady for jitter under 2°) with a small deadband that snaps near-zero noise to a clean 0°.
- The result is drawn on the OLED alongside a moving pointer graphic, battery percentage, and internal temperature, while the laser module projects a physical cross-reference line.
- A single button covers all interaction: single press holds/locks the current reading, double press toggles whole-degree vs. one-decimal precision, and a long press (5s) triggers Smart Calibration, which is written to EEPROM immediately and reloaded automatically on every future boot.
Why this hardware? Every component was chosen to solve a stated constraint rather than for convenience — e.g., the MPU6050's internal temperature sensor removes the need for a separate thermometer, and the two-resistor divider replaces a dedicated battery-gauge IC. Full component-by-component rationale, including rejected alternatives: Master Documentation, Section 8.
Why this firmware architecture? The project ships two synced sketches (calibration wizard + production firmware) instead of one, so hardware bring-up (I2C address discovery, axis orientation, noise characterization) is never repeated per build. Fitting the feature set into the Nano's 32KB flash / 2KB SRAM required removing the MPU6050/I2Cdev libraries for raw Wire register access, moving all labels to PROGMEM, and running the OLED driver in page-buffer mode. Full detail: Master Documentation, Section 9.
Why this manufacturing method? No 3D printer was available, so the enclosure is hand-cut PVC sheet, finished with a custom-designed, hand-applied vinyl eco-print skin rather than left bare or spray-painted. Full detail, including honestly-reported finish limitations: Master Documentation, Section 12.
Why this user interface? A single multi-behavior button (single/double/long press) was chosen over multiple buttons or a menu system to keep both the enclosure and the interaction model simple. Full detail: Master Documentation, Section 13.
Humanix-LA100/
├── Firmware/ # Two synced Arduino sketches (calibration wizard + production firmware)
├── Hardware/ # Wiring diagram, BOM, enclosure dimensions
├── Documentation/ # Master engineering documentation + project analysis report
├── Images/ # Circuit diagram, internal assembly, unit photos
├── CAD/ # No CAD files in this revision — see CAD/README.md
└── Calibration/ # Calibration workflow documentation
- Wire the components according to
Hardware/circuit_diagram.pngand the pin summary inHardware/README.md. - Double-check the MPU6050 and OLED are both on the shared I2C bus (SDA → A4, SCL → A5).
- Install the Arduino IDE.
- Install the U8g2 library via the Arduino Library Manager (Sketch → Include Library → Manage Libraries → search "U8g2").
- Select Arduino Nano as the board and the correct COM port.
- Open and upload
Firmware/Humanix_AL100_FactoryCalibration.inofirst, and complete the 13-point calibration wizard. - Open and upload
Firmware/Humanix_AL100_Firmware.inofor normal use.
Full step-by-step rationale: Firmware/README.md.
- Power on: the device shows a boot/loading sequence, then automatically loads a saved calibration (or runs a first-boot flat-surface quick average if none exists yet).
- Reading the angle: aim the laser cross at your reference; the OLED shows the live angle, a center "+"-mark and pulse ring at dead-level (0°), and a moving dot/pointer when off-level.
- Hold a reading: single press the mode button (lock icon appears).
- Toggle precision: double press the mode button (whole-degree ↔ one-decimal display).
- Recalibrate (Smart Calibration): long press the mode button (5s) — the new zero reference is saved to EEPROM immediately.
- Charging: connect a Type-C cable to the TP4056 module.
- Safety: never point the laser beam at eyes or into a camera sensor.
- Calibration accuracy: validated through the 13-point wizard (3 flat/neutral references, 5 right-tilt, 5 left-tilt), each point averaging 150–200 samples with running mean/variance rather than single-sample capture; unstable points are automatically discarded and retried.
- Power/battery: battery percentage derived from the voltage divider, averaged over multiple ADC samples to reduce power-on noise.
- Real-world testing: demonstrated in both a dark room (laser cross visibility) and normal lighting; the angle screen was tested live while tilting the handheld unit.
- Known limitations:
- No long-term or comparative field-accuracy data has been collected yet.
- A long press aborts an in-progress 13-point calibration session with no confirmation or resume — see
Calibration/README.md. - Hand-applied vinyl skin shows visible imperfections at corners/edges/joints up close, despite a good result at typical viewing distance (5–10m).
- Version 2 hardware: access to a 3D printer for tighter tolerances and a smaller enclosure.
- Version 2 firmware: a guarded/confirmation-based abort for the calibration wizard, to prevent accidental loss of an in-progress session.
- Possible future firmware: using the MPU6050's onboard gyro channel for short-term motion smoothing; further reducing accidental long-press aborts.
- Future AI integration: the calibration wizard's Serial config-block output is already designed to be handed to an AI assistant for merging into the firmware — a workflow the project intends to build on further.
This is an open-source hardware/firmware project from Humanix Tech Lab. Contributions, issues, and pull requests are welcome — particularly around the documented known issues (calibration-abort guard, field-accuracy data, enclosure fixturing). Please open an issue before submitting a large change so it can be discussed first.
Information not yet available. A license has not yet been selected for this repository — check back, or open an issue if you'd like clarity before building on this project.
Humanix Tech Lab
- YouTube: https://www.youtube.com/@HumanixTechLab
- GitHub: https://github.com/humanixtechlab
- Instagram: https://www.instagram.com/humanixtechlab
- Facebook: https://www.facebook.com/humanixtechlab
- Hackster: https://www.hackster.io/HumanixTechLab
- Instructables: https://www.instructables.com/member/HumanixTechLab
- GitHub Issues: open an issue in this repository for bugs or hardware questions.
- Discussions: use the repository's Discussions tab for general questions and build variations.
- Email: placeholder — not yet published
Enclosure finish designed with AI-assisted iteration across 100+ prompt refinements for symbols, icons, branding text, and model naming (see Master Documentation, Section 12).




