Control module simulator using the STM32F4-Discovery board