DIY-Thermocam V2: A do-it-yourself thermal imager

Anyone can share the wire connection of the servo?

I have two 9g a0090
wire black- connected to gnd
wire red- connected to 5v
wire white- connected to d9 or d8

about melexis
i have
gnd-to gnd
3.3v-to red 3.3v
scl-line to 3.3v between a resistor of 4.7ohm then the wire and another wire to a5
sda-line to 3.3v between a resistor of 4.7ohm then the wire and another wire to a4

anyone can share the schematic with images? it's possible to create a manual of how to build the thermocam?

Thanks a lot.

Jose

Here is my circuit.

You can open with Fritzing software.
Thanks for the help.

Happy new year 2013.

Regards

Jose

healthyfatboy:
jay_ar

Here are the default values I have for my BCI.

----------Let's begin!----------
*1: Read filter settings:
Filter settings: 40821.00
*2: Read maximum temp settings:
Maximum temp: 39315.00
*3: Read minimum temp settings:
Minimum temp: 25315.00
Done ! Save those values to restore them if necessary.

Thank you! Now I can confirm those numbers are rather standard for these sensors. Now the only doubt remaining is where/how are the calibration values stored. I'm curious about positions 0x03 and 0x09 (Ta Range and "Melexis reserved")

If anyone is curious about these values, I had started a new thread about this:

Thanks!

Hi !

I just discovered the project : great idea, great thinkering !
I'm going to try it at home :slight_smile: ... and it's going to be very usefull !

One question : I saw some discussion about stacking pictures. If I understood well instead of getting one image in 3 minutes, you can leave it for much longer and get more measurement points and in the end have a higher resolution picture.
Am I correct ?
Did anyone looked into this ?

EDIT: I finally managed to take some time and assemble the project. I did exactly as per www.cheap-thermocam.tk instructions (only I added a 100uF between the GND and the 3.3V). It worked great.

I'm moving on to other projects and thought I would see if anyone was interested in purchasing the sensor. It's the BCI version and all the EEPROM values have been written to it and it's working nicely. I can leave the laser pointer that's hot glued next to it on as well as they are fairly well aligned. I was thinking $40 shipped in the CONUS if anyone wanted it. Send me a message if you are.

@Healthyfatboy
[no direct interest but]
Which country are you as shipping costs might vary considerably?

Sorry, I'm in the US. International shipping might not be too much but it would have to be first class mail in a small padded envelope for those interested. I would make sure to bubble wrap it as well.
I would still prefer shipping in the US but I would consider outside too if there was no interest here.

Sensor has been sold. Thanks for the interest!

I didn't see the webcam usb cables in the schematic. Does the webcam plug straight into the pc?

myth2sbr:
I didn't see the webcam usb cables in the schematic. Does the webcam plug straight into the pc?

yes just plug on the computer.

I've been reading all your posts and all the forums and websites. I love this idea.. and i need something like this for a project im running. I'm currently running a system with hot water in planks, under hydroponic plants to see what response i get from the plant. I am looking for a thermal camera to take a couple pictures to see how much heat im radiating off. I was wondering if anyone has one for sale in USA or canada? for a fairly cheap price. I'm a student dont got much money but very interested in plant productions and hydroponics. and no i'm not trying to grow marijuana !! we are growing red peppers.

PM me!
THanks guys! awesome work too!!

If anyone can help me I would greatly appreciate it, I am having trouble getting the Java application to open. When I run the cmd prompt it returns the following

java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Kenny\Desktop\JAVA\lib\win32-x86\rxtxSerial.dll: The specified procedure could not be found thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Kenny\Desktop\JAVA\lib\win32-86\rxtxSerial.dll: The specified procedure could not be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:123)
at com.centralnexus.thermal.StartMenu.findCOMPorts(StartMenu.java:280)
at com.centralnexus.thermal.StartMenu.(StartMenu.java:124)
at com.centralnexus.thermal.StartMenu.main(StartMenu.java:467)

Any help would be greatly appreciated!!!! Thanks!

Hello,
Great project .
Can I get the source code of the arduino. i would like to make some experiments, and learn how the program works.

Avinoam

Hello

what is the usage of laser in the thermal camera.

avinoamd:
Hello,
Great project .
Can I get the source code of the arduino. i would like to make some experiments, and learn how the program works.

Avinoam

The source code is available for download at the website www.cheap-thermocam.tk

dvernor:
If anyone can help me I would greatly appreciate it, I am having trouble getting the Java application to open. When I run the cmd prompt it returns the following

java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Kenny\Desktop\JAVA\lib\win32-x86\rxtxSerial.dll: The specified procedure could not be found thrown while loading gnu.io.RXTXCommDriver
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Documents and Settings\Kenny\Desktop\JAVA\lib\win32-86\rxtxSerial.dll: The specified procedure could not be found
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(Unknown Source)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at gnu.io.CommPortIdentifier.(CommPortIdentifier.java:123)
at com.centralnexus.thermal.StartMenu.findCOMPorts(StartMenu.java:280)
at com.centralnexus.thermal.StartMenu.(StartMenu.java:124)
at com.centralnexus.thermal.StartMenu.main(StartMenu.java:467)

Any help would be greatly appreciated!!!! Thanks!

Not quite sure about this... What OS are you using ? Have you installed the 32-bit version of java and uninstalled any 64 bit version ?

avinoamd:
Hello

what is the usage of laser in the thermal camera.

The laser is needed to match the sensors position with the optical image and to show you the current area measured

Great project!! Just finished building mine for a school project (research lab wouldn't loan me the FLIR camera). Max I noticed you removed the pull-up resistor note on your website - don't know if this was on purpose, but I connected the sensor directly to A4 & A5 and it's working without a problem.

I used the EEPROM update, it too worked without any problems. The surface temperatures I am getting seem accurate. This sketch is also a good way to be sure that you have the sensor connected properly - If it doesn't read the inital values, check your connections. Just unplug the 'duino before uploading the new values if you don't want them.

In reference to dvernor's question, I was having some trouble with the Java software too. I could get it to calibrate but when I started the scan, the program would hang. Uninstalling 64-bit Java and using 32-bit fixed it; working great now.

Other troubleshooting item - when I started the Java program for the first time, to calibrate, the arrow buttons didn't respond - I found that it was just out of range, if you press a button in the same direction for long enough the servos eventually respond...

Thank you for sharing all of your hard work on this!

slytown:
Great project!! Just finished building mine for a school project (research lab wouldn't loan me the FLIR camera). Max I noticed you removed the pull-up resistor note on your website - don't know if this was on purpose, but I connected the sensor directly to A4 & A5 and it's working without a problem.

I used the EEPROM update, it too worked without any problems. The surface temperatures I am getting seem accurate. This sketch is also a good way to be sure that you have the sensor connected properly - If it doesn't read the inital values, check your connections. Just unplug the 'duino before uploading the new values if you don't want them.

In reference to dvernor's question, I was having some trouble with the Java software too. I could get it to calibrate but when I started the scan, the program would hang. Uninstalling 64-bit Java and using 32-bit fixed it; working great now.

Other troubleshooting item - when I started the Java program for the first time, to calibrate, the arrow buttons didn't respond - I found that it was just out of range, if you press a button in the same direction for long enough the servos eventually respond...

Thank you for sharing all of your hard work on this!

Thanks for your feedback :slight_smile: Yes I removed the resistors in the schematic because I noticed they are not required to get the sensor to work. Unfortunately, the rxtx and civil lib do not work with 64 bit systems so a 32bit java is necessary at least.. The thing with servos is a bit confusing because the arduino sketch has standard values for the servos in it (in case you start the program first time) and those should be definitely in the servo's range. I hope this is a one time error and it works now for you :wink:

I have a question. Can I use a USB Port Webcam?

When i'm trying to run the software. it say's that "the arduino COM Port is not recognized." and my USB Port Webcam can be activated. But when i fixed the Arduino COM Port, my USB Port Webcam is not working. It says that "The Spectrum of your video camera is not recognized."

What should i do? i follow the schematic and the step-by-step procedure by building it.

Hi i have finally mount the cheap thermographic camera, but it's strange with the software i select quick thermal read.dosen't move, the clock dosen't goes down.
but with another code i found at internet.
the melexis seems to be working.

why it dosen't work with the thermal software?

Thanks

Jose

Setup...
Sweeping Viewing Space
Enter 1 to confirm space
Starting Calculation
Outputting Data
73.70, 23.16, 0, 0
73.72, 23.29, 1, 0
73.72, 23.29, 2, 0
73.72, 23.28, 3, 0
73.72, 23.19, 4, 0
73.68, 23.29, 5, 0
73.70, 23.29, 6, 0
73.72, 23.29, 7, 0
73.72, 23.19, 8, 0
73.68, 23.29, 9, 0
73.68, 23.28, 10, 0
73.72, 23.28, 11, 0
73.72, 23.16, 12, 0
73.72, 23.28, 13, 0
73.72, 23.29, 14, 0
73.72, 23.14, 15, 0

73.72, 23.28, 0, 1
73.68, 23.19, 1, 1
73.72, 23.19, 2, 1
73.72, 23.28, 3, 1
73.72, 23.29, 4, 1
73.68, 23.19, 5, 1
73.72, 23.19, 6, 1
73.72, 23.28, 7, 1
73.72, 23.28, 8, 1
73.72, 23.28, 9, 1
73.68, 23.19, 10, 1
73.68, 23.28, 11, 1
73.70, 23.28, 12, 1
73.72, 23.28, 13, 1
73.72, 23.19, 14, 1
73.68, 23.28, 15, 1

73.72, 23.12, 0, 2
73.70, 23.12, 1, 2
73.72, 23.00, 2, 2
73.70, 23.00, 3, 2
73.70, 23.09, 4, 2
73.70, 23.12, 5, 2
73.72, 23.12, 6, 2
73.68, 23.00, 7, 2
73.68, 23.12, 8, 2
73.72, 23.12, 9, 2
73.72, 23.12, 10, 2
73.72, 23.00, 11, 2
73.70, 23.12, 12, 2
73.72, 23.12, 13, 2
73.72, 23.12, 14, 2
73.72, 23.00, 15, 2

73.70, 22.93, 0, 3
73.72, 22.93, 1, 3
73.72, 22.93, 2, 3
73.72, 22.83, 3, 3
73.72, 22.95, 4, 3
73.68, 22.93, 5, 3
73.72, 22.93, 6, 3
73.70, 22.83, 7, 3
73.68, 22.93, 8, 3
73.68, 22.93, 9, 3
73.70, 22.93, 10, 3
73.68, 22.84, 11, 3
73.72, 22.93, 12, 3
73.72, 22.93, 13, 3
73.72, 22.93, 14, 3
73.72, 22.84, 15, 3

73.68, 22.76, 0, 4
73.68, 22.66, 1, 4
73.72, 22.76, 2, 4
73.72, 22.76, 3, 4
73.72, 22.72, 4, 4
73.68, 22.64, 5, 4
73.72, 22.64, 6, 4
73.72, 22.76, 7, 4
73.70, 22.76, 8, 4
73.70, 22.64, 9, 4
73.72, 22.64, 10, 4
73.68, 22.76, 11, 4
73.68, 22.72, 12, 4
73.68, 22.76, 13, 4
73.68, 22.64, 14, 4
73.72, 22.76, 15, 4

73.72, 22.47, 0, 5
73.72, 22.59, 1, 5
73.72, 22.57, 2, 5
73.68, 22.57, 3, 5
73.68, 22.47, 4, 5
73.68, 22.57, 5, 5
73.68, 22.57, 6, 5
73.68, 22.57, 7, 5
73.72, 22.47, 8, 5
73.68, 22.57, 9, 5
73.70, 22.57, 10, 5
73.72, 22.57, 11, 5
73.72, 22.48, 12, 5
73.72, 22.57, 13, 5
73.70, 22.57, 14, 5
73.70, 22.57, 15, 5

73.70, 22.29, 0, 6
73.68, 22.40, 1, 6
73.72, 22.40, 2, 6
73.68, 22.40, 3, 6
73.72, 22.29, 4, 6
73.68, 22.41, 5, 6
73.68, 22.40, 6, 6
73.70, 22.41, 7, 6
73.70, 22.29, 8, 6
73.72, 22.41, 9, 6
73.72, 22.41, 10, 6
73.70, 22.40, 11, 6
73.68, 22.29, 12, 6
73.70, 22.29, 13, 6
73.68, 22.40, 14, 6
73.70, 22.40, 15, 6

73.72, 22.22, 0, 7
73.70, 22.12, 1, 7
73.72, 22.22, 2, 7
73.68, 22.22, 3, 7
73.72, 22.22, 4, 7
73.68, 22.12, 5, 7
73.72, 22.22, 6, 7
73.70, 22.22, 7, 7
73.72, 22.22, 8, 7
73.72, 22.12, 9, 7
73.68, 22.22, 10, 7
73.70, 22.22, 11, 7
73.68, 22.22, 12, 7
73.68, 22.12, 13, 7
73.70, 22.14, 14, 7
73.68, 22.22, 15, 7

73.70, 22.05, 0, 8
73.72, 22.05, 1, 8
73.70, 22.05, 2, 8
73.68, 21.93, 3, 8
73.72, 22.05, 4, 8
73.68, 22.05, 5, 8
73.70, 22.03, 6, 8
73.68, 21.93, 7, 8
73.72, 22.05, 8, 8
73.70, 22.05, 9, 8
73.72, 22.03, 10, 8
73.72, 21.93, 11, 8
73.72, 22.05, 12, 8
73.70, 22.05, 13, 8
73.72, 22.05, 14, 8
73.72, 21.93, 15, 8

73.70, 21.86, 0, 9
73.68, 21.86, 1, 9
73.68, 21.76, 2, 9
73.68, 21.86, 3, 9
73.70, 21.86, 4, 9
73.68, 21.86, 5, 9
73.70, 21.86, 6, 9
73.68, 21.76, 7, 9
73.70, 21.86, 8, 9
73.68, 21.86, 9, 9
73.72, 21.86, 10, 9
73.70, 21.76, 11, 9
73.68, 21.86, 12, 9
73.72, 21.86, 13, 9
73.68, 21.86, 14, 9
73.70, 21.76, 15, 9

73.72, 21.69, 0, 10
73.68, 21.69, 1, 10
73.72, 21.60, 2, 10
73.68, 21.71, 3, 10
73.72, 21.69, 4, 10
73.72, 21.71, 5, 10
73.72, 21.57, 6, 10
73.68, 21.71, 7, 10
73.70, 21.69, 8, 10
73.68, 21.69, 9, 10
73.70, 21.60, 10, 10
73.72, 21.71, 11, 10
73.72, 21.69, 12, 10
73.72, 21.69, 13, 10
73.68, 21.57, 14, 10
73.70, 21.71, 15, 10

I wish to know how i must connect the servo

red wire 3.3v
black gnd
and white to digital d8 and d9

It's that ok?

Thanks