can any body help me to connect rain detector by  pic16f887.
i am close to programmimng but not work well.
can any body share any idead?

What exactly is your problem?
Where in your code do you struggle?
What exactly do you mean by "does not work well" ?

You should include your code, a detailed description of your problem(s) and where you struggle - otherwise it is next to impossible help as we don't know what your goal is and what is stopping you ;)
Most people these days use Aruinos or similar for their "programming", mainly because the supprt for modules and hardware is better.
So give us what we need ;)

I do not think this Zealand Newbie ever reads his postings, sad...