Pages: [1]   Go Down
Author Topic: Ethernet Shield v1.1 and DHT11 humidity conflicts?  (Read 898 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Full Member
***
Karma: 1
Posts: 132
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I have got an early Ethernet Shield v1.1 working today but as soon as I added a DHT11 Humidity Sensor I noticed some conflicts where the humidity sensor could not be read.

The Ethernet library here http://www.nuelectronics.com/estore/index.php?main_page=product_info&cPath=1&products_id=4 is what I am using.

I ran a simple sketch to read the DHT Sensor called DHTtester without the Ethernet library (Ethernet shield connected still) and it runs 100% with no errors or failures to read.

My DHT sensor is connected to Digital input PIN2 on the Arduino Duemilanove which I "assume" the Ethernet does not use?

My loop() reads the Humidity sensor and then checks Ethernet so both are not occurring at the same time.

I am actually only reading the humidity sensor once every 10 seconds.

Any help appreciated.

Chris


Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 212
Posts: 8967
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My DHT sensor is connected to Digital input PIN2 on the Arduino Duemilanove which I "assume" the Ethernet does not use?

Wrong assumption.  The Ethernet Shield 1.0 uses D2 for Interrupt.  Try D3 through D9.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Full Member
***
Karma: 1
Posts: 132
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wrong assumption.  The Ethernet Shield 1.0 uses D2 for Interrupt.  Try D3 through D9.

Great news - I will try when I get home - I will be very happy then

cheers

Chris
Logged

Offline Offline
Full Member
***
Karma: 1
Posts: 132
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yes looks like it is all happy now - thanks for helping me

Chris
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

In regard to Michael Margolis's book (Arduino Cookbook), there are a couple of programs on page 500 (give or take) of the book.  Does anyone know if these time type sketches will be forward compatible with ipv6 whenever it gets fully implemented?  I'm not sure that there will be a huge snag issue surrounding the upgrade, but I'm not sure that there will NOT be one either???
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 640
Posts: 50335
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
In regard to Michael Margolis's book (Arduino Cookbook), there are a couple of programs on page 500 (give or take) of the book.  Does anyone know if these time type sketches will be forward compatible with ipv6 whenever it gets fully implemented?  I'm not sure that there will be a huge snag issue surrounding the upgrade, but I'm not sure that there will NOT be one either???
What does this have to do with the thread you are hijacking?
Logged

Pages: [1]   Go Up
Jump to: