IR Temperature Sensor Module for Arduino

Our range of tiny modules are designed to make it easy for you to quickly add functionality to your projects. [Module List]
Redrockrover
Posts: 1
Joined: Tue Oct 09, 2012 1:11 am

IR Temperature Sensor Module for Arduino

Post by Redrockrover » Tue Oct 09, 2012 1:41 am

Hi Everyone,
Can someone tell me the max distance this sensor will read from, also the accuracy of measurement is a little hard to follow - ie +/- (%) maybe some eg's of temp and resolution would help.
Appreciate any and all comments.
Great Forum -Go Arduino

Thanks

Haywire
Posts: 7
Joined: Thu Feb 19, 2015 5:57 am

Re: IR Temperature Sensor Module for Arduino

Post by Haywire » Wed Mar 25, 2015 2:40 am

I have just tested my IRTemp project and pointing it at the ceiling, it still reports reasoably accurate temperature (+-~2% error) at 2.5 meters.
The greatest "limitation" of the sensor is the 1:1 cone.

Meaning at 2 meters range, you will measure a 2 meter diameter circle, this is quite large an area, and unless your target is something like a boiler wall, at that range this sensor is impractical.

Johnande
Posts: 7
Joined: Tue Apr 07, 2015 11:43 pm

Re: IR Temperature Sensor Module for Arduino

Post by Johnande » Wed Apr 08, 2015 12:24 am

I am hoping to use this sensor at a very close range, like 5mm.
Is there any limitations on that? or anything I should be aware of?

Also the connections don't seem to be very clear!
The info sheet says:-
Data to D2
Clock to D3
Acquire to D4

As the Data output is from the sensor I would have thought it would have to go to D0 which is Rx In
on the "Eleven" board.
How does this affect the numbering of the other pins?

HELP! please

angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: IR Temperature Sensor Module for Arduino

Post by angusgr » Wed Apr 08, 2015 12:28 am

Hi Johnande,

The RX pin on the Eleven is "serial RX", and is normally connected to the USB/Serial converter chip on the board as well.

However the IRTemp doesn't use the same asynchronous serial communication as "serial" on the RX/TX pins. It has its own digital protocol which we receive using one of the other digital pins (by default D2), configured as an input. Thankfully you don't need to learn the protocol, the IRTemp Arduino library we provide does it for you!

Regarding very close range I think it should be fine but you may need to experiment a bit.


Angus

Johnande
Posts: 7
Joined: Tue Apr 07, 2015 11:43 pm

Re: IR Temperature Sensor Module for Arduino

Post by Johnande » Wed Apr 08, 2015 12:41 am

Thanks for that Angus. I will now give it Go.
Not being sure no attempt has been made to connect it yet.

John

Johnande
Posts: 7
Joined: Tue Apr 07, 2015 11:43 pm

Re: IR Temperature Sensor Module for Arduino

Post by Johnande » Wed Apr 08, 2015 7:21 am

Hi Angus, well after hours of trying I eventually got it working.
To get this result I had to download the latest Arduino 1.6.3. I was using 1.6.1.
Then the IRTemp files which took ages to even load as the installation instructions
which seemed clear but the zip files didn't play the game and loaded into Libraries- Libraries-library folder.
Then usb port kept dropping out on overload once the Arduino board with IRTemp sensor was connected.
Had to supply a separated 12v supply to the board.
Eventually worked well. Very responsive & accurate when compared with other temperature measuring devices.
After about an hour of good results the serial monitor stopped reading.
Now no matter what I do I cannot even reload the program.
With the Arduino disconnected from the PC and separate supply still connected, the Arduino is still running
as it should judging from the Tx LED pulsing as it reads the Sensor board.
But I cannot read the temperature now!!
My existing PC that worked ok is running XP. Requiring this temperature sensor to be portable,
I gave up on that and tried to install Arduino on my laptop running Windows 7. So far there seems to be NO hope
of getting that to work. I've tried the trouble shooting site to no avail.
Desperate and exhausted.
John

Johnande
Posts: 7
Joined: Tue Apr 07, 2015 11:43 pm

Re: IR Temperature Sensor Module for Arduino

Post by Johnande » Wed Apr 08, 2015 7:34 am

Angus, These are the errors I get when trying to upload the IRTemp program now.
John


Sketch uses 5,196 bytes (16%) of program storage space. Maximum is 32,256 bytes.
Global variables use 265 bytes (12%) of dynamic memory, leaving 1,783 bytes for local variables. Maximum is 2,048 bytes.
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x60
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x60

angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: IR Temperature Sensor Module for Arduino

Post by angusgr » Wed Apr 08, 2015 9:48 pm

Hi John,

Glad you got it initially working, sorry to hear it was such a saga.

EDIT: I had some suggestions about troubleshooting but I saw in another thread that you got it working, Windows had changed the COM port number for some reason. Glad it's fixed!

Angus

Johnande
Posts: 7
Joined: Tue Apr 07, 2015 11:43 pm

Re: IR Temperature Sensor Module for Arduino

Post by Johnande » Fri Apr 10, 2015 5:24 am

But wait!! There is More!! Which ever port I can get it working on, after 30 or 40 minutes or so
it changes it back to the previous one.

angusgr
Freetronics Staff
Freetronics Staff
Posts: 853
Joined: Tue Apr 09, 2013 11:19 pm
Location: Melbourne, Australia
Contact:

Re: IR Temperature Sensor Module for Arduino

Post by angusgr » Mon Apr 13, 2015 12:35 am

Hi John,

That's very frustrating. I'm not sure that we can help with that, it must be something with your Windows system and the way it's assigning COM ports. One thing you could try is changing the USB port the Eleven is plugged into, in case the computer is doing something unusual with that port. If the Eleven is plugged into a hub, try connecting it directly to the computer.


Angus

Post Reply