Introduction: Turn a Canon Camera Into a Plant Health Analyzer Using Public Lab's DIY Infragram

Picture of Turn a Canon Camera Into a Plant Health Analyzer Using Public Lab's DIY Infragram

The "Infragram" project is a near-infrared imaging platform developed by the Public Lab community.   In this Instructable, we'll show you how you can use a cheap filter (available through Public Lab's recent Kickstarter) in order to modify an inexpensive point & shoot camera, turning it into a device capable of capturing capture "NDVI" imagery -- the same technology that NASA and farmers currently use to assess plant health.

This how-to focuses on a camera that is particularly easy to source and modify: the Canon A495 (the instructions will be identical for the A490).  You can buy a used version of this camera for around $50 or less on Amazon or Ebay.  

The main steps we'll need to accomplish are: a) remove the near-infrared blocking filter from in front of the camera's sensor, and b) add on a cheap "red-blocking" filter. 

Tools:

- A Canon A495 or A490
- A small phillips-head screwdriver
- A small strip of tape (most any type will do)
- A piece of Rosco #2007 filter paper (available from Public Lab right now via their Kickstarter, for $10)

Note:  if you'd rather not modify your own camera, Public Lab is also going to be producing a pre-assembled "point and shoot" camera -- you can sign up to get one by supporting their Kickstarter

Also note: this material is also explained very nicely in a Public Lab how-to video -- it'll be very useful to watch that video once before starting, and to use it as an accompanying guide for this Instructable. 

Warnings before you begin:

#1: There is a capacitor located deep inside the case of the camera.  Don't stick the screwdriver in random crevices of the camera -- you could receive a bad shock!

#2: It is very possible to ruin your camera's functionality by making a small mistake.  Don't do this with a camera that you'd really miss if something goes wrong ...

Okay, if you're ready  to modify your own Canon A495/0, let's begin!

Step 1: Remove the Batteries

Picture of Remove the Batteries

First, you'll need to remove the batteries from the camera.

(But keep them handy -- you'll be using them again later.)

Step 2: Remove the External Screws Holding the Case Together

Picture of Remove the External Screws Holding the Case Together

There are five screws on the outside of the case.
Using the phillips-head screwdriver, remove each one, setting them aside for safekeeping -- you'll need them again later when re-assembling the case.

Note: two of the screws are located under the rubber flap that protects the USB port; and another screw is located inside the battery compartment.

If you can't find all 5 on your own, hopefully the photos I'm including here will help you locate them.

Tip: use a piece of tape to hold the screws nicely in place on the table you're using -- you can place the screws on the tape in the order in which you removed them (and even label them), so that you won't forget which screw goes where.

All of the screws on the outside of the case are interchangeable, but they are different from the screw we'll be removing next -- so set them apart and remember that they're 'external' screws.

Step 3: Gently Pull Apart the Camera Case

Picture of Gently Pull Apart the Camera Case

Next, you'll need to pull apart the external camera case.  We've found that it's particularly convenient to use your fingernails right next to the external speaker location.

Pull the case apart gently.  

You'll end up with three pieces: 
- the "back" of the camera, with a window that covered the LCD
- the "front" of the camera, which contains all of the electronics
- the battery compartment cover, which will just simply come off as you pull the case apart.

Step 4: Remove the Screws Holding the LCD in Place

Picture of Remove the Screws Holding the LCD in Place

You'll need to remove three screws.

These are a different size than the "external" screws you removed on the outside of the case, so make sure to keep them separate and secure for re-assembly later.

Step 5: Gently Unplug the Button Pad Ribbon Cable

Picture of Gently Unplug the Button Pad Ribbon Cable

The blue material in this picture contains the buttons you use to interact with the camera.  It is connected to the main circuit board of the camera via two "ribbon cables" -- little tabs that contain lots of fine wires.  In order to be able to reach the camera's sensor, we need to disconnect one of these ribbon cable tabs -- the one on the "bottom right" of the camera (shown).  

The best way to accomplish this is by sliding the shaft of a thin screwdriver right underneath the ribbon cable tab, between the tab and the rest of the camera.  You can then use the screwdriver to pull the ribbon cable out of its "socket".

Be gentle!

Step 6: Flip Up the Button Pad, and Flip Over the LCD Display

Picture of Flip Up the Button Pad, and Flip Over the LCD Display

Now we want to be able to get the LCD display out of our way (the sensor is underneath it).

First you'll need to flip up the blue button pad.  Now that you've unplugged one of its ribbon cables (in the previous step), the other ribbon cable will act as a "hinge", allowing it to be flipped up out of the way.  

Now that you're holding the button pad out of the way, you can also flip the LCD display over.  You'll need to "undo" a little metal latch on one side of the LCD display (use the tip of a screwdriver to press the latch inwards, releasing the mechanism).  

Again -- be gentle!


Step 7: Remove Screws Around the Sensor Assembly

Picture of Remove Screws Around the Sensor Assembly

Now you can see the circuit board of the camera, as well as what I'll call the "sensor assembly".  There are three screws on the sensor assembly that you'll need to remove.

Unfortunately, sometimes there is a little glue applied to these screws by the manufacturer to keep them in place.  You may need to scrape the glue off -- but be very careful not to leave glue bits inside the camera!

If you're keeping track of the screws you've removed (e.g. by placing them on a strip of tape, as suggested earlier), you'll now have three sets of screws: a set for the exterior, a set for the LCD (which I'm labeling "interior" in my photo), and a set that was around the sensor.

