Go Down

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

#### sandy_undefined

#420
##### Dec 15, 2017, 06:17 pmLast Edit: Dec 15, 2017, 06:32 pm by sandy_undefined
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

i like the way u explain its easy thanks a lot!!
nd i need 1more help  can u tell me how setup the sofware part!!! inncluding all software nd all that!!

#### kas

#421
##### Dec 15, 2017, 06:51 pmLast Edit: Dec 15, 2017, 06:53 pm by kas
Quote
i need 1more help  can u tell me how setup the software part!!! including all software nd all that!!
I have a feeling you are not (yet) ready for this type of project

#### sandy_undefined

#422
##### Dec 15, 2017, 08:53 pm
The final claw should grip the cube (55mm) and open sufficiently (55 X 1.414, thanks pythagoras    ) to allow cube rotation

where is the use of pythagoras???
can u explain it plz!

#### kas

#423
##### Dec 16, 2017, 10:11 am
Quote
The final claw should grip the cube (55mm) and open sufficiently (55 X 1.414, thanks pythagoras    ) to allow cube rotation

where is the use of pythagoras???
can u explain it plz!
I was refering to Pythagorean theorem
Claw should open a bit more than cube Diagonal:        D² = 55² + 55²     --->     D =  55 X 1.414

#### ahappykid

#424
##### Feb 02, 2018, 06:04 pm
Hi kas, i'm doing a rubik cube solver for my final school project.
I'm trying to do the android version, so can you please tell me where i can find the app ?

i know this is kind of an old project but i would really appreciate if you helped me.

#### kas

#425
##### Feb 03, 2018, 09:12 pm
Hi kas, i'm doing a rubik cube solver for my final school project.
I'm trying to do the android version, so can you please tell me where i can find the app ?

i know this is kind of an old project but i would really appreciate if you helped me.
The project is still alive

#### ahappykid

#426
##### Feb 06, 2018, 05:12 pm
I dont have nothing build yet, but i am looking for a place to 3d print my robot, But i would like to have everything ready.

Also can you tell me if i can test the code without the arduino board ?

(sorry i'm a newbie)

#### kas

#427
##### Feb 07, 2018, 07:23 am
OK, no rush, come back when your bot is ready to move
It is difficult to test a micro controller code without uploading it the card

#### kas

#428
##### Feb 09, 2018, 07:55 amLast Edit: Feb 09, 2018, 07:59 am by kas
I got some inquiries to have the 3D design published on  thingiverse
If there is sufficient interest, I will upload the complete project for you

Let me know

#### matelot

#429
##### Feb 11, 2018, 10:20 pmLast Edit: Feb 11, 2018, 10:22 pm by matelot
Hi Kas,
I am looking for a new project and your rubics cube solver would suit me just fine.
I have only scanned through the thread but can only find one reference to a drawing for the gripper parts
#162.
I have tried all sorts of ways to bring the .dxf up for printing and can only get it to show on irfanview (a program for showing pictures).
When I try to print it all I get is the top corner of the page as if irfanview doesn't understand the whole picture.
I don't have anything that will show the .ai file.
Is this the only copy of the gripper parts list or is there some other version I can download.
Thanks.
I have a 3d printer and would be very interested in parts on thingiverse even if only the parts with the cog.

#### kas

#430
##### Feb 12, 2018, 08:44 amLast Edit: Feb 12, 2018, 09:42 pm by kas
Hi matelot
This project does combine several skills during implementation   (not for noobs)

I am currently optimising grippers design for 3D printing
Should you be interested, please let me have your email via PM
I will send you the stl's, and based on your comments/suggestions I will publish the gripper design on Thingiverse

Let me know

#### kas

#431
##### Feb 13, 2018, 03:00 pmLast Edit: May 15, 2018, 10:10 am by kas
@ matelot,

This is the new 3D printed gripper V2
simpler to build, only M3 screws and some filament
no more washers, servo's horns and standoffs are now embedded in the relevant PLA parts
This instance is fitted with a mini top plate, to expose the internal mecanism

This gripper was printed @40mm/s with 30% infill, no support needed

#### matelot

#432
##### Feb 13, 2018, 04:41 pm
Hi Kas,
one of the grippers is printing as we speak.
I have had right fun with the python. I have never used python before so a learning curve is so steep it is blocking out the light.
I have managed, after two days to get the hello world box but I had to do it without the lines

import serial, time
from serial import SerialException
import atexit
import subprocess

the cmd says no module named 'serial'   ?

I have been trying to find out why on various forums but without much help. can you understand why?

#### kas

#433
##### Feb 13, 2018, 04:52 pmLast Edit: Feb 13, 2018, 05:29 pm by kas
Quote
the cmd says no module named 'serial'   ?
I have been trying to find out why on various forums but without much help. can you understand why?

#### matelot

#434
##### Feb 13, 2018, 05:40 pm
I have downloaded the package but I have a feeling it is not in the right directory.
I have the python in
c:\.....python\python36-32
and the pyserial in
c:\.....python\python36-32\pyserial-master\pyserial-master
Can I just move some files to get it right and if so which ones?

Go Up