Small electronic load for battery testing based on MSP430 (C source code and schematics)