Step 8: Remove the Near-IR Blocking Filter

Picture of Remove the Near-IR Blocking Filter

This is the trickest part -- it's very easy to damage the sensor in this step, so be very careful!  Also, try very hard not to allow any dust or other materials to fall on the sensor during this step.

Using your screwdriver, flip up the sensor cover assembly, as shown.  

You'll reveal the sensor, surrounded by a rubber gasket.  

Lifting up the rubber gasket a bit (but trying not to remove it), turn the camera on its side and shake out the infrared block filter.  It is a small, rectangular piece that looks like blue-tinted glass.  

Keep the filter in case you find another project for which it might come in handy!

As soon as the filter pops out, allow the sensor cover assembly to fall back into place, protecting the sensor.

Step 9: Re-settle the Sensor Cover in Place, and Replace the Screws.

Picture of Re-settle the Sensor Cover in Place, and Replace the Screws.

It might take some jiggling to get the cover back in place; just be patient, and allow it to settle nicely back into its original location.

Then replace the screws you'd removed earlier.

Careful not to drop the screws inside the camera case!

Step 10: Replace the LCD Assembly and Button Pad; Plug in the Button Pad Ribbon Cable

Picture of Replace the LCD Assembly and Button Pad; Plug in the Button Pad Ribbon Cable

If everything went well, now we can begin the process of re-assembling the camera. 

