Go Down

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

kas

Quote
I think the serial communication gets garbled messages?
You may get noise, check for loose connections


Quote
can that happen?
On my bot, communication is rock solid


Quote
my baud rate is now 9600...should i try and decrease it?
No


Quote
what is the front 2 scan function? why should we scan the front face twice?
This function moves back cube to original position, no scan performed





dd5665

do not compare ur robot with mine. Yours is like factory made. I wish i could intern with you for 2-3 years.  :smiley-confuse:

kas

Quote
Yours is like factory made
CNC helps producing clean designs  ;)

Again, if you get errors when scanning Top face, Back wrist servo is the designated culprit (or connection to it)



dd5665

my back pinch and rotate servos are faulty i know. I have to show my professors this way tomorrow. I'll replace the servos later on and check.

I'm studying your codes for tomorrow's presentation.

I have given your name on our thesis. :-)

kas

#139
Jun 15, 2015, 10:14 pm Last Edit: Jun 15, 2015, 10:14 pm by kas
Quote
I'm studying your codes for tomorrow's presentation
Good luck  ;D    let us know the outcome

Time to sleep now :smiley-sleep:



dd5665

Everyone loved the robot!
I got a new arduino uno from a friend. I'll hook it up tomorrow and see if the arduino not responding problem is fixed.

kas

Quote
Everyone loved the robot!
.      :)  :)  :)  :)


dd5665

Hey kas!

I have around a month's time to fix the robot completely to solve it. I will be leaving my college after a month. Today i showed the robot to our head of department and he was so impressed by it (he is a very hard-to-impress man). I want to gift our robot to our college's department. Can you help me diagnose the problem. I tried replacing the arduino with another one (this one is the official arduino uno) but the problem still persists.

Arduino not responding after 4th scan

kas

Quote
I have around a month's time to fix the robot completely to solve it. I will be leaving my college after a month
That plenty of time  ;)

Please answer ALL questions

Quote
I tried the test button. this time the grippers move perfectly for all moves
1) Please test again and confirm it actually works



Uninstall the cube

run "Scan colors"
2) Do you still have communication problems when the cube is removed (reduced servo's load)


If you still get the error message:
Disconnect all four servo's (remove plugs from shield) and run "Scan colors"
You should see debugging info in your Python shell

Code: [Select]
http://127.0.0.1:8081/?connect1
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKb\r\n'
http://127.0.0.1:8081/?scanB
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKl\r\n'
http://127.0.0.1:8081/?scanL
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKf\r\n'
http://127.0.0.1:8081/?scanF
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKr\r\n'
http://127.0.0.1:8081/?scanR
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKu\r\n'
http://127.0.0.1:8081/?scanU
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKd\r\n'
http://127.0.0.1:8081/?scanD
b'<HTML><BODY>\r\nDone!\r\n</BODY></HTML>\r\n'
b'OKg\r\n'
...........
3) Do you ??



Re-connect the two FRONT servo's only (camera side)
Run "Scan colors" again
4) Are the two servo's running OK ??
5) Do you see debug info as per above ??


Re-connect the BACK pinch servo (only BACK wrist servo is left disconnected)
Run "Scan colors" again
6) Are the three servo's running OK ??
7) Do you see debug info as per above ??

Let me have your answers

To be continued ...


Go Up