Difference between revisions of "The Solver"

From ESE205 Wiki
Jump to navigation Jump to search
(Added design section)
m
Line 35: Line 35:
 
*Raspberry Pi — From lab
 
*Raspberry Pi — From lab
 
*[http://www.amazon.com/Arducam-Megapixels-Sensor-OV5647-Raspberry/dp/B012V1HEP4/ref=sr_1_3?ie=UTF8&qid=1454703226&sr=8-3&keywords=raspberry+pi+camera+module Camera (Arducam)] — $14.99
 
*[http://www.amazon.com/Arducam-Megapixels-Sensor-OV5647-Raspberry/dp/B012V1HEP4/ref=sr_1_3?ie=UTF8&qid=1454703226&sr=8-3&keywords=raspberry+pi+camera+module Camera (Arducam)] — $14.99
*[http://www.amazon.com/Robotlinking-Geared-Stepper-28byj-48-Uln2003/dp/B015RQ97W8/ref=sr_1_9?ie=UTF8&qid=1454702716&sr=8-9&keywords=stepper+motor Stepper motors] — $12.89  
+
*[http://www.amazon.com/Robotlinking-Geared-Stepper-28byj-48-Uln2003/dp/B015RQ97W8/ref=sr_1_9?ie=UTF8&qid=1454702716&sr=8-9&keywords=stepper+motor Stepper motors (w/ motor controllers)] — $12.89  
 
*[http://www.amazon.com/HOSSEN%C2%AE-Genuine-Micro-Helicopter-Airplane/dp/B00CCZ2CRA/ref=sr_1_2?ie=UTF8&qid=1454703166&sr=8-2&keywords=mini+servos Servo motors] — $11.98  
 
*[http://www.amazon.com/HOSSEN%C2%AE-Genuine-Micro-Helicopter-Airplane/dp/B00CCZ2CRA/ref=sr_1_2?ie=UTF8&qid=1454703166&sr=8-2&keywords=mini+servos Servo motors] — $11.98  
 
*Power adapter  
 
*Power adapter  

Revision as of 02:42, 14 February 2016

The Solver

by Jordan Aronson, Alex Herriott, Oscar Arias


Project Overview:

The robot being built combined with a complex algorithm will take a rubik’s cube, evaluate it, and solve the cube.


Objectives:

To build this, we need these things:

  • 1. Build a robot which includes a Raspberry Pi along with motors that can rotate parts of the cube horizontally and vertically.
  • 2. Create code to take the set of instructions and give them to the robot which will execute the necessary moves to solve the cube.
  • 3. Create code to detect the colors on a cube on each of its sides
    • Backlight the camera
  • 4. Convert an algorithm to solve a cube into Python and produce a set of instructions based on its given colors
  • 5. Connect the Raspberry Pi to the motors using circuitry


Challenges:

Challenges that we predict:

Mechanical:
  • Designing grippers able to grasp and rotate the cube
  • Ensuring the grippers rotate exactly 90 degrees so the cube can rotate cleanly.
  • Trying to get the individual actions to take as little time as possible.
  • Designing a convenient way for the cube to be inserted into the device and exit the device.
  • Designing circuitry to connect the Pi (The Pi can’t deliver enough power or pins to drive all the necessary servos and steppers)
  • Finding a way to power both the Pi and the actuators from a wall adapter.
CS:
  • Designing an algorithm that can take the initial color positions and come up with a set of moves to solve the cube as efficiently as possible.
  • Making sure the camera can distinguish the color patterns on each side of the cube
  • Design code that can take that algorithm and translate it to what the robot can do. (The robot’s current design can only act on 4 faces at any given time. To access the other two, the cube must be rotated).


Budget

Gantt Chart

caption

Design

  • In our current design we have 4 end effectors on the cube that can rotate one side of the cube. These can therefore turn 4 sides of the cube from any position. The remaining two sides can be accessed by disengaging two of the grippers and rotating the entire cube to a new position.
  • The grippers that grip the cube will be operated by a mini servo mounted into the base of the gripper and then those grippers will be mounted to stepper motors. By using stepper motors, we are able to get continuous rotation on the grippers and accurate positioning.
Whole assembly.jpg
Gripper perspecitve.jpg
Stepper mount.jpg
Gripper front.jpg