Flip the LCD assembly back over, and then replace the button pad atop it (there's a little metal tab to fix the button pad in place -- make sure you fit the button pad over that).

It's a bit tricky to get the button pad ribbon cable re-inserted in its socket -- be very careful not to 'crease' the ribbon cable while doing so, as you may break the tiny wires in the cable.  With some gentle wiggling and pressing, it should eventually go in (and needs to go in rather 'solidly' in order to make a connection).  

Step 11: Test to See Whether the Camera Works (before Replacing the External Case)

Picture of Test to See Whether the Camera Works (before Replacing the External Case)

Now is a good time to test to see whether the camera still works -- if it doesn't, it'll be easier to just go back a couple of steps and make sure that e.g. that you plugged in the ribbon cable well enough (I myself hadn't, and was able to fix that relatively easily). 

Turn on the camera.  The lens should extend, and the LCD should light up.  Test the focus.  Hopefully everything works!  If not, retrace your steps a bit; making sure that everything is in order.  

Step 12: Replace the LCD Housing Screws, Replace the Battery Door, Fit the Case Back Together, and Replace the Case Screws

Picture of Replace the LCD Housing Screws, Replace the Battery Door, Fit the Case Back Together, and Replace the Case Screws

Basically, you're now ready to finish re-assembling the camera, following the earliest steps of this Instructable in reverse order.  

1. Replace all of the LCD housing screws (the ones I labeled "interior" on my screw-tape collection)
2. Re-connect the battery door
3. Fit the case back together.  You'll need to be gentle when doing this, and make sure that all of the little plastic and metal tabs around the edges of the case fit together nicely.  It'll require a bit of wiggling -- just be patient.
4. Replace the "external" screws that hold the case together.

Step 13: Add Public Lab's "infrablue" Filter Paper in Front of the Camera Lens

Picture of Add Public Lab's "infrablue" Filter Paper in Front of the Camera Lens

Now, you've finished turning your Canon into a "near-infrared imaging device"!  The "red" channel on the camera's sensor is now taking in both "red" and "near infrared" light.

The final step is to add an "infrablue" filter that blocks incoming visible red light -- this way, the "red" channel on the cameras sensor will only register near-infrared light, allowing us to compare the amount of infrared light the camera sensor sees with the amount of blue light it sees (this is what's needed to generate NDVI plant health imagery).

A useful filter to use (which might also be the final filter included in Public Lab's kit) is a "Rosco #2007" filter, which nicely blocks incoming red light.

Cut a small square of the filter material, just big enough to cover the camera's lens, and secure it with small pieces of tape. 

Step 14: Take Lots of "infragram" Pics, and Upload Them to Infrapix.pvos.org to Develop Them!

Picture of Take Lots of "infragram" Pics, and Upload Them to Infrapix.pvos.org to Develop Them!

Now you can start to use your new "plant health tool" to take pictures of plants!

Public Lab is developing an online "infragram photo developing platform", currently located at http://infrapix.pvos.org (the location may change -- check the Public Lab's infragram material on their website for the latest location).  

Please do start to capture images with your new near-infrared camera, develop them,  ask questions, and give feedback and contribute to development via the Public Lab Google Group. 

Enjoy!

Comments

philslizzy made it! (author)2016-01-24

A great instructable, very simple. I have destroyed many cameras trying to do this. The Canon A495 is a simple one to convert. Luckily I was able to pick one up at a pawn shop for 10GBP. I bought an Infra red filter from ebay (search this item number: 172064118674) for 3GBP. I was hoping to replace the original filter with it but its as thick as a door step; so I cut a piece off and permanently attached it to the front of my camera lens. The rest of the filter could be attached to a flashlight or torch. The combination could act as a night vision camera.

A note about the hard glue holding the sensor: It's important to remove as much as you can very carefully. I chipped it away with a micro screw driver and a toffee hammer. My first attempt resulted in out of focus images. This was due to the glue stopping the sensor assembly from seating properly.

This instructable ought to work with UV too as the removed filter also blocks UV. You just need to get a similar filter that lets only UV through. The results are amazing.

CESARINI, to test if your camera has an IR filter, simply point a TV remote at the camera, if you see the LED flashing your camera has no IR filter. I suspect, however, that the filter in your camera may be cemented on to the sensor or its mounting. Cameras made after in the last 10 or 12 years all have one.

A pic of my conversion. I cut a small square of the filter and glued it to the front of the lens mount. I have used epoxy putty to finish it off and a small circle of thin plastic sheet to smooth it. I intend to paint this black when the putty has set completely.

number: 172064118674

Cesarini (author)2015-09-17

Hi, do you know if there is any chance that a digital camera has no IR filter,? because I have a new DV150F from samsung, and it has nothing like a pinked glasses between the sensor and the lenses!!! This is true.

Do you or have you hear anything similar to this?

dad_a_monk (author)2013-07-01

This title is misleading or the author does not understand the science. You can't make a digital camera do what it's not designed to do. This is mearly a filter trick. It will only show near IR in a VERY short wavelength. With less than a micron you will only not get anything but pretty color patterens and no true spectrum to give you any information about plants. Some plants reflect IR some do not. You are not see much more than you can see with your own eyes with a pair of blue blocker glasses. This will not do much but perhaps help you pick out whats dead ONLY because of the color difference and not because of the filter giving the camera powers it's not capable of.

Like it was said in another comment, this is just another advertisment for a project to solicit donations for a project that does nothing near what it claims and hopes the public will be too uninformed to understand.

cczeets (author)dad_a_monk2013-09-30

This will pick up much more than you can "see with your own eyes with a pair of blue blocker glasses". This will create a NIR (Near-Infrared) camera. I have tested it with our baby monitor that has Infrared LED's. I converted the same camera with the same filter. Check out a video I made of the test (video is pink because I didn't White Balance the video): http://youtu.be/6xx0FcBT3Uw

jywarren (author)2013-07-02

@dad_a_monk - I'm sorry you're upset about this, but I think you misunderstand. If you read about the work done at Public Lab (which is not only a non-profit, but an open community of collaborators working to develop these open source tools), you'll see that we've been building these cameras for several years, and the science is quite well established:

http://publiclab.org/tag/ndvi (the development of the technique, with lots of working tests)
http://publiclab.org/tag/superblue (the filter switch technique)

NDVI, or Normalized Difference Vegetation Index, is typically calculated from near infrared in the 750-1000 nanometer range. You can read more about the science behind the technique here: http://publiclab.org/wiki/ndvi and especially here: http://publiclab.org/wiki/ndvi-plots-ir-kit

You are right that it is a "filter trick" -- but a really useful one which makes use of all CCD and CMOS cameras' ability to detect near infrared light.

Criticism is good! But please don't bash our work just because you don't understand it :-)

neffk (author)2013-07-01

I'm not seeing the plant-health part. It's a pain to find articles so mislabeled. This should be called something like "How to remove the IR filter on a Canon A490". Instead of being a useful instructable, this is a thinly veiled advertisement. Come on, people---SEO.

chuckmerja (author)2013-06-30

as both previous answers indicated, no, this won't do thermal imaging. most CMOS imagers are sensitive out to a wavelength of about 1 micron. Heat leaking from a house or emitted from a mammal is typically in the 8 -14 micron range and takes a much more sophisticated (expensive) sensor.

Millchard (author)2013-06-30

I've always used an ice-cube tray to hold screws in the order they were removed. You then just have to note which order you actually used. On really bad devices, like laptops, I've even resorted to having my video camera mounted on the shelf above the workbench looking down at what I'm doing.

zenderon (author)2013-06-30

*****CAUTION ****** MAKE SURE YOU LOCATE THE CAPACITOR THAT FIRE'S THE FLASH***** THIS SHOULD BE DISCHARGED FIRST***** IF YOU TOUCH THESE TERMINALS YOU WILL GET A VERY NASTY SHOCK ....NORMALLY ABOUT 300 VOLTS .......SO BE WARNED.....

RangerJ (author)2013-06-28

Neat project!
Will it show heat sources, e.g.: gaps in wall insulation, poor quality windows, etc?

DavidKaine (author)RangerJ2013-06-30

Unfortunately not, the camera's CCD is only sensitive to near-infrared. To view thermal sources, you need to be viewing far-infrared.

donwblair (author)DavidKaine2013-06-30

Hi Ranger J,

Great question; and DavidKaine is spot on with his comment -- this device won't allow you to do "thermal imaging". But it so happens that Public Lab has also been working on a "thermal flashlight device" intended to do the sort of thing you mentioned -- e.g. check for heat leaks in a room:

http://publiclaboratory.org/tool/thermal-photography

The design relies on the same sort of sensor that is used in "non-contact thermometers", along with some other inexpensive electronics; it's set up so that a red LED lights up when the temperature is above a user-set threshold, and a blue LED lightsup when the temp is below the threshold; the user then waves the device over objects in a room while taking a long exposure image of the process, building up a "thermal light painting" that can reveal e.g. poor insulation and leaky windows in the way you suggested ... check it out!

kentcampbell (author)2013-06-30

Couldn't you just replace the IR filter with the "infrablue" filter internally?

armstk180 (author)2013-06-28

Very very awesome job
Good job !
is it possible to do this with Sony camera too?

motoguy50 (author)2013-06-27

What a great way to make
a very handy tool for use in the field. Saves big $$$!
over buying a real one.

cheddarevan (author)2013-06-27

Can you put the new filter inside the camera where the old one is?

donwblair (author)cheddarevan2013-06-27

Hi!

Great question! I think it's probably too risky to do that, because the filter would need to be right up against the sensor, and it's too easy to scratch / place dust on the sensor. Another reason to keep the filter external is the possibility for changing filters (in case you find another interesting filter to try).

That said, maybe there's a nicer way to attach the filter to the outside -- if you come up with a way (or any other modification), please do feel free to email the DIY camera modding folks at https://groups.google.com/forum/#!forum/publiclaboratory !

Cheers,
Don

monterreymachito (author)2013-06-27

thank you for the clear camera disassembly instructions

audreyobscura (author)2013-06-27

What a cool project! thank you so much for sharing!

About This Instructable

89,900views

226favorites

License:

More by donwblair:Turn a Canon camera into a Plant Health Analyzer using Public Lab's DIY Infragram
Add instructable to: