A Smart Wireless Sensor Network for PM10 Measurement