{"id":1166,"date":"2020-03-12T16:54:41","date_gmt":"2020-03-12T15:54:41","guid":{"rendered":"https:\/\/www.pschatzmann.ch\/home\/?p=1166"},"modified":"2020-12-03T08:23:56","modified_gmt":"2020-12-03T07:23:56","slug":"the-cheapest-camera-for-octoprint","status":"publish","type":"post","link":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/","title":{"rendered":"The Cheapest Camera for Octoprint"},"content":{"rendered":"<p>I bought myself a cheap <a href=\"https:\/\/www.creality3dofficial.com\/products\/official-creality-ender-3-3d-printer\">Ender3 3D Printer<\/a>. As my first project I decided to connect it to <a href=\"https:\/\/octoprint.org\/\">Octoprint<\/a>.<\/p>\n<p>Because I did not want to use any of my Raspberry PIs and I had a spare <a href=\"https:\/\/www.fit-pc.com\/web\/products\/fit-pc2\/\">old FitPC2<\/a>  Linux machine, I thought it was time to reactivate it for a new purspose.<\/p>\n<p>I am using this solution successfully for quite some time now, so I wanted to take it to the next level by adding a camera: The cheapest solution that I found was the <a href=\"https:\/\/www.banggood.com\/ESP32-CAM-WiFi-bluetooth-Camera-Module-Development-Board-ESP32-With-Camera-Module-OV2640-p-1394679.html?rmmds=buy&amp;cur_warehouse=CN\">ESP32-CAM<\/a> which is available for &lt; 7 USD.<\/p>\n<p>There are plenty of tutorials (<a href=\"https:\/\/randomnerdtutorials.com\/esp32-cam-video-streaming-face-recognition-arduino-ide\/\">e.g. the one from Rui Santos<\/a>) on the internet that demonstrate how to do the setup. So there is no point of me doing the same.<\/p>\n<p><img decoding=\"async\" src=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png\" alt=\"ESP32-CAM\" \/><\/p>\n<p><strong>Powering the ESP32<\/strong><\/p>\n<p>I had a damaged Micro USB cable which had a short near the Micro USB Plug &#8211; but the wire from the USB-A connection was still OK. So I decided to cut the wire and use it to power my ESP32, by connecting the red 5V wire to the ESP32 5V pin and the black ground wire to the GND pin.<\/p>\n<p><strong>Octoprint<\/strong><\/p>\n<p>You can use the standard WebCam Sketch which is available in the Arduino IDE. To use this, you need to make the following definitions in the <strong>Webcam Settings in Octoprint<\/strong>:<br \/>\n&#8211; Enable Webcam support<br \/>\n&#8211; Define the Stream URL: <strong><em>http:\/\/your ip address:81\/stream<\/em><\/strong> (e.g. http:\/\/192.168.1.38:81\/stream)<br \/>\n&#8211; Enable Timelapse support<br \/>\n&#8211; Define Snapshot URL: <strong><em>http:\/\/your ip address\/capture<\/em><\/strong> (e.g. http:\/\/192.168.1.38\/capture)<\/p>\n<p><strong>Final Cost<\/strong><br \/>\n&#8211; Broken USB Cable: USD 0.00<br \/>\n&#8211; Camera: USD: 7.00<br \/>\n<strong>TOTAL: USD 7.00<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I bought myself a cheap Ender3 3D Printer. As my first project I decided to connect it to Octoprint. Because I did not want to use any of my Raspberry PIs and I had a spare old FitPC2 Linux machine, I thought it was time to reactivate it for a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1162,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","_import_markdown_pro_load_document_selector":0,"_import_markdown_pro_submit_text_textarea":"","_exactmetrics_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0,"footnotes":""},"categories":[17],"tags":[],"class_list":["post-1166","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-3d-printing"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>The Cheapest Camera for Octoprint - Phil Schatzmann<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Cheapest Camera for Octoprint - Phil Schatzmann\" \/>\n<meta property=\"og:description\" content=\"I bought myself a cheap Ender3 3D Printer. As my first project I decided to connect it to Octoprint. Because I did not want to use any of my Raspberry PIs and I had a spare old FitPC2 Linux machine, I thought it was time to reactivate it for a [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/\" \/>\n<meta property=\"og:site_name\" content=\"Phil Schatzmann\" \/>\n<meta property=\"article:published_time\" content=\"2020-03-12T15:54:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-12-03T07:23:56+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png\" \/>\n\t<meta property=\"og:image:width\" content=\"921\" \/>\n\t<meta property=\"og:image:height\" content=\"739\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"pschatzmann\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"pschatzmann\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/\"},\"author\":{\"name\":\"pschatzmann\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"headline\":\"The Cheapest Camera for Octoprint\",\"datePublished\":\"2020-03-12T15:54:41+00:00\",\"dateModified\":\"2020-12-03T07:23:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/\"},\"wordCount\":272,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/ESP32-CAM.png\",\"articleSection\":[\"3D Printing\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/\",\"name\":\"The Cheapest Camera for Octoprint - Phil Schatzmann\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/ESP32-CAM.png\",\"datePublished\":\"2020-03-12T15:54:41+00:00\",\"dateModified\":\"2020-12-03T07:23:56+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/ESP32-CAM.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2020\\\/03\\\/ESP32-CAM.png\",\"width\":921,\"height\":739},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/2020\\\/03\\\/12\\\/the-cheapest-camera-for-octoprint\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Cheapest Camera for Octoprint\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#website\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/\",\"name\":\"Phil Schatzmann Consulting\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/home\\\/#\\\/schema\\\/person\\\/73a53638a4e34e8373405fd737dac9b1\",\"name\":\"pschatzmann\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"url\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"contentUrl\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\",\"width\":305,\"height\":305,\"caption\":\"pschatzmann\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.pschatzmann.ch\\\/wp-content\\\/uploads\\\/2022\\\/08\\\/pschatzmann.png\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Cheapest Camera for Octoprint - Phil Schatzmann","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/","og_locale":"en_US","og_type":"article","og_title":"The Cheapest Camera for Octoprint - Phil Schatzmann","og_description":"I bought myself a cheap Ender3 3D Printer. As my first project I decided to connect it to Octoprint. Because I did not want to use any of my Raspberry PIs and I had a spare old FitPC2 Linux machine, I thought it was time to reactivate it for a [&hellip;]","og_url":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/","og_site_name":"Phil Schatzmann","article_published_time":"2020-03-12T15:54:41+00:00","article_modified_time":"2020-12-03T07:23:56+00:00","og_image":[{"width":921,"height":739,"url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png","type":"image\/png"}],"author":"pschatzmann","twitter_card":"summary_large_image","twitter_misc":{"Written by":"pschatzmann","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#article","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/"},"author":{"name":"pschatzmann","@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"headline":"The Cheapest Camera for Octoprint","datePublished":"2020-03-12T15:54:41+00:00","dateModified":"2020-12-03T07:23:56+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/"},"wordCount":272,"commentCount":2,"publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png","articleSection":["3D Printing"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/","url":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/","name":"The Cheapest Camera for Octoprint - Phil Schatzmann","isPartOf":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#primaryimage"},"image":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#primaryimage"},"thumbnailUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png","datePublished":"2020-03-12T15:54:41+00:00","dateModified":"2020-12-03T07:23:56+00:00","breadcrumb":{"@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#primaryimage","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2020\/03\/ESP32-CAM.png","width":921,"height":739},{"@type":"BreadcrumbList","@id":"https:\/\/www.pschatzmann.ch\/home\/2020\/03\/12\/the-cheapest-camera-for-octoprint\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.pschatzmann.ch\/home\/"},{"@type":"ListItem","position":2,"name":"The Cheapest Camera for Octoprint"}]},{"@type":"WebSite","@id":"https:\/\/www.pschatzmann.ch\/home\/#website","url":"https:\/\/www.pschatzmann.ch\/home\/","name":"Phil Schatzmann Consulting","description":"","publisher":{"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pschatzmann.ch\/home\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pschatzmann.ch\/home\/#\/schema\/person\/73a53638a4e34e8373405fd737dac9b1","name":"pschatzmann","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","url":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","contentUrl":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png","width":305,"height":305,"caption":"pschatzmann"},"logo":{"@id":"https:\/\/www.pschatzmann.ch\/wp-content\/uploads\/2022\/08\/pschatzmann.png"}}]}},"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/1166","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/comments?post=1166"}],"version-history":[{"count":13,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/1166\/revisions"}],"predecessor-version":[{"id":1170,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/posts\/1166\/revisions\/1170"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media\/1162"}],"wp:attachment":[{"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/media?parent=1166"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/categories?post=1166"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pschatzmann.ch\/home\/wp-json\/wp\/v2\/tags?post=1166"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}