Battery-free Electronic Sensors with tiny machine learning on flexible substrates