Welcome to the forum.
Please read the first post in any forum entitled how to use this forum.http://forum.arduino.cc/index.php/topic,148850.0.html
then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.
i am currently building humidity tanks with led lighting.
I am new to arduino and while ive done some research i cant seem to figure it out.
I am trying to wire up 4 dht22 humidity sensors to the mega2560 to control an 8 channel relay board
4 of the relay channels will control 4 seperate ultrasonic humidity sensors to keep a certain humidity sensor.
and the led lighting will be on the other 4 relay channels controlled by a clock module to keep the lighting on at certain times of day.
I feel decently comfortable i can get the code working if i can figure out how to wire it up. can any one help me out?
Sorry had to open it up to get your points.
Have you written any code.
You need to do this in stages and there are many tutorials on how to connect the DHT22.
Attempt and get working just using one DHT22 first and work up.https://learn.adafruit.com/dht/using-a-dhtxx-sensor
And many more if you google arduino dht22 tutorial