r/ArduinoProjects • • Oct 22 '23

Warman design and build competition entry

This is our entry into the Weir Warman competition this year. It runs on an arduino mega, controlling 7 dc motors and a servo motor. With IR sensors and limit switches for positioning.

188 Upvotes

24 comments sorted by

1

u/Bindi_John Oct 22 '23

Looks great, good luck with the competition.

1

u/lost-my-instructions Oct 22 '23

Thank you. We placed 7th in the end. Unfortunately, it didn't perform as expected in the first run and there were some other fantastic entries.

1

u/xebzbz Oct 22 '23

Will you publish the details and sources? It would be an awesome item in your GitHub portfolio.

1

u/lost-my-instructions Oct 22 '23

Possibly, I'd need to spend a bit of time organising the files though.

1

u/xebzbz Oct 22 '23

Of course, they have to be usable somehow. But publishing stuff like this will be a huge boost in your job search in the near future.

1

u/lost-my-instructions Oct 22 '23

Interesting, I hadn't thought of that aspect to it.

1

u/xebzbz Oct 22 '23

GitHub is now a default go-to for hiring managers in the software industry. The more nontrivial stuff you place there, the better.

Also, blogging is good for that. You can just tell the stories about your project, the challenges, the success and failures, and lessons learned.

1

u/harry_potter559 Oct 26 '23

How would you recommend to get around GitHub? Using it gives me brain-farts

1

u/xebzbz Oct 26 '23

Learn it, it's a great tool. Start reading the generic Git guide. GitHub is just one of the ways to host it.

1

u/harry_potter559 Oct 26 '23

I learnt got a while ago for a course I was taking, pretty straightforward, just don’t know how or rather what to post on GitHub, coz my projects are not bad just not original and all, is it still worth it to post?

→ More replies (0)

1

u/JuryMelodic5936 Nov 10 '23

If you are in research, could i ask you what is your mojor and main research?

1

u/lost-my-instructions Nov 10 '23

Not in research. I'm in my third year of Mechatronics engineering.

1

u/JuryMelodic5936 Nov 10 '23

I am impressed with your project using IR sensor! could i know what is your industry you want to work?

1

u/lost-my-instructions Nov 10 '23

I'm not 100% sure, something in robotics ideally.

1

u/Longjumping_Bench846 Feb 13 '24

Gonna have it in 2nd year ! Machine design unit will begin in no time. Any resources and advice will be immensely appreciated!!!

1

u/lost-my-instructions Mar 11 '24

Are you doing this years competition?

1

u/Longjumping_Bench846 Mar 11 '24

Working towards it !

1

u/lost-my-instructions Mar 11 '24

Nice! It looks like it'll be a fun challenge. I'm working on modifying my original prototype from last year to complete this course.

1

u/Longjumping_Bench846 Mar 11 '24

Woah, that modification idea will go a very, very long way. Would love to see it soon !

You can have a quick look at this and let me know if there is anything missing and incorrect:

A few pointers about components and construction:

  • For the playfield’s layout, the best design is probably one that can be folded and has two long arms extending out. These arms should be able to move the balls towards the target area, and they should be capable of handling both sides at the same time, or at least manage an entire side in one go.

  • If arms of the device or robot can stretch out to a length of about 27.5 inches, this leaves enough space inside the device for the parts that make it work, and it does this without needing parts that slide out like a telescope. However, even with arms that can extend this far, the device won't be able to reach everything it needs to from one single spot. So, it will have to move around to access different areas or objects beyond its maximum arm reach.

  • The design needs to be small enough to fit inside a 16-inch cube and be able to move around to pick up all the tennis balls -- mobility.

  • The arms of the design can stretch out to about 27.5 inches, but that's not enough to reach everything without moving from the center spot.

 

·       Having two sets of these arms, one set on each side of the robot, allowing it to perform tasks on both sides at the same time.

·       The robot has two arms connected to a central pivot. When the arms lift, they form a half-loop above, acting as a makeshift rail. Attached to this is a flexible tube, designed for precision in moving or disposing of tennis balls to various locations or containers. Reminiscent of "Johnny 5" from the Short Circuit film, is it?!

·       Moving causes robots to lose their reference point, leading to alignment issues. This drifting, often due to weight imbalances, is where robots veer off a straight path despite using walls as reference points. Thus, movement precision is managed better using IR sensors, TOF sensors, and encoder motors.

·       Use relays because they are cost-effective and can be used again with setups that control speed and power differently. No worries about adding relays because of concerns about the overall weight or mass of the design cause in our case, the added weight from including relays is not a big issue or constraint. Transistors or solid-state relays are alternatives but are relatively more complex to use.

·       Start with 11.1v batteries for power, encoder motors, and buck regulators (not linear voltage regulators).

·       Colored ribbon cables for easier connections.

·       Implement contact switches with debounce.

·       Use a lot of heat shrink tubing

·       Use hot glue for attaching connectors to the Arduino microcontroller board. That can keep the connectors firmly in place but can still be removed if needed.

·       D20 (20 mm dia) geared motors with attachable encoders are recommended for their durability and size. 

·       Aim for a lightweight design to eliminate the need for counterbalancing mechanisms.

·       Work without the Arduino libraries. Make use of the provided boilerplate code as a foundation and then write our own modular code, which should be designed to control different parts of the machine both individually and as a group, working within a "state machine" framework.

1

u/lost-my-instructions Mar 11 '24

First thing, it pains me that you are using imperial measurements. Haha, sorry but inches, feet, yards and barley corns hurt my soul.

I definitely like the idea of two arms. If I were designing from scratch again I think I'd do that or possibly consider 6 arms. I think you could make a stationary system though with long arms, which would eliminate any issues that arise with having to move around.

I have found screw terminal breakout boards for arduino are the best for connecting wires to your arduino while in the prototype phase

Lightweight is important but not as important as reliability and repeatability

Definitely use a buck converter, with a consistent voltage you may not need encoders. As long as the wheels aren't slipping timers will be very consistent and reliable

Denouncing switches is only really important if you are going to do something different with a second click of a switch. If you just want to know when a component has reached a certain point you wouldn't need it.

Over all you seem to have thought it through quite thoroughly and I'm interested to see your build.

1

u/Longjumping_Bench846 Mar 12 '24 edited Mar 12 '24

This is such a reassuring messsage! And I got this smile on my face, knowing that the barley corns (and a lot many others) hurt us poor souls. We ain't ever gonna loose our instructions I'm sure!

Only if there is/are any glaring stuff do you need to just guide me a little bit :) If nothing much, just wish me goodluck! I think these are the much needed design calculations needed for 2024 warman :

Shafts and Bearings
Motors attached: minimum: 1 DC motor, 1 stepper, and 1 servo.
Position of linkage components
DC Drive Motor and Gear Set
Main Drive Axial / Shaft Size and Length
Axial Bearing Sizes
Turntable Thrust Bearing
Turntable Servo Motor
Gantry Arm Position and Angle
Gantry Arm Lift Stepper Motor and Lead Screw
Gantry Arm Pulley Driver DC Motor Sizing and Pulley Set
Gantry Belt Size and Length
Ball Catcher Gate Servo Motor
Belts and Pulley