Blog

Reading the YL-99 Impact Switch with Arduino
Reading the YL-99 Impact Switch with Arduino

Read the YL-99 impact-switch module with a defined pull-up and verify its polarity and board pinout before wiring.

Reading the KY-031 Knock Switch with Arduino
Reading the KY-031 Knock Switch with Arduino

Read the KY-031 as a mechanical impact switch and debounce its short, bouncing pulses in software.

Monitoring Dust Trends with DSM501A and Arduino
Monitoring Dust Trends with DSM501A and Arduino

Measure low-pulse occupancy from a DSM501A to follow dust trends, without presenting the result as a regulatory PM2.5 measurement.

Estimating Water Conductivity and TDS with Arduino
Estimating Water Conductivity and TDS with Arduino

Estimate conductivity-derived TDS trends with temperature compensation and calibration; TDS alone cannot determine whether water is safe to drink.