diff --git a/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/bsp.cpp b/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/bsp.cpp
index a1efbe4ef8ca8a4fd10f69ad7777517d1db4fba7..8a8884f303073ddf8bd060e26c504039c6a44caa 100644
--- a/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/bsp.cpp
+++ b/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/bsp.cpp
@@ -295,6 +295,8 @@ void IRQbspInit() {
     peripherals::tank_level::lvl2::mode(Mode::INPUT);
     peripherals::tank_level::lvl3::mode(Mode::INPUT);
 
+    peripherals::battery_voltage::ch15::mode(Mode::INPUT_ANALOG);
+
     DefaultConsole::instance().IRQset(intrusive_ref_ptr<Device>(new STM32Serial(
         defaultSerial, defaultSerialSpeed, STM32Serial::NOFLOWCTRL)));
 }
diff --git a/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/hwmapping.h b/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/hwmapping.h
index 8fd6600f82e51b7e695b5144bed4cfc5f01f64b1..aa7d8ec5772627528abb611860f7f1fcc1e4ac95 100644
--- a/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/hwmapping.h
+++ b/miosix/arch/cortexM7_stm32f7/stm32f767zi_gemini_motor/interfaces-impl/hwmapping.h
@@ -140,6 +140,11 @@ using lvl2 = Gpio<GPIOG_BASE, 6>;
 using lvl3 = Gpio<GPIOB_BASE, 14>;
 }  // namespace tank_level
 
+namespace battery_voltage
+{
+using ch15 = Gpio<GPIOC_BASE, 5>;
+}
+
 }  // namespace peripherals
 
 }  // namespace miosix