Project Overview
"Pushup-Sync" is a specialized application of Ultrasonic Ranging Forensics and Interactive HMI State-Machines. Designed to enhance home-training regimens, this device provides objective, data-driven feedback on exercise form and volume. By Utilizing a high-frequency sonar node to monitor the 10cm "Peak" of a pushup, Pushup-Sync eliminates the ambiguity of manual counting, providing a synchronized visual (RGB) and acoustic (Buzzer) feedback loop that ensures every repetition meets the required depth criteria.
Technical Deep-Dive
- Ultrasonic Proximity Forensics:
- The HC-SR04 Ranging Logic: The system operates by emitting a 40kHz sonic burst and measuring the Time-of-Flight (ToF) of the reflected echo. The Arduino Uno converts this delta-time into distance $(\text{D} = \frac{v \cdot t}{2})$. This forensics allows the device to calibrate three distinct functional zones: Rest $(>20\text{cm})$, Approach $(10\text{--}20\text{cm})$, and Peak $(<10\text{cm})$.
- Hysteresis Event Counting: To prevent "Double-Counting" artifacts caused by micro-fluctuations at the 10cm boundary, the firmware implements a hysteresis logic. A "Point" is only registered when the distance transitions from the Approach zone into the Peak zone, and a second count is inhibited until the user fully returns to the Rest zone, ensuring high-fidelity tallying regardless of the repetition speed.
- HMI State Synchronization:
- Visual Chromatic Forensics: An RGB LED serves as a real-time depth-indicator. Red indicates the user is too high; Purple signals the mid-point approach; and Blue confirms the attainment of the target depth. This chromatic feedback allows the athlete to modulate their range-of-motion without diverting their visual focus from the training plane.
- Acoustic Milestone Harmonics: A Piezo buzzer provides an auditory "Pulse" every 10 reps. This serves as an intermittent reinforcement signal, reducing the cognitive load on the user and allowing them to focus purely on muscular endurance.
Engineering & Implementation
- Logic Flow & Resource Integrity:
- LCD Telemetry Hub: The 16x2 LCD displays the cumulative count and the current distance-to-target. Proactive data refreshing ensures that the HMI remains responsive to sub-millisecond distance shifts.
- Impedance Diagnostics: Resistors (220, 1k, and 10k) are integrated to manage current flow to the RGB node and ensure the reset-button signal remains "Noise-Free," preventing accidental zeroing of the counter during intense training sessions.
- Physical Deployment:
- Field testing indicates that the sensor node is most effective when placed directly beneath the user's forehead. This positioning provides a consistent "Reflection Surface," ensuring the sonar pulses achieve a high Signal-to-Noise Ratio (SNR).
Conclusion
Pushup-Sync demonstrates how Embedded Proximity Sensing can transform personal fitness tracking. By mastering Sonar Diagnostics and HMI Harmonics, glerumkyle has delivered a robust, professional training tool that proves the utility of the Arduino ecosystem in health and wellness engineering.