DS18B20 & IR Sensor questions(not using both together, just general Q about 'em)

Before I purchase the DS18B20 (from here), will I need anything else to use it with my Arduino Uno?

Also, I just purchased an IR Emitter and Detector. I have looked around, but can't seem to find a simple way to: Use the detector to detect a TV remote button being pressed, when aiming it at the detector, then light an LED on my breadboard. ...I keep seeing ways to detect my hand being close to it, but not a remote being used while pointed at it.

Thanks for any help - I didn't want to ask two separate relatively simple (I think!) questions in the forum, but let me know if I should have!

Two different topics is better. Some know about the DS18B20, while others know about RC IR.

The DS18B20 needs a pullup resistor of 4k7 in the data line.

Do you have the IR detector with about the same wave lenght as remote controls ?
I read that IR detector is 620-980nm and you must take into account that it will also detect light from around.
A remote control uses a base frequency of 36 to 56kHz. The receiver for a remote control uses that base frequency to eleminate the light from around.

Thanks for your reply. So, the IR sensor will detect a remote (assuming I have one in the 620-980nm range) being pushed...but also will detect light from around, ie my hand moving closer?

Regarding the DS18B20...what do you mean (I am pretty new to all this terminology) - is that something else I need to buy or is it more like adding a resistor in the path?

Edit: I found this site, and it looks like I need a SensorShield?

I don't know about your hand, I assume it reflects IR waves, but perhaps you introduce mains noise of 50/60Hz.

For the DS18B20, it is only adding a resistor between the data signal and the 5V. The resistor can be 4k7 or 10k or something like that.

You don't need a SensorShield. You can put wires into the connectors of the Arduino Uno. Perhaps you can buy jumpers wires and a breadboard. A SensorShield could be useful in a classroom, but I happen to dislike such SensorShields.

That site is very useful.
Also Adafruit has a learning section (it's the best): https://learn.adafruit.com/
And Collin Cunningham has a number of outstanding video's : Collin's Lab: Breadboards & Perfboards #Adafruit - YouTube

Piethon:
Regarding the DS18B20...what do you mean (I am pretty new to all this terminology) - is that something else I need to buy or is it more like adding a resistor in the path?

Edit: I found this site, and it looks like I need a SensorShield?

Ignore the site, and that, or any other, sensor shield is a bad idea unless you are certain that what you want to plug into it will plug into it, an event I have never known to happen. You are better off starting with a $0.50 breadboard, it will be one of your better investments. Ultimately, you might make your own sensor shields, thereby by getting exactly what you want.

The DS18B20 looks a good deal at that price.

Thanks for both of y'all's replies! I have a breadboard (I bought the Arduino starter kit and have worked up to project 11 (the LCD screen one)). I will check out that video, and likely will be watching all of them, so thanks for the link!

For the DS18B20, it is only adding a resistor between the data signal and the 5V. The resistor can be 4k7 or 10k or something like that.

I have been reading about/using resistors of 100ohm, 220 ohm. ...what is 4k7 and 10k (is that 10 kilo ohms?) just a higher resistance?

Yes, 4.7k, 4k7, 4700 ohms is the standard pullup resistor for DS18B20.

Sorry, I'm so used to 4k7. It is 4.7 kilo ohms.
1M2 resistor = a resistor of 1.2 Mega ohms.
100k resistor = a resistor of 100 kilo ohms.

The same is used for capacitors:
20p = 20 pico Farad
1n5 = 1.5 nano Farad
4µ7 = 4.7 micro Farad (I hope the micro symbol shows in your browser)
10F = 10 Farad

Normally, you would use what is called an IR receiver ( 3 pins) to detect signals from TV remote controls.

However, it is also possible to use a photo transitor like the one you have. I suspect the range will be much less than an IR receiver.

most IR remote controls operate at 940nm.

AnalysIR:
Normally, you would use what is called an IR receiver ( 3 pins) to detect signals from TV remote controls.

However, it is also possible to use a photo transitor like the one you have. I suspect the range will be much less than an IR receiver.

most IR remote controls operate at 940nm.

Ah! I actually picked one of those up as well. I will look in to using that, thanks!