Measurement and Optimization Methods of Energy Consumption for Microcontroller Systems Within IoT | IEEE Conference Publication | IEEE Xplore