A Power-Harvesting Sensor Chip for the Internet of Things