hi,
my girlfriend has asked me to realize a greenhouse in where she'd like to make grow strange flowers, dunno at all about flowers, and i need a little help about technical questions because the greenhouse is a very humid environment, and i need to put the following sensors:
- CO2 sensor, that has analog out, from 0V to 4V, 0..10Hz band, perfect for the arduino ADC range
- 4 DHT11 humidity and temperature, that has 1wire digital bus
also i will put 4 rele to switch on/off
- the lamp that is used to irradiate flowers with light in particular wave length, it is a 220V 2A load
- the electrical valve of the CO2 tank, which let control the CO2 fix up with the addition of discrete volumes, it is a 48V DC 50mA load
- the two electrical watering, each actuator is 12V 1A load
my problem is how to transport information from the DHT11 and from the CO2 sensor to the arduino board, because the CO2 sensor and all the DHT11 sensor need to be put 1meter far from the box which contain the arduino.
I can't wire it up a cable of 1 meter long from the ADC of the arduino to the CO2 sensor, and i can't wire it up a cable of 1 meter long from the DigitalIO of the arduino to the each DHT11
I think something in the middle must be put: and this is what i am asking here, what do you suggest to put in the middle to solve this problem ?
the irradiating lamp produces a lot of noise, this noise must be filtered on the adc, and i could do it easy, just adding 10 samples and dividing them by 10, the classical formula (sum(i={1..10},x(i) ) ) /10 ... but i am also considering to add a low band (0..10Hz) Operational Amplifier with a gain of 1, putting it between the arduino adc and the cable which links it up to the CO2 sensor (which is 1 meter in distance)
May be this filtering good enough for the CO2 sensor ?
I don't know about what to do for the 1wire bus of DHT11

-------------
| poweron/off |
| 4 rele |
-------------
|
|
+----------------+
| |
| main board |
| arduino328 <--------- i2c RTC & LCD44780 inside
| |
+----------------+
|
| RS485
|
| +------------------+
+-----------------| sensor node CO2 |
| | arduino/pic |
| +------------------+
| +--------------------+
+-----------------| sensor node DHT11 |
| | arduino/pic |
| +--------------------+
| +--------------------+
+-----------------| sensor node DHT11 |
| | arduino/pic |
| +--------------------+
| +--------------------+
+-----------------| sensor node DHT11 |
| | arduino/pic |
| +--------------------+
| +--------------------+
+-----------------| sensor node DHT11 |
| | arduino/pic |
| +--------------------+
a bit more expensive, in this other draft, i am thinking about using RS485 + a intelligent sensor, i mean putting arduino or pic inside each sensor, and than linking the whole up into RS485 network. RS485 uses a differential bus, so i could use twisted piece of wire, which should be immune from the noise of the irradiating lamp
what do you think ?