From Smart Dust to Wireless Sensor Networks