Arduino Projects   |   Raspberry Pi   |   Electronic Circuits   |   AVR   |   PIC   |   8051   |   Electronic Projects

Rain Sensor

3 posts / 0 new
Last post
Agoston
Agoston's picture
Offline
Last seen: 8 years 6 months ago
Joined: 31/01/2011 - 13:12
Rain Sensor

Hi all,

I'm responsible to build a rain sensor with the help of PIC programming. However, I don't know in which stage I should use it.
Project is simply to detect water and run an engine using the data that comes from the sensor. I plan such a circuit basically:

Water ---> Sensor ---> PIC ---> (Amplifier if needed) ---> Engine

The main problem is that I don't know what kind of code should I use in PIC, what is the purpose of PIC? Will it work as an DAC(Digital to analog circuit)?

Thanks!

Amit Joshi
Amit Joshi's picture
Offline
Last seen: 8 years 3 weeks ago
Joined: 18/11/2010 - 16:18
whre do want to use dac

 the sensor will provide analog output and u need to convert it into digital. that means u need ADC. this PIC 10F, 12F ,16F  series controller have inbuilt adc . u can choose any one one of them.

arun
arun's picture
Offline
Last seen: 5 years 7 months ago
Joined: 05/10/2011 - 15:21
Its Better to use any digital

Its Better to use any digital Water detaecting Sensor, so that you can directly connect to any port pin of your controller.

Log in or register to post comments