The Professor is one of the first characters you can recruit after getting the full control over Normandy. To do this, travel to Omega and follow his dossier.
*** Spoiler - click to reveal ***Talk with Aria and after some initial fighting you will be able to speak to Mordin. Finish his task and once back at his clinic he will be convinced to join your cause.