Autonomous Energy Supply for Electronic Grains and Wireless Sensors