Now to connect the two sensors, do I just need to put the Black and Red Dupont Wires from the sensors anywhere in the - and + columns on the breadboard and connect back to the Arduino for the output in 6 and 7?
I have noticed that doing this seems to work for the most part (there is power) for the sensor, but I just want to make sure I am doing this right. Thanks!
I found that the output for the second sensor fluctuates when using pinMode with INPUT (i.e., sometimes digitalRead returns LOW and other times it returns HIGH), and based on some research, it seems like I should use a pull-down resistor to help tame this behavior.
Any idea how to add a pull-down resistor in this scenario?
I cannot answer that as I do not know what the sensor is. I also need technical information on the sensor to see what the output is. If it is what I think it is use your pull-down resistor and it will quite working. I highly recommend you get a copy of the Arduino Cookbook and skim it cover to cover, then read the parts that are pertinent to your problem. At that point you will not know what your problem is but you will also understand why you are having problems.