how to interface relay with 8052 microcontroller . First install keil and proteus softwares in your system. Then first write the embedded c program for relay interface using switch control . For program of this project go through www.seminardocs.com . Simple relay interfacing tutorial with 8052.