Go to Post Really heavy snow is different in Minnasota and Oklahoma... It has to be pretty bad up there. - thatoneguy23 [more]
Home
Go Back   Chief Delphi > Technical > Motors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Closed Thread
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
  #1   Spotlight this post!  
Unread 18-10-2014, 23:17
phantomoperator phantomoperator is offline
Registered User
FRC #3266
 
Join Date: Oct 2014
Location: Richmond, In.
Posts: 4
phantomoperator is an unknown quantity at this point
Motor suggestions for rubiks cube scrambler

Hello everybody! My name is phantomoperator and I just recently joined this forum to see if I could get some advice on how I should approach a very specific problem of mine.

A friend of mine and I are big into solving rubiks cubes and we both can currently solve them in less than 20 seconds. Here is a our dilemma. We hate scrambling the cubes. It takes us longer to scramble than actually solve the thing. What we want to do is a build an arduino powered scrambler where all we have to do is a press a button and have it scramble a cube.

Here is the problem with that. We dont know whether or not it would be best to use servos or stepper motors and even then, how to go about controlling them. We were leaning towards servos since they are small but they would have to be continuous rotation to work with our design.

Any thoughts or input would be greatly appreciated. thanks!
  #2   Spotlight this post!  
Unread 19-10-2014, 00:05
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Motor suggestions for rubiks cube scrambler

This is an interesting problem, to say the least. You're going to have to get potentiometers to ensure you are rotating 90 (or 180) degrees, instead of just a timer. You'll get more consistent results that way.

As for motors....I'm positive you could take apart an RC car and use the motors in them. I don't know the precise force required to turn a cube, but it isn't a lot, and a motor found in an electric toy should suffice. \

Best of luck!

If you really want to challenge yourself, you could make a robot that solves the cube
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
  #3   Spotlight this post!  
Unread 19-10-2014, 00:16
EricH's Avatar
EricH EricH is offline
New year, new team
FRC #1197 (Torbots)
Team Role: Engineer
 
Join Date: Jan 2005
Rookie Year: 2003
Location: SoCal
Posts: 19,814
EricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond reputeEricH has a reputation beyond repute
Re: Motor suggestions for rubiks cube scrambler

Quote:
Originally Posted by faust1706 View Post
If you really want to challenge yourself, you could make a robot that solves the cube
Already been done, in LEGO--I remember seeing a video several years ago. Incidentally, that means that LEGO motors ought to be powerful enough. So would a heavy-grade hobby servo.

I'd go with a paired system: Stepper motor (which, in code, is simply told to go X steps, I think [I've never programmed one]) with a servo on whatever holds the cube to actuate jaws or what-have-you. NEMA-17 stepper motors are cheap and if they're powerful enough to drive a 3D printer, they're almost certainly powerful enough to drive a cube scrambler. And they're fairly small.


As far as programming, you'd essentially say: Let X, Y, and Z be random numbers, and let A, B, and C be motors. Drive A to X, B to Y, and C to Z, reset all numbers, repeat n times. Not sure quite how to implement that, though; it'll depend somewhat on your system.
__________________
Past teams:
2003-2007: FRC0330 BeachBots
2008: FRC1135 Shmoebotics
2012: FRC4046 Schroedinger's Dragons

"Rockets are tricky..."--Elon Musk

  #4   Spotlight this post!  
Unread 19-10-2014, 00:27
cgmv123's Avatar
cgmv123 cgmv123 is offline
FRC RI/FLL Field Manager
AKA: Max Vrany
FRC #1306 (BadgerBOTS)
Team Role: College Student
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Madison, WI
Posts: 2,082
cgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond reputecgmv123 has a reputation beyond repute
Re: Motor suggestions for rubiks cube scrambler

Quote:
Originally Posted by EricH View Post
Already been done, in LEGO
Already been done, and then some: http://www.youtube.com/watch?v=X0pFZG7j5cE
__________________
BadgerBOTS Robotics|@team1306|Facebook: BadgerBOTS
2016 FIRST Championship Tesla Division | 2016 Wisconsin Regional Engineering Inspiration Award

2015 FIRST Championship Carson Division | 2015 Wisconsin Regional Chairman's Award

2013 FIRST Championship Curie Division | 2013 Wisconsin Regional Chairman's Award

2012 FIRST Championship Archimedes Division | 2012 Wisconsin Regional Engineering Inspiration Award, Woodie Flowers Finalist Award (Lead Mentor Ben Senson)

  #5   Spotlight this post!  
Unread 19-10-2014, 01:36
faust1706's Avatar
faust1706 faust1706 is offline
Registered User
FRC #1706 (Ratchet Rockers)
Team Role: College Student
 
Join Date: Apr 2012
Rookie Year: 2011
Location: St Louis
Posts: 498
faust1706 is infamous around these partsfaust1706 is infamous around these parts
Re: Motor suggestions for rubiks cube scrambler

As for programming, here is how I would do it:

j = random number between n and m (I'd do 25 and 50)

for (unsigned int i = 0; i < j;i++)
generate a random number 1 to your total number of motors

then turn that motor either 90 or 180 degrees.
__________________
"You're a gentleman," they used to say to him. "You shouldn't have gone murdering people with a hatchet; that's no occupation for a gentleman."
  #6   Spotlight this post!  
Unread 19-10-2014, 13:10
phantomoperator phantomoperator is offline
Registered User
FRC #3266
 
Join Date: Oct 2014
Location: Richmond, In.
Posts: 4
phantomoperator is an unknown quantity at this point
Re: Motor suggestions for rubiks cube scrambler

I like the stepper motor idea. For our design we would need to control 5 motors. Our designs involves having little fixed jaws that fit around the center piece of the cube. We concluded that in order to fully scramble the cube we must turn 5 of the six faces.

Does any one have suggestions on a controller board?
  #7   Spotlight this post!  
Unread 20-10-2014, 01:57
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,624
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Motor suggestions for rubiks cube scrambler

Quote:
Originally Posted by phantomoperator View Post
I like the stepper motor idea. For our design we would need to control 5 motors. Our designs involves having little fixed jaws that fit around the center piece of the cube. We concluded that in order to fully scramble the cube we must turn 5 of the six faces.

Does any one have suggestions on a controller board?
How about a RAMPS 1.4 like they use for RepRap 3D printers.
That will handle 5.5 steppers...one is a split signal.
  #8   Spotlight this post!  
Unread 20-10-2014, 02:44
phantomoperator phantomoperator is offline
Registered User
FRC #3266
 
Join Date: Oct 2014
Location: Richmond, In.
Posts: 4
phantomoperator is an unknown quantity at this point
Re: Motor suggestions for rubiks cube scrambler

That would work. Would I be able to control all of the motors independently?
  #9   Spotlight this post!  
Unread 20-10-2014, 02:58
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,624
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Motor suggestions for rubiks cube scrambler

Quote:
Originally Posted by phantomoperator View Post
That would work. Would I be able to control all of the motors independently?
You have 5 independent drivers so yes.
If you watch any RepRap run you can see steppers moving at the same time independently.

The 0.5 stepper is usually used on dual Z printers like the Prusa.
You put 2 steppers on one driver each at half power but they move at the same time anyway and move the same axis in unison so that is fine. Still the others are independent in that setup.
  #10   Spotlight this post!  
Unread 20-10-2014, 11:35
phantomoperator phantomoperator is offline
Registered User
FRC #3266
 
Join Date: Oct 2014
Location: Richmond, In.
Posts: 4
phantomoperator is an unknown quantity at this point
Re: Motor suggestions for rubiks cube scrambler

Awesome. That will work perfectly. Now my last question is how will we go about telling the motors what to do. Whaat we were hoping to do was have this be completely independent of a computer. We wanted to have a button that we could press and it would automatically generate a random scramble and mix up the cube.
  #11   Spotlight this post!  
Unread 20-10-2014, 11:48
techhelpbb's Avatar
techhelpbb techhelpbb is offline
Registered User
FRC #0011 (MORT - Team 11)
Team Role: Mentor
 
Join Date: Nov 2010
Rookie Year: 1997
Location: New Jersey
Posts: 1,624
techhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond reputetechhelpbb has a reputation beyond repute
Re: Motor suggestions for rubiks cube scrambler

Quote:
Originally Posted by phantomoperator View Post
Awesome. That will work perfectly. Now my last question is how will we go about telling the motors what to do. Whaat we were hoping to do was have this be completely independent of a computer. We wanted to have a button that we could press and it would automatically generate a random scramble and mix up the cube.
Populate RAMPS shield with stepper drivers (Pololu).
Attach Arduino Mega to RAMPS shield.
If you need data storage use SD card shield (maybe boot load from it).
If you want an interface attach an LCD or touch screen shield.

These are all parts often used to build RepRap printers.
When used as a printer you can tether the printer with USB (emulated serial) or use a SD card to standalone.
The Arduino provides the USB connection and the SD card shield is obviously for the SD card.
Program the Arduino yourself instead of using a G/M code interpreter that would usually read the G/M code from the card when this is used to be a RepRap printer control.

The platform is still Arduino underneath.

http://www.makergeeks.com/a4stmodrmo.html
http://reprap.org/wiki/Arduino_Mega_Pololu_Shield
http://reprap.org/wiki/RAMPS_1.4 - Test code at the bottom.

Please be aware that the test code uses the Arduino digitalwrite function which is fast enough but there are faster ways to toggle Arduino pins.

Last edited by techhelpbb : 20-10-2014 at 11:54.
  #12   Spotlight this post!  
Unread 22-10-2014, 15:05
gblake's Avatar
gblake gblake is offline
6th Gear Developer; Mentor
AKA: Blake Ross
no team (6th Gear)
Team Role: Mentor
 
Join Date: May 2006
Rookie Year: 2006
Location: Virginia
Posts: 1,940
gblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond reputegblake has a reputation beyond repute
Re: Motor suggestions for rubiks cube scrambler

In an attempt to help you navigate the thicket of material you will probably find written about this, and similar subjects, I'd like to point out something.

I think I'm correct when I say that "servo" is a *use* for a motor, not a type of motor.

All sorts of motors (including stepper motors) can be used to implement a servo function.

If you keep this distinction in mind, it will probably save you a lot of grief as you wade through what has been written by folks who didn't know about the proper use of the term "servo" (and who enthusiastically mix apples with oranges when giving advice (they are trying to be helpful, but ...)).

Blake
__________________
Blake Ross, For emailing me, in the verizon.net domain, I am blake
VRC Team Mentor, FTC volunteer, 5th Gear Developer, Husband, Father, Triangle Fraternity Alumnus (ky 76), U Ky BSEE, Tau Beta Pi, Eta Kappa Nu, Kentucky Colonel
Words/phrases I avoid: basis, mitigate, leveraging, transitioning, impact (instead of affect/effect), facilitate, programmatic, problematic, issue (instead of problem), latency (instead of delay), dependency (instead of prerequisite), connectivity, usage & utilize (instead of use), downed, functionality, functional, power on, descore, alumni (instead of alumnus/alumna), the enterprise, methodology, nomenclature, form factor (instead of size or shape), competency, modality, provided(with), provision(ing), irregardless/irrespective, signage, colorized, pulsating, ideate
Closed Thread


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 21:40.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi