I'm doing a project for my kiddos.
I'm trying to find the schematics of a lego train motor 88011, I want to control them using an ESP32 through a telegram bot.
I have the ESP32 and the telegram bot working to power up or power down a led (like in this page but with some modified parts for the telegram bot https://randomnerdtutorials.com/esp32-pwm-arduino-ide/)
I was trying to understand the wiring on the lego motor, but only found some videos on 4 wired connections, these have six.
I also have no idea of what voltage these motors are, attached my hardware.