{"id":876,"date":"2015-01-29T16:34:10","date_gmt":"2015-01-29T15:34:10","guid":{"rendered":"http:\/\/eyesofthings.eu\/?p=876"},"modified":"2015-01-29T16:34:10","modified_gmt":"2015-01-29T15:34:10","slug":"openmv-github-blog","status":"publish","type":"post","link":"http:\/\/eyesofthings.eu\/?p=876","title":{"rendered":"OpenMV github &#038; blog"},"content":{"rendered":"<p>github incl. micropython<\/p>\n<p>https:\/\/github.com\/iabdalkader\/openmv<\/p>\n<p>blog<\/p>\n<p>http:\/\/sigalrm.blogspot.ie\/<\/p>\n<h3 class=\"post-title entry-title\"><a href=\"http:\/\/sigalrm.blogspot.ie\/2014\/02\/openmv-update-micropython-more-io-usd.html\">OpenMV Update: MicroPython, More I\/O, uSD and Lots of Other Things!<\/a><\/h3>\n<div class=\"post-header\"><\/div>\n<div class=\"post-body entry-content\">\n<div dir=\"ltr\">Time for another update, sorry this took me so long, I&#8217;ve been very busy working on OpenMV, the good news is I have lots of new features implemented! There&#8217;s a new (smaller :D) hardware revision with more I\/O (USART\/I2C and SPI) and a uSD socket, MicroPython support, an IDE for the camera, and for those of you who have been wondering, I&#8217;m working with\u00a0Michael Shimniok\u00a0from <a href=\"http:\/\/www.bot-thoughts.com\/\" target=\"_blank\">Bot-Thoughts<\/a>\u00a0on doing a Kickstarter campaign for OpenMV, soon, hopefully, you will be able to get one for a very reasonable price :)\u00a0so stay tuned!<\/p>\n<p>Okay, so on the software side, you&#8217;ve probably heard of the <a href=\"http:\/\/www.micropython.org\/\" target=\"_blank\">MicroPython<\/a> project, if not make sure to check it out, basically MicroPython is very efficient, lightweight\u00a0Python VM for microcontrollers, the plan was to script the camera with Lua\/eLua but MP has some really neat features already implemented, so long story short, I&#8217;ve decided to script the camera with MP&#8230; after lots of work, I managed to get MP running on OpenMV, and wrote some MP bindings to export the subsystems of OpenMV to Python, eventually it will be completely controlled with Python.<\/p>\n<p>So how this works so far, basically, on reset OpenMV runs a default Python script with the old serial camera interface (receive commands from the serial port, process and return result) but it also shows up as a small USB storage device where you can copy your own Python script(s), reset and it runs that instead of the default script.. In addition to that, you can also \u00abtalk\u00bb to the camera directly using a Python shell over the com port while watching the framebuffer in realtime :)<\/p>\n<p>I&#8217;ve also combined all those nice features into a single \u00abIDE\u00bb for\u00a0convenience, written with Python, PyGTK and PyUSB. The IDE has a Python shell, a framebuffer viewer, and it can run scripts or save them to flash:<\/p>\n<div class=\"separator\"><a href=\"http:\/\/2.bp.blogspot.com\/-d75QZd08ExU\/UvaF6zjYUSI\/AAAAAAAAAak\/Y7Upg7SRBAc\/s1600\/S247.png\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/-d75QZd08ExU\/UvaF6zjYUSI\/AAAAAAAAAak\/Y7Upg7SRBAc\/s1600\/S247.png\" alt=\"\" width=\"400\" height=\"315\" border=\"0\" \/><\/a><\/div>\n<p>Moving on to the hardware, the new revision is 1.0&#215;1.30 inches, it has a tiny uSD socket (which will be\u00a0available\u00a0to Python user code) USART, SPI and I2C broken out on the main 2.54mm header and a separate 2mm SWD debugging header.. There&#8217;s also a switch, which will be used for boot or reset.<br \/>\nHere are some pics of the 3rd (2nd?) revision:<\/p>\n<div class=\"separator\"><a href=\"http:\/\/2.bp.blogspot.com\/-jJFIsGH05tw\/UvaJD6KZVEI\/AAAAAAAAAaw\/aytH-FOeU8E\/s1600\/DSC03686.JPG\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/2.bp.blogspot.com\/-jJFIsGH05tw\/UvaJD6KZVEI\/AAAAAAAAAaw\/aytH-FOeU8E\/s1600\/DSC03686.JPG\" alt=\"\" width=\"400\" height=\"300\" border=\"0\" \/><\/a><\/div>\n<div class=\"separator\"><a href=\"http:\/\/3.bp.blogspot.com\/-WfUvf0XpGpM\/UvaJG3XB2pI\/AAAAAAAAAa4\/Q1k7ngPg_-k\/s1600\/DSC03694.JPG\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/3.bp.blogspot.com\/-WfUvf0XpGpM\/UvaJG3XB2pI\/AAAAAAAAAa4\/Q1k7ngPg_-k\/s1600\/DSC03694.JPG\" alt=\"\" width=\"400\" height=\"300\" border=\"0\" \/><\/a><\/div>\n<p>Compared to the old one:<\/p>\n<div class=\"separator\"><\/div>\n<div class=\"separator\"><a href=\"http:\/\/4.bp.blogspot.com\/-sn2GCt4lKBg\/UvaJQlkQEEI\/AAAAAAAAAbI\/WD3UsGoTGS8\/s1600\/DSC03692.JPG\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/4.bp.blogspot.com\/-sn2GCt4lKBg\/UvaJQlkQEEI\/AAAAAAAAAbI\/WD3UsGoTGS8\/s1600\/DSC03692.JPG\" alt=\"\" width=\"400\" height=\"300\" border=\"0\" \/><\/a><\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>github incl. micropython https:\/\/github.com\/iabdalkader\/openmv blog http:\/\/sigalrm.blogspot.ie\/ OpenMV Update: MicroPython, More I\/O, uSD and Lots of Other Things! Time for another update, sorry this took me so long, I&#8217;ve been very busy working on OpenMV, the good news is I have&hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[],"class_list":["post-876","post","type-post","status-publish","format-standard","hentry","category-information"],"_links":{"self":[{"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=\/wp\/v2\/posts\/876","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=876"}],"version-history":[{"count":2,"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=\/wp\/v2\/posts\/876\/revisions"}],"predecessor-version":[{"id":878,"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=\/wp\/v2\/posts\/876\/revisions\/878"}],"wp:attachment":[{"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=876"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=876"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/eyesofthings.eu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=876"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}