PGAS sniffs the air above the food with three gas sensors. Press the button, then follow the screen.
Press a button to start a test.
Simulated food. On the real board, the FRESH / SPOILING / DO-NOT-SELL grade comes from a model trained on real spoilage recordings.
Each gas sensor's voltage goes up when it smells its gas. A 10 kΩ / 20 kΩ divider brings it down to a level the UNO Q can read safely. The numbers below update live.
MCU time 0 s · samples 0 · draw calls / matrix.draw() 0
| Sensor | pin | raw (14-bit) | module V |
|---|---|---|---|
| MQ-135 · A0 | |||
| MQ-3 · A1 | |||
| MQ-2 · A2 | |||
| DHT22 · D2 | |||
| Sensor | d_median | d_peak | d_mean |
|---|---|---|---|
| run a test | |||
The UNO Q code path of app/sketch/sketch.ino runs on an emulated UNO Q MCU API (14-bit ADC, Bridge, LED matrix). The STM32 itself is not emulated. Food gas levels are simulation parameters, not measurements.