FROM MICROCONTROLLERS TO IOT: THE EVOLUTION OF EMBEDDED SYSTEMS