Thursday, May 6, 2010

CUBЭ



CUBE is the robot made by the staff of moderators of “Robo-academy” (the AC branch of CORD) last year,

it was intended to be a “Welcoming robot” so it doesn’t do anything special other than moving back and forth right and left, and rotating its arms and head, Both The head and arms had two degrees of freedom.

The mechanical design is made by (El 3abqary) Yasser Al Mohandes (yes, Eslam Al Mohandes's cousin)

Circuits by (Ibrahim: 3rd EMP now, and Mohamed Omar: AC head and our friend in 4th CSE)

The control system consisted of two microcontrollers (namely TX and RX)

The TX reads the inputs from the remote control, sends them to RX which in turn decides the proper action on the motors based on a lookup table. The communication between the two micros was through the USART module (using the Asynchronous mode)

The microcontrollers used are pic16f877a, which read TWELVE Inputs and acted on TEN motors.

It took me about two weeks - and many errors to solve :) - to get the two codes right

Unfortunately, I couldn't find the schematics and the sketches I draw for the connections of the two microcontrollers to post them here, but I still have the Proteus designs.

Here are the codes for the two microcontrollers; I hope they can be of any benefit to any of you.