qinhong WROTE:~ why rain sensor need to connect to digital input?
Unless you want to detect the "amount of rain" - 10% rain, small rain, heavy rain or shower, instead of just detecting raining or not_raining, then of course, you'll need an analog input.
qinhong WROTE:~ what is means by interrupts? where i can get all these programming ?
"Interrupt" is just a concept used in micro-processor and micro-controller. It's like while you're doing your homework and the phone rings. You'll attend the phone call immediately, finish the phone call, and come back to continue with your homework. The phone call is considered as an interrupt in computer analogy.
You can google "interrupt on PIC" or search for the work "interrupt" on this forum and find a lot of references to it.
qinhong WROTE:~ do u have any product suggestion about the solenoid valve that use to control the water passage in piping system?
'
No I dont have any.
qinhong WROTE:sorry, im very poor in practical...
It requires time and practice. Lots of practices make perfect.
Allen