This shows you the differences between two versions of the page.
Next revision | Previous revision Last revision Both sides next revision | ||
wiki:v2:can_i_replace_the_lens_on_pixy [2018/04/09 21:52] jfrench - Imported by DokuWiki Advanced Plugin |
wiki:v2:can_i_replace_the_lens_on_pixy [2021/05/19 21:31] pixycam [Can I replace the lens on Pixy2?] |
||
---|---|---|---|
Line 3: | Line 3: | ||
- | ====== Can I replace the lens on Pixy? ====== | + | ====== Can I replace the lens on Pixy2? ====== |
- | You can! Pixy ships with a 75-degree field of view lens (2.8mm focal length, F2.0 aperture), which is great for robotics applications, but your application may need something different, perhaps something that can see distant objects better (longer focal length) or see more objects (wider field of view and shorter focal length). Or a lens without an IR-cut filter, so that Pixy can sense infrared. | + | It depends on which version of Pixy2 you have. Pixy 2.1 has a replaceable M12 lens, but Pixy 2.0 does not. |
- | + | ||
- | Pixy uses a standard M12 lens. These are available through several vendors. Here's an [[http://www.m12lenses.com/Board-Lenses-s/12.htm|example]] (There are others.) You need to choose a lens that is designed for a 1/4" sensor or larger (Pixy uses a 1/4" sensor). | + | |
- | + | ||
- | **Important**: when choosing a new lens, it should have an "IR cut" filter or the images that Pixy processes will have poor color response. | + | |
- | + | ||
- | If you think you've found a good alternate lens for Pixy, tell us! | + | |
+ | You can use practically any M12 lens with Pixy 2.1 as long as it has an IR-cut filter. (The IR-cut filter is something all CMOS sensors need to eliminate most of the ambient IR light, which can adversely affect the color fidelity.) Pixy 2.1 ships with a 1.7mm focal lengh F2.0 lens, which gives it an 80-degree horizontal field of view. | ||
+ | Pixy 2.0 has a slightly smaller field of view - 60 degrees horizontal. | ||
+ | [{{wiki:v2:pixy2_angle-white-225px.jpg|Pixy2}}] | ||
+ | [{{wiki:v2:pixy2_3_result_result.jpg|Pixy2.1}}] | ||
+ | Engineering is all about managing a series of tradeoffs! | ||