IEEERobotics / bot

Robot code for 2014.
BSD 2-Clause "Simplified" License
18 stars 11 forks source link

Testing the DC Motor for turning the Rubix Cube #260

Closed cdyoder closed 9 years ago

cdyoder commented 9 years ago

Currently, we have a DC motor with encoder mounted on the bot to turn the Rubix cube top row. There is discussion of switching the motor to a stepper motor instead of the DC motor. Before we make the switch, I would like someone to write a basic code, using the Bone, to send a signal to the DC motor and see if we can reliably rotate the Rubix cube.

Ideally, I would like this to be done from a Bone using the DC motor currently mounted to the bot. If you're interested, please talk with either myself or Ahmed.

cdyoder commented 9 years ago

@pvsteja @asatish127

AhmedSamara commented 9 years ago

The EE overview of what you'll need to do is:

-First see how accurately and consistently the motor can be moved using a power supply and just turning it on/off by hand. -If that works well enough that it seems like it's even worth attempting, you can move to using GPIO pins (either on a Beaglebone or on an Arduino) to control a transistor that controls the supply of power to the motor.

cdyoder commented 9 years ago

Update: The DC motor is able to turn the top row of the cube. Proven 1/20/15.

jakunesh commented 9 years ago

according to above comment: "The DC motor is able to turn the top row of the cube. Proven 1/20/15." this issue is closed. Using a micro controller to do this will be a separate issue, since that is basically solving the task