I'm having trouble getting all the sensors working together. When I only have my GPS sensor wired (same way as in the schematic but by itself), the sensor works. Same with pulse sensor and temperature sensor. But when I wire them together, it no longer works.
I specifically tried just the GPS sensor and temperature sensor, and the GPS is able to output values but the temperature sensor outputs "nan". How can I fix this and what's the issue?
It looks like the DHT11’s library (which disables interrupts during its timing-critical read) is colliding with the SoftwareSerial you’re using for the GPS, and the DHT11 data line also needs a pull-up. When both are wired, the DHT read fails and returns NaN.
It seems to show the data pin from the DHT11, the RXD pin from the GPS and the signal pin from the pulse sensor connected together and to 2 Arduino pins. This will not work. Each must be connected to a separate Arduino pin.
Some types of sensors can share pins because they use a "bus" system like i2c, but not the ones you have.
This is my schematic, and each of my sensors (pulse, DHT11, and gps) work individually but none of them can work together. I keep getting a nan value on the DHT11 when I try to use it with the other two. Please help me understand why.
In your fritzing drawing, your VCC is connected to the Arduino Vin pin, which is wrong. That pin would require at least 7V to work properly. 5V incoming from the computer USB should be connected to the +5V and GND pins. OR, should we assume that we´re talking about the most common situation where you're feeding the UNO directly through the USB cable?
Your DHT11 is a module or the bare sensor? The bare sensor requires a pullup resistor on the data line.
Is that what you meant to say? Or did you mean all of them do not work together?
If so, have you tried the DHT11 with the pulse sensor but without the GPS sensor? Or the GPS sensor and the pulse sensor without the dht11? Or the GPS and DHT11 without the pulse sensor?
If some of those combinations work ok, but others do not, that will help us to understand what the problem can be.