Electronic Dog Home Security System on the STM32F4-Discovery