Jump to content

Recommended Posts

Posted

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:

2019-06-30-06-37-20 (1)2019-06-30-06-36-242019-06-30-06-36-432019-06-30-06-35-41 (1)2019-06-30-06-37-05 (1)

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

Posted

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 :wink:. nice setup to get the steering and drive.

plans to take the build further into something?

 

  • 4 years later...
Posted (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 by glowytheglowbug
i want to see the code?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...