PIC based robot