BrickbyBrickTechnic Posted June 30, 2019 Posted June 30, 2019 Hey everyone, I'm really really excited to share this one with you. It's a Lego Technic swerve drive! This is the first time I've truly combined both software and Lego. The swerve drive sports 2 EV3s equipped with EV3Python V2, along with 8 motors. 1 EV3 controls steering and the other controls driving. Both are sent instructions from my computer (or yours because the code is public) which runs a custom python SSH. The swerve drive can be controlled by a joystick (which is written in with the SSH) or it can run autonomously and detect objects (the 2 EV3s communicate through my computer (another SSH) and send each other instructions). The swerve drive is built with 4 identical modules connected together. It is super robust and runs at a 1:1 gear ratio, but there are 2 places (for each module) where the gear ratio can be changed. If there's one drawback, I'd have to say it's that this thing eats battery like crazy. Each EV3 has 6 batteries, and since they each power 4 motors, battery drops very quickly to unusable rates. This is most likely caused by the weight of the model but other optimisations could be made too. OK, I'll stop talking. There's a document with further explanation here. Here's the video! (The code is in the description of the video) Pictures: That's all from me. This project was a blast, so expect more (like lots more) EV3 soon. Thanks for reading! C&C welcome. BbBT Code is here: https://github.com/AbhiJain16/swerve-drive-ev3python Quote
MangaNOID Posted June 30, 2019 Posted June 30, 2019 very nice! very different from your usual. I can only comment about the physical as I know nothing about programming, but the steering is very interesting to see, especially for me right now . nice setup to get the steering and drive. plans to take the build further into something? Quote
glowytheglowbug Posted August 31, 2023 Posted August 31, 2023 (edited) damn! gotta say this is pretty amazing hopefully ill be able to try creating a swerve drive vehicle too :D also i cant see the code :( Edited August 31, 2023 by glowytheglowbug i want to see the code? Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.