The part number is 45502. It's kind of a sentimental journey. I still use EV3 from time to time to engage with younger audience. My favorite robot is MindCub3r. It is then high time we reverse engineered the EV3 large motor. And frankly speaking there is nothing to be reverse engineered there because its creators provided us with the official documentation. Thank you, LEGO engineers!
Tip
Note the two 3.3k resistors - they are there to protect the two Schmitt triggers by forming high-impedance (hi-Z) outputs. Not all logic level shifters can handle that. Choose your wisely or use STM32 FT GPIOs.
Don't worry 🙂 Just log in to MyST and hit Alt-K to generate /Drivers/CMCIS/ and /Drivers/STM32L4xx_HAL_Driver/ based on the .ioc file. After a couple of seconds your project will be ready for building.
- EV3 Hardware Developer Kit (LEGO MINDSTORMS Education EV3)
- STM32L432KC datascheet (STMicroelectronics)
Add a proportional (P) position control loop.
Create your own home laboratory/workshop/garage! Get inspired by ControllersTech, DroneBot Workshop, Andreas Spiess, GreatScott!, bitluni's lab, ElectroBOOM, Phil's Lab, atomic14, That Project, Paul McWhorter, Max Imagination, Nikodem Bartnik, Stuff Made Here, Mario's Ideas, Aaed Musa, Haase Industries, and many other professional hobbyists sharing their awesome projects and tutorials! Shout-out/kudos to all of them! Promote README-driven learning 😎
Warning
LEGO EV3 large motors - do try them with DIY control hardware ❕
220+ challenges to start from: Control Engineering for Hobbyists at the Warsaw University of Technology.
Stay tuned!

