To control our high voltage device like home appliance by pic microcontroller, we have to have clear idea on interfacing relay with pic microcontroller. Here I try to answer your very important question with simulation that how to interface relay with pic microcontroller?