Go Down

Topic: Rubik's cube Robot solver (Read 89517 times) previous topic - next topic

Ghost_StarLord

Hey man, this project is amazing and its good to see that you are helping the ones trying to make even after such a long time. I am very new to CNC cutting and wanted to know how to proceed to cut the grippers out? What should i do with the PDF file that you have provided.

kas

Hi Ghost_StarLord

Quote
Hey man, this project is amazing and its good to see that you are helping the ones trying to make even after such a long time
Thanks for the kind words



Quote
I am very new to CNC cutting and wanted to know how to proceed to cut the grippers out? What should i do with the PDF file that you have provided
Welcome to the CNC world   ;)
I can possibly post the G-code file
Let me know which softwares you are using for parts design & CNC control





JosePK

Hi, first of all, thank you for your great contribution. I'm following your instructions to make a rubik's cube solver robot with an Android mobile. What application do you use to take the photos? Thank you.  :)

Ghost_StarLord

Welcome to the CNC world   ;)
I can possibly post the G-code file
Let me know which softwares you are using for parts design & CNC control





Hey thanks for the quick reply. I am learning to use AutoCAD and solidworks. It would be of great help if you can send the G-code.

kas

Quote
It would be of great help if you can send the G-code.


The attached G-Code was processed for Mach3 controller
See if it works and let me know




kas

Quote
Hi, first of all, thank you for your great contribution. I'm following your instructions to make a rubik's cube solver robot with an Android mobile. What application do you use to take the photos? Thank you.
This free application is available on request
Please post a photo of your project and let me have you email address via PM


mrgakoy96

#411
Nov 08, 2017, 08:45 am Last Edit: Nov 11, 2017, 04:10 am by mrgakoy96
sorry, help me!!! cube explorer can not identified scan color orange.
https://drive.google.com/file/d/185wSxw3m2UAHU0wIqW7h0gI2vE2mUjtY/view?usp=sharing

kas

sorry, help me!!! cube explorer can not identified scan color orange.
The attached photo is not available, please repost


kas

Color recognition is a whole universe

discriminating between red and orange is not trivial
You need a constant lighting (both intensity and color temperature)

Please read & follow instructions in the "The Webcam Tabbed Sheet" paragraph
Also adjust webcam white balance and exposure

This is a one time only tuning



Souli

I am still working on my design  :)

kas

So far so good   :)

Thanks for sharing



ParaPedro

Hi Kas
Here's my interpretation of your design.

One thing I've discovered while testing and tuning with CubeMoverHardCoded is when I made my grippers, I made a left (Back) and right (Down) version of them. I orientated the servo's so all the wiring from the pinch servo's would lead out the back of the frame.
The problem I found when testing is that the SEIZE command would make one gripper grab the cube tight, while the other would release and drop the cube.
I found that by editing the cube.cpp file and changed the (_downClose + SEIZE......)  command to be (_downClose - SEIZE... ) it appears to have fixed it.
Will this cause problems further down the track as I progress.
Maybe a trick for other beginners to be aware of.
So far, so good.

kas

#417
Nov 25, 2017, 08:07 pm Last Edit: Nov 26, 2017, 08:39 am by kas


Nice setup, classic style   :)

 - On the picture, the left gripper seems a bit high compared to the right one
 - You placed the "wrist" servo's vertically, please make sure that grippers can still rotate as expected

It is good practice to have the BT card antenna slightly outside the mother PC board
for this project with short distance broadcast, it won't matter

My grippers are ambidextrous with wirings on both side of the frame
You will encounter additional problems that will be easily fixed in the code

Post a video when ready



sandy_undefined

hlo its just amazing project!!! can u tell me the software part fully described means what kind of software to use and how to link between smatphone and other i don't get it!!

kas

hlo its just amazing project!!! can u tell me the software part fully described means what kind of software to use and how to link between smatphone and other i don't get it!!
The Android version needs two pieces of software
- One Android App, let's call it MASTER
- one Arduino sketch  CubeMover V1.3, let's call it SLAVE

SLAVE is only in charge of moving cube according to MASTER's orders
MASTER and SLAVE communicate via BlueTooth

Workflow is as follow:

 - MASTER performs color recognition for the 6 faces and requests SLAVE to move cube accordingly
 - MASTER builds and send a query to a dedicated online Rubik's solving server (MontrĂ©al, Canada)
 - MASTER receives solution from server and sends commands to Arduino (Singmaster notation format)
 - SLAVE moves cube according to commands and put the cube in the right order

Easy isn't it  ;)



Go Up