Energy harvesting towards self-powered iot devices