Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

Problem testing sensors
#1

Like a lot of others I am waiting deliveries of components to arrive to complete this project.
In the meantime I thought that I would compile and upload the software to the Ardunio. This now works fine.
I have then used a breadboard and connected up SHT10 initially and then DHT22, adjusted the program to bring in the local_test function changed ID1 to correct sensor and recompiled/uploaded. This loaded ok. Selected the serial monitor option to view output. While getting a string of data being displayed/added every few seconds there is no data being displayed for either temperature or humidity. Both hold readings of 0. This occurred when only the SHT10 was connected by itself and then same with DHT22 connected in isolation.

Not sure what I am missing here. Initially thought that there maybe a problem with the Ardunio so replaced with another. No change in result. Can someone come back with suggestion on what I am doing wrong.

Many thanks.
Reply
#2

If I correctly understood, you are trying to test the temp / hum sensors on a breadboard, not in the TX board.
Are you sure you have connected the sensors to the right pins on the Arduino?
Have you installed the pullup R7 resistor?

Can you please copy and past here your user config options. The long string that you are getting can also be useful, past it too, please.

Reply
#3

(01-04-2015, 01:29)Werk_AG Wrote:  If I correctly understood, you are trying to test the temp / hum sensors on a breadboard, not in the TX board.
Are you sure you have connected the sensors to the right pins on the Arduino?
Have you installed the pullup R7 resistor?

Can you please copy and past here your user config options. The long string that you are getting can also be useful, past it too, please.

I have checked my connections on the breadboard and can confirm the following

1. 10k pullup resistor is connected to VCC and Data of the DHT22 sensor
2. Data (pin2) output is connected to D9 input of the Arduino
3. Confirmed power of 4.7v being supplied via computer/usb connection and this is applied to sensor +ve pin1 -ve pin4 from the 5v output and gnd pins on the Arduino board

Requested files are attached. I assumed config options you were after were the modifications made to the TX file prior to compile and load, ie Local_Test etc..
.txt weatherDuino_TX.txt Size: 7,78 KB  Downloads: 249

.txt weatherDuino_TX_output.txt Size: 4,21 KB  Downloads: 273
Reply
#4

(01-04-2015, 05:33)dormani Wrote:  I have checked my connections on the breadboard and can confirm the following

1. 10k pullup resistor is connected to VCC and Data of the DHT22 sensor
2. Data (pin2) output is connected to D9 input of the Arduino
3. Confirmed power of 4.7v being supplied via computer/usb connection and this is applied to sensor +ve pin1 -ve pin4 from the 5v output and gnd pins on the Arduino board

Requested files are attached. I assumed config options you were after were the modifications made to the TX file prior to compile and load, ie Local_Test etc..

Hi,

The data pin from DHT22 (or SHT10) goes to Arduino Pin 6 and not Pin 9.
The pin9 is the clock pin, and is only used by the SHT10

Quote:3. Confirmed power of 4.7v being supplied via computer/usb connection and this is applied to sensor +ve pin1 -ve pin4 from the 5v output and gnd pins on the Arduino board

I can't understand what you mean with this! Where on the TX board is +ve or -ve?

If you are just testing if your sensors are working in a breadboard, why not use some test code, widely available on the internet?
Usually, testing the system partially, leads to some errors or problems that are not problems.

Reply
#5

I agree, if you want to test sensors individually, don't try to use a full "product" like the WeatherDuino Pro 2 software is, you will only get more confused and chase too many false errors. Use your own test harness or wait for everything to arrive so you can have a full and complete test that has actionable results for you or others
Reply
#6

(02-04-2015, 01:07)Brett Wrote:  I agree, if you want to test sensors individually, don't try to use a full "product" like the WeatherDuino Pro 2 software is, you will only get more confused and chase too many false errors. Use your own test harness or wait for everything to arrive so you can have a full and complete test that has actionable results for you or others
Now tend to agree with holding off. Thanks.
Reply




Users browsing this thread: 1 Guest(s)