A redesigned 3D-printed robot dog that checks air quality on command, barks a warning through an onboard speaker, and can be driven by voice from a Python control panel or over WiFi.

A full rebuild of the robot dog with a new printed body and much better electronics. Servos moved off direct GPIO pins onto a PCA9685 driver, freeing pins and smoothing the motion. The MQ135 sensor was switched from continuous analog reading to a digital signal checked only when commanded — the robot answers GAS, CHECK AIR and CLEAR AIR rather than polling constantly. When gas is detected it sits and barks, playing a WAV file from an SD card through an I2S amplifier.
A separate Python control panel adds speech recognition, so spoken commands are sent to the robot over serial.
Continuous analog gas reading in V1 was noisy and fought with the servo timing. Moving to the digital output with an interrupt, and only checking on command, made the behaviour predictable.











