{"id":733,"date":"2017-06-26T17:51:07","date_gmt":"2017-06-26T09:51:07","guid":{"rendered":"https:\/\/www.techcoil.com\/blog\/?p=733"},"modified":"2018-09-05T00:34:12","modified_gmt":"2018-09-04T16:34:12","slug":"connect-raspberry-pi-camera-module-raspberry-pi-2-raspberry-pi-3","status":"publish","type":"post","link":"https:\/\/www.techcoil.com\/blog\/connect-raspberry-pi-camera-module-raspberry-pi-2-raspberry-pi-3\/","title":{"rendered":"How to connect the Raspberry Pi Camera Module to Raspberry Pi 2 or Raspberry Pi 3"},"content":{"rendered":"<p>Since the Raspberry Pi camera module connects to most of the recent Raspberry Pi boards via the camera serial interface (CSI), the Raspberry Pi camera module is an ideal peripheral for implementing Raspberry Pi based projects that require image capturing. <\/p>\n<p>This post documents how to connect a Raspberry Pi camera module to a Raspberry Pi 3. <\/p>\n<h2>Parts to be assembled together<\/h2>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspberry-pi-camera-module-flex-cable-and-raspberry-pi-3-board.jpg\" alt=\"Raspberry Pi Camera Module Flex Cable and Raspberry Pi 3 board\"\/><\/p>\n<p>The following is the list of parts that are used for the purpose of this post:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B00E1GGE40\/ref=as_li_tl?ie=UTF8&amp;tag=clivsperswebs-20&amp;camp=1789&amp;creative=9325&amp;linkCode=as2&amp;creativeASIN=B00E1GGE40&amp;linkId=b54e0f39d042a83abc6e5362bc6c4285\" target=\"_blank\" data-amzn-asin=\"B00E1GGE40\">Raspberry Pi Camera Module V1<\/a><\/li>\n<li><a href=\"http:\/\/www.amazon.com\/gp\/product\/B01CD5VC92?ie=UTF8&amp;camp=1789&amp;creativeASIN=B01CD5VC92&amp;linkCode=xm2&amp;tag=clivsperswebs-20\" title=\"Amazon page for Raspberry Pi 3 Model B Mother board\" target=\"_blank\" data-amzn-asin=\"B01CD5VC92\">Raspberry Pi 3 motherboard<\/a><\/li>\n<\/ul>\n<p>The instructions listed in this post are applicable to a <a href=\"https:\/\/www.amazon.com\/gp\/product\/B00T2U7R7I?ie=UTF8&tag=clivsperswebs-20&camp=1789&linkCode=xm2&creativeASIN=B00T2U7R7I\" target=\"_blank\">Raspberry Pi 2 board<\/a> with any of the following Raspberry Pi Cameras:<\/p>\n<ul>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B01ER2SKFS?ie=UTF8&tag=clivsperswebs-20&camp=1789&linkCode=xm2&creativeASIN=B01ER2SKFS\" target=\"_blank\">Raspberry Pi Camera Module V2 - 8 Megapixel,1080p<\/a><\/li>\n<li><a href=\"https:\/\/www.amazon.com\/gp\/product\/B01ER2SMHY?ie=UTF8&tag=clivsperswebs-20&camp=1789&linkCode=xm2&creativeASIN=B01ER2SMHY\" target=\"_blank\">Raspberry Pi NoIR Camera Module V2 - 8MP 1080P<\/a><\/li>\n<\/ul>\n<h2>Connecting the Flex cable to the Raspberry Pi Camera Module<\/h2>\n<p>To connect the Flex cable to the Raspberry Pi Camera Module, we first pull the black connector downwards:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-loosen-clip-on-raspberry-pi-camera-module-v1.jpg\" alt=\"Direction to loosen clip on Raspberry Pi Camera Module v1\"\/><\/p>\n<p>A loosened camera connector will look like the following:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspberry-pi-camera-module-v1-with-loosened-connector.jpg\" alt=\"Raspberry Pi Camera Module v1 with loosened connector\"\/><\/p>\n<p>With the cable connector loosened, we then insert the Flex cable and push up the camera connector to fasten the Flex cable to the camera module:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-fasten-connector-on-raspberry-pi-camera-module-v1-with-flex-cable.jpg\" alt=\"Direction to fasten connector on Raspberry Pi Camera Module v1 with Flex cable\"\/><\/p>\n<p>A fastened camera connector with Flex cable looks like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspberry-pi-camera-module-v1-with-flex-cable-and-fastened-connector.jpg\" alt=\"Raspberry Pi Camera Module v1 with Flex cable and fastened connector\"\/><\/p>\n<h2>Connecting the other end of the Flex cable to the CSI connector on the Raspberry Pi 3 board<\/h2>\n<p>Once we had connected the Flex cable to the Raspberry Pi Camera module, we can proceed to connect the other end of the Flex cable to the CSI connector on the Raspberry Pi 3 board.<\/p>\n<p>The following picture highlights the CSI connector on the Raspberry Pi 3 board which we need to connect the Flex cable to:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/the-csi-connector-on-the-raspberry-pi-3-board.jpg\" alt=\"The CSI connector on the Raspberry Pi 3 board\"\/><\/p>\n<p>We first loosen the CSI connector on the Raspberry Pi 3 board:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-loosen-camera-connector-on-raspberry-pi-3-board.jpg\" alt=\"Direction to loosen Camera connector on Raspberry Pi 3 board\" width=\"800\" height=\"600\" class=\"alignnone size-full wp-image-741\" srcset=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-loosen-camera-connector-on-raspberry-pi-3-board.jpg 800w, https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-loosen-camera-connector-on-raspberry-pi-3-board-300x225.jpg 300w, https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-loosen-camera-connector-on-raspberry-pi-3-board-768x576.jpg 768w\" sizes=\"(max-width: 800px) 100vw, 800px\" \/><\/p>\n<p>A loosen CSI connector on the Raspberry Pi 3 board will look like the following:<br \/>\n<img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspberry-pi-3-board-with-csi-connector-loosened.jpg\" alt=\"Raspberry Pi 3 board with CSI connector loosened\"\/><\/p>\n<p>With the CSI connector on the Raspberry Pi 3 loosened, insert the Flex cable into the connector and push down the connector clip:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/direction-to-fasten-csi-connector-on-raspberry-pi-3-board-with-flex-cable.jpg\" alt=\"Direction to fasten CSI connector on Raspberry Pi 3 board with Flex cable\" \/><\/p>\n<p>A fastened CSI connector with Flex cable looks like this:<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspberry-pi-3-board-with-flex-cable-and-fastened-csi-connector.jpg\" alt=\"Raspberry Pi 3 board with Flex cable and fastened CSI connector\"\/><\/p>\n\n      <ul id=\"social-sharing-buttons-list\">\n        <li class=\"facebook\">\n          <a href=\"https:\/\/www.facebook.com\/sharer\/sharer.php?u=https%3A%2F%2Fwp.me%2Fp245TQ-bP\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n            <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Facebook.png\" alt=\"Facebook icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"twitter\">\n          <a href=\"https:\/\/twitter.com\/intent\/tweet?text=&url=https%3A%2F%2Fwp.me%2Fp245TQ-bP&via=Techcoil_com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Twitter.png\" alt=\"Twitter icon\"> Tweet\n          <\/a>\n        <\/li>\n        <li class=\"linkedin\">\n          <a href=\"https:\/\/www.linkedin.com\/shareArticle?mini=1&title=&url=https%3A%2F%2Fwp.me%2Fp245TQ-bP&source=https:\/\/www.techcoil.com\" target=\"_blank\" role=\"button\" rel=\"nofollow\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/linkedin.png\" alt=\"Linkedin icon\"> Share\n          <\/a>\n        <\/li>\n        <li class=\"pinterest\">\n          <a href=\"https:\/\/pinterest.com\/pin\/create\/button\/?url=https%3A%2F%2Fwww.techcoil.com%2Fblog%2Fwp-json%2Fwp%2Fv2%2Fposts%2F733&description=\" class=\"pin-it-button\" target=\"_blank\" role=\"button\" rel=\"nofollow\" count-layout=\"horizontal\">\n          <img decoding=\"async\" src=\"\/ph\/img\/3rd-party\/social-icons\/Pinterest.png\" alt=\"Pinterest icon\"> Save\n          <\/a>\n        <\/li>\n      <\/ul>\n    ","protected":false},"excerpt":{"rendered":"<p>Since the Raspberry Pi camera module connects to most of the recent Raspberry Pi boards via the camera serial interface (CSI), the Raspberry Pi camera module is an ideal peripheral for implementing Raspberry Pi based projects that require image capturing. <\/p>\n<p>This post documents how to connect a Raspberry Pi camera module to a Raspberry Pi 3. <\/p>\n","protected":false},"author":1,"featured_media":735,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"footnotes":""},"categories":[4],"tags":[275,277,240,308,410,423,279],"jetpack_featured_media_url":"https:\/\/www.techcoil.com\/blog\/wp-content\/uploads\/raspberry-pi-camera-module-flex-cable-and-raspberry-pi-3-board.jpg","jetpack_shortlink":"https:\/\/wp.me\/p245TQ-bP","jetpack-related-posts":[],"jetpack_likes_enabled":true,"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/733"}],"collection":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/comments?post=733"}],"version-history":[{"count":0,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/posts\/733\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media\/735"}],"wp:attachment":[{"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/media?parent=733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/categories?post=733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techcoil.com\/blog\/wp-json\/wp\/v2\/tags?post=733